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

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           libarchive
2Version:        2.6.0
3Release:        1%{?_dist_release}
4Summary:        A library for handling streaming archive formats
5
6Group:          System Environment/Libraries
7License:        BSD
8URL:            http://people.freebsd.org/~kientzle/libarchive/
9Source0:        http://people.freebsd.org/~kientzle/libarchive/src/libarchive-%{version}.tar.gz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12BuildRequires: zlib-devel
13BuildRequires: bzip2-devel
14BuildRequires: sharutils
15
16%description
17Libarchive is a programming library that can create and read several different
18streaming archive formats, including most popular tar variants, several cpio
19formats, and both BSD and GNU ar variants. It can also write shar archives and
20read ISO9660 CDROM images and ZIP archives.
21
22%package        devel
23Summary:        Development files for %{name}
24Group:          Development/Libraries
25Requires:       %{name} = %{version}-%{release}
26
27%description    devel
28The %{name}-devel package contains libraries and header files for
29developing applications that use %{name}.
30
31%prep
32%setup -q
33
34%build
35%configure --disable-static --disable-bsdtar
36make %{?_smp_mflags}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make install DESTDIR=$RPM_BUILD_ROOT
41#iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
42find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
44find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
45find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post -p /sbin/ldconfig
51
52%postun -p /sbin/ldconfig
53
54
55%files
56%defattr(-,root,root,-)
57%doc COPYING README NEWS
58%{_libdir}/*.so.*
59
60%files devel
61%defattr(-,root,root,-)
62%doc
63%{_includedir}/*
64%{_mandir}/*/*
65%{_libdir}/*.so
66
67%changelog
68* Wed Apr  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
69- new upstream release
70
71* Wed Apr  2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
72- Build for Vine Linux
73
74* Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
75- Initial packaging
Note: See TracBrowser for help on using the repository browser.