]> git.pld-linux.org Git - packages/xar.git/commitdiff
- package -static
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 19 Feb 2009 06:45:57 +0000 (06:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added devel deps
- added LICENSE to doc

Changed files:
    xar.spec -> 1.4

xar.spec

index 637eb66743ecb7860d4d8c83f3bba6dd28b57f87..ef3ae8637b559dc77eba065c5e9f22b13e65d497 100644 (file)
--- a/xar.spec
+++ b/xar.spec
@@ -41,16 +41,33 @@ plików w zarówno skompresowanej jak i nieskompresowanej postaci,
 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
@@ -65,8 +82,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/{*.a,*.la}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -75,13 +90,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.094126 seconds and 4 git commands to generate.