source: projects/specs/trunk/lib/liba/libarchive/libarchive-vl.spec @ 8758

Revision 8758, 2.9 KB checked in by Takemikaduchi, 10 years ago (diff)

update or rebuild

Line 
1Name:          libarchive
2Summary:       A library for handling streaming archive formats
3Version:       3.1.2
4Release:       1%{?_dist_release}
5
6Group:         System Environment/Libraries
7License:       BSD
8URL:           http://code.google.com/p/libarchive/
9
10Source0:       http://libarchive.googlecode.com/files/%{name}-%{version}.tar.gz
11
12BuildRoot:     %{_tmppath}/%{name}-%{version}-root
13BuildRequires: zlib-devel
14BuildRequires: bzip2-devel
15BuildRequires: libacl-devel
16BuildRequires: libattr-devel
17BuildRequires: openssl-devel
18BuildRequires: libxml2-devel
19BuildRequires: xz-devel
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24
25%description
26Libarchive is a programming library that can create and read several different
27streaming archive formats, including most popular tar variants, several cpio
28formats, and both BSD and GNU ar variants. It can also write shar archives and
29read ISO9660 CDROM images and ZIP archives.
30
31%package       devel
32Summary:       Development files for %{name}
33Group:         Development/Libraries
34Requires:      %{name} = %{version}-%{release}
35
36%description   devel
37The %{name}-devel package contains libraries and header files for
38developing applications that use %{name}.
39
40%prep
41%setup -q
42
43%build
44%configure \
45    --disable-static \
46    --disable-bsdtar --disable-bsdcpio
47make %{?_smp_mflags}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install DESTDIR=$RPM_BUILD_ROOT
52#iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
53find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
54find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
55find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
56find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65
66%files
67%defattr(-,root,root,-)
68%doc COPYING README NEWS
69%{_libdir}/*.so.*
70
71%files devel
72%defattr(-,root,root,-)
73%doc
74%{_includedir}/*
75%{_mandir}/*/*
76%{_libdir}/*.so
77%{_libdir}/pkgconfig/*.pc
78
79%changelog
80* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
81- update to 3.1.2
82
83* Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
84- new upstream release
85
86* Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4
87- add BuildRequires: openssl-devel, libxml2-devel
88
89* Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
90- rebuild against liblzma.so.5
91
92* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
93- rebuild with rpm-4.8.1 for pkg-config file
94
95* Sun Sep  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
96- new upstream release
97
98* Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
99- new upstream release
100- built with new toolchain
101
102* Tue Apr  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
103- new upstream release
104
105* Wed Apr  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
106- Build for Vine Linux
107
108* Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
109- Initial packaging
Note: See TracBrowser for help on using the repository browser.