SPECS: xar.spec - package -static - added devel deps - added LICENSE to doc

qboosh qboosh at pld-linux.org
Thu Feb 19 07:46:02 CET 2009


Author: qboosh                       Date: Thu Feb 19 06:46:02 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package -static
- added devel deps
- added LICENSE to doc

---- Files affected:
SPECS:
   xar.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/xar.spec
diff -u SPECS/xar.spec:1.3 SPECS/xar.spec:1.4
--- SPECS/xar.spec:1.3	Tue Feb 10 16:47:48 2009
+++ SPECS/xar.spec	Thu Feb 19 07:45:57 2009
@@ -42,16 +42,33 @@
 możliwość odpytywania metadanych tabeli zawartości.
 
 %package devel
-Summary:	Header files for xar
-Summary(pl.UTF-8):	Pliki nagłówkowe xara
+Summary:	Header files for xar library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki xara
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	acl-devel
+Requires:	bzip2-devel
+Requires:	libxml2-devel
+Requires:	openssl-devel
+Requires:	zlib-devel
 
 %description devel
-Header files for xar.
+Header files for xar library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe xara.
+Pliki nagłówkowe biblioteki xara.
+
+%package static
+Summary:	Static xar library
+Summary(pl.UTF-8):	Statyczna biblioteka xara
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static xar library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka xara.
 
 %prep
 %setup -q
@@ -66,8 +83,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/{*.a,*.la}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -76,23 +91,33 @@
 
 %files
 %defattr(644,root,root,755)
-%doc TODO
+%doc LICENSE TODO
 %attr(755,root,root) %{_bindir}/xar
-%attr(755,root,root) %{_libdir}/libxar.so.*
+%attr(755,root,root) %{_libdir}/libxar.so.1
 %{_mandir}/man1/xar.1*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libxar.so
+%{_libdir}/libxar.la
 %dir %{_includedir}/xar
 %{_includedir}/xar/xar.h
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libxar.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/02/19 06:45:57  qboosh
+- package -static
+- added devel deps
+- added LICENSE to doc
+
 Revision 1.3  2009/02/10 15:47:48  duddits
 - up to 1.5.2
 - some cleaning
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xar.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list