packages: stfl/stfl.spec - 0.21 (version update, fix files, build sections)...

uzsolt uzsolt at pld-linux.org
Sat Oct 10 09:29:59 CEST 2009


Author: uzsolt                       Date: Sat Oct 10 07:29:59 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 0.21 (version update, fix files, build sections)
- hu
- example.c in devel subpackage

---- Files affected:
packages/stfl:
   stfl.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/stfl/stfl.spec
diff -u packages/stfl/stfl.spec:1.15 packages/stfl/stfl.spec:1.16
--- packages/stfl/stfl.spec:1.15	Wed Feb 18 21:52:12 2009
+++ packages/stfl/stfl.spec	Sat Oct 10 09:29:54 2009
@@ -1,15 +1,16 @@
 # $Revision$, $Date$
 Summary:	STFL implements a curses-based widget set for text terminals
+Summary(hu.UTF-8):	Az STFL egy curses-alapú widget-készletet biztosít szöveges terminálokhoz
 Summary(pl.UTF-8):	Implementacja opartego na ncurses zestawu widgetów dla terminali tekstowych
 Name:		stfl
-Version:	0.19
-Release:	2
-License:	GPL v2
+Version:	0.21
+Release:	1
+License:	LGPL v3
 Group:		Libraries
 Source0:	http://www.clifford.at/stfl/%{name}-%{version}.tar.gz
-# Source0-md5:	2e7859da0ed1f867dfec52f50eedd5d9
-Patch0:		%{name}-libdir.patch
+# Source0-md5:	888502c3f332a0ee66e490690d79d404
 URL:		http://www.clifford.at/stfl/
+Patch0:		%{name}-example-dir.patch
 BuildRequires:	ncurses-devel
 BuildRequires:	perl-devel
 BuildRequires:	python-devel
@@ -23,12 +24,17 @@
 STFL is a library which implements a curses-based widget set for text
 terminals.
 
+%description -l hu.UTF-8
+Az STFL egy curses-alapú widget-készletet biztosít szöveges
+terminálokhoz.
+
 %description -l pl.UTF-8
 STFL jest biblioteką udostępniającą implementacją opartego na ncurses
 zestawu widgetów dla terminali tekstowych.
 
 %package devel
 Summary:	Header files for STFL library
+Summary(hu.UTF-8):	Az STFL könyvtár fejlesztői fájljai
 Summary(pl.UTF-8):	Pliki nagłówekowe biblioteki STFL
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
@@ -36,11 +42,15 @@
 %description devel
 Header files for STFL library.
 
+%description devel -l hu.UTF-8
+Az STFL könyvtár fejlesztői fájljai.
+
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki STFL.
 
 %package static
 Summary:	Static STFL library
+Summary(hu.UTF-8):	Statikus STFL könyvtár
 Summary(pl.UTF-8):	Statyczna biblioteka STFL
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
@@ -48,11 +58,15 @@
 %description static
 Static STFL library.
 
+%description static -l hu.UTF-8
+Statikus STFL könyvtár.
+
 %description static -l pl.UTF-8
 Statyczna biblioteka STFL.
 
 %package perl
 Summary:	Perl binding for STFL
+Summary(hu.UTF-8):	Perl kapcsolódás STFL-hez
 Summary(pl.UTF-8):	Wiązania Perla dla STFLa
 Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
@@ -60,11 +74,15 @@
 %description perl
 Perl binding for STFL.
 
+%description perl -l hu.UTF-8
+Perl kapcsolódás STFL-hez.
+
 %description perl -l pl.UTF-8
 Wiązania Perla dla STFLa.
 
 %package python
 Summary:	Python binding for STFL
+Summary(hu.UTF-8):	Python kapcsolódás STFL-hez
 Summary(pl.UTF-8):	Wiązania Pythona dla STFLa
 Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
@@ -72,11 +90,15 @@
 %description python
 Python binding for STFL.
 
+%description python -l hu.UTF-8
+Python kapcsolódás STFL-hez.
+
 %description python -l pl.UTF-8
 Wiązania Pythona dla STFLa.
 
 %package ruby
 Summary:	Ruby binding for STFL
+Summary(hu.UTF-8):	Ruby kapcsolódás STFL-hez
 Summary(pl.UTF-8):	Wiązania Ruby'ego dla STFLa
 Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
@@ -84,6 +106,9 @@
 %description ruby
 Ruby binding for STFL.
 
+%description ruby -l hu.UTF-8
+Ruby kapcsolódás STFL-hez.
+
 %description ruby -l pl.UTF-8
 Wiązania Ruby'ego dla STFLa.
 
@@ -95,29 +120,37 @@
 
 
 %build
-%{__make} \
-	CC="%{__cc} -pthread" \
-	CFLAGS="%{rpmcflags} %{rpmldflags} -I. -fPIC"
+%{__make} -j1
+	prefix=%{_prefix} \
+	CFLAGS="%{rpmcflags} -I." \
+	CC="%{__cc} -pthread"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
 
-%{__make} install \
-	prefix=%{_prefix} \
-	libdir=%{_lib} \
-	DESTDIR=$RPM_BUILD_ROOT
+%{__make} -j1 install \
+ 	prefix=%{_prefix} \
+ 	libdir=%{_lib} \
+ 	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install example{,.c,.stfl} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README COPYING
+%doc README
+%attr(755,root,root) %{_libdir}/libstfl.so*
 
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/stfl.h
+%{_pkgconfigdir}/stfl.pc
+%dir %{_examplesdir}/%{name}-%{version}
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/example
+%{_examplesdir}/%{name}-%{version}/example.*
 
 %files static
 %defattr(644,root,root,755)
@@ -130,10 +163,11 @@
 %{perl_archlib}/perllocal.pod
 %{perl_vendorarch}/auto/stfl/*
 %{perl_vendorarch}/example.pl
+%{perl_vendorarch}/auto/stfl/.packlist
 
 %files python
 %defattr(644,root,root,755)
-%{py_libdir}/lib-dynload/_stfl.so
+%{py_libdir}/site-packages/lib-dynload/_stfl.so
 %{py_libdir}/*
 
 %files ruby
@@ -146,6 +180,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/10/10 07:29:54  uzsolt
+- 0.21 (version update, fix files, build sections)
+- hu
+- example.c in devel subpackage
+
 Revision 1.15  2009/02/18 20:52:12  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/stfl/stfl.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list