SPECS: synce-librtfcomp.spec - pl - added -static, separated pytho...

qboosh qboosh at pld-linux.org
Sun Sep 2 18:34:53 CEST 2007


Author: qboosh                       Date: Sun Sep  2 16:34:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- added -static, separated python-pyrtfcomp
- License is LGPL

---- Files affected:
SPECS:
   synce-librtfcomp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/synce-librtfcomp.spec
diff -u SPECS/synce-librtfcomp.spec:1.1 SPECS/synce-librtfcomp.spec:1.2
--- SPECS/synce-librtfcomp.spec:1.1	Wed Aug 29 23:53:57 2007
+++ SPECS/synce-librtfcomp.spec	Sun Sep  2 18:34:48 2007
@@ -1,28 +1,64 @@
 # $Revision$, $Date$
 Summary:	SynCE - Compressed RTF extensions
+Summary(pl.UTF-8):	SynCE - rozszerzenia do skompresowanego RTF-a
 Name:		synce-librtfcomp
 Version:	1.1
 Release:	0.1
-License:	MIT
+License:	LGPL v2.1
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/synce/librtfcomp-%{version}.tar.gz
 # Source0-md5:	b7f70dc41687d920ec9f47c01f56d6ce
 URL:		http://www.synce.org/
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	autoconf >= 2.53
+BuildRequires:	automake >= 1:1.9
+BuildRequires:	libtool
 BuildRequires:	python-Pyrex
-BuildRequires:	python-devel
+BuildRequires:	python-devel >= 2.2
 BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+SynCE - Compressed RTF extensions.
+
+%description -l pl.UTF-8
+SynCE - rozszerzenia do skompresowanego formatu RTF.
 
 %package devel
 Summary:	Header files for librtfcomp library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki librtfcomp
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
+Header files for librtfcomp library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki librtfcomp.
+
+%package static
+Summary:	Static librtfcomp library
+Summary(pl.UTF-8):	Statyczna biblioteka librtfcomp
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static librtfcomp library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka librtfcomp.
+
+%package -n python-pyrtfcomp
+Summary:	Python binding for librtfcomp library
+Summary(pl.UTF-8):	Wiązanie Pythona do biblioteki librtfcomp
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+%pyrequires_eq	python-libs
+
+%description -n python-pyrtfcomp
+Python binding for librtfcomp library.
+
+%description -n python-pyrtfcomp -l pl.UTF-8
+Wiązanie Pythona do biblioteki librtfcomp.
 
 %prep
 %setup -q -n librtfcomp-%{version}
@@ -30,11 +66,12 @@
 sed -i -e s/have_gccvisibility=yes/have_gccvisibility=no/ configure.in
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure \
-	--disable-static
+%configure
+
 %{__make}
 
 %install
@@ -44,7 +81,7 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 mv $RPM_BUILD_ROOT%{_bindir}/test{,rtf}
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/pyrtfcomp.la
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/pyrtfcomp.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,16 +91,25 @@
 
 %files
 %defattr(644,root,root,755)
+%doc CHANGELOG
 %attr(755,root,root) %{_bindir}/fromrtf
 %attr(755,root,root) %{_bindir}/testrtf
 %attr(755,root,root) %{_bindir}/tortf
 %attr(755,root,root) %{_libdir}/librtfcomp.so.*.*.*
-%{py_sitedir}/pyrtfcomp.so
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/rtfcomp
+%attr(755,root,root) %{_libdir}/librtfcomp.so
 %{_libdir}/librtfcomp.la
+%{_includedir}/rtfcomp
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/librtfcomp.a
+
+%files -n python-pyrtfcomp
+%defattr(644,root,root,755)
+%{py_sitedir}/pyrtfcomp.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +117,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/09/02 16:34:48  qboosh
+- pl
+- added -static, separated python-pyrtfcomp
+- License is LGPL
+
 Revision 1.1  2007/08/29 21:53:57  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synce-librtfcomp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list