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

Revision 827, 2.2 KB checked in by inagaki, 14 years ago (diff)

updated: libarchive, kdebindings, kdeutils

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