/[packages]/updates/2/libarchive/current/SPECS/libarchive.spec
ViewVC logotype

Diff of /updates/2/libarchive/current/SPECS/libarchive.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6193 by ahmad, Tue Jan 11 19:29:02 2011 UTC revision 143774 by fwang, Thu Sep 15 07:03:22 2011 UTC
# Line 5  Line 5 
5  Summary:        Library for reading and writing streaming archives  Summary:        Library for reading and writing streaming archives
6  Name:           libarchive  Name:           libarchive
7  Version:        2.8.4  Version:        2.8.4
8  Release:        %mkrel 2  Release:        %mkrel 3
9  License:        BSD  License:        BSD
10  Group:          System/Libraries  Group:          System/Libraries
11  URL:            http://code.google.com/p/libarchive/  URL:            http://code.google.com/p/libarchive/
# Line 22  BuildRequires: libtool Line 22  BuildRequires: libtool
22  BuildRequires:  zlib-devel  BuildRequires:  zlib-devel
23  BuildRequires:  lzma-devel  BuildRequires:  lzma-devel
24  BuildRequires:  sharutils  BuildRequires:  sharutils
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  
25    
26  %description  %description
27  Libarchive is a programming library that can create and read several different  Libarchive is a programming library that can create and read several different
# Line 80  extract from tar, pax, cpio, zip, jar, a Line 79  extract from tar, pax, cpio, zip, jar, a
79  create tar, pax, cpio, ar, and shar archives.  create tar, pax, cpio, ar, and shar archives.
80    
81  %prep  %prep
   
82  %setup -q  %setup -q
83  %patch0 -p0 -b .headers  %patch0 -p0 -b .headers
84    
85  %build  %build
86  autoreconf -fis  autoreconf -fis
87    
88  %configure2_5x \  %configure2_5x --disable-static \
89      --enable-bsdtar=shared \      --enable-bsdtar=shared \
90      --enable-bsdcpio=shared      --enable-bsdcpio=shared
91    
# Line 98  rm -rf %{buildroot} Line 96  rm -rf %{buildroot}
96    
97  %makeinstall_std  %makeinstall_std
98    
99    rm -f %{buildroot}%{_libdir}/*.la
100    
101  %clean  %clean
102  rm -rf %{buildroot}  rm -rf %{buildroot}
103    
# Line 119  rm -rf %{buildroot} Line 119  rm -rf %{buildroot}
119  %files -n %{develname}  %files -n %{develname}
120  %defattr(-,root,root)  %defattr(-,root,root)
121  %attr(0755,root,root) %{_libdir}/*so  %attr(0755,root,root) %{_libdir}/*so
 %attr(0644,root,root) %{_libdir}/*.*a  
122  %attr(0644,root,root) %{_libdir}/pkgconfig/libarchive.pc  %attr(0644,root,root) %{_libdir}/pkgconfig/libarchive.pc
123  %attr(0644,root,root) %{_includedir}/*.h  %attr(0644,root,root) %{_includedir}/*.h
124  %attr(0644,root,root) %{_mandir}/man3/*  %attr(0644,root,root) %{_mandir}/man3/*
125  %attr(0644,root,root) %{_mandir}/man5/*  %attr(0644,root,root) %{_mandir}/man5/*
   
   

Legend:
Removed from v.6193  
changed lines
  Added in v.143774

  ViewVC Help
Powered by ViewVC 1.1.30