102 lines
2.6 KiB
RPMSpec
102 lines
2.6 KiB
RPMSpec
Summary: The eXtensible ARchiver
|
|
Name: xar
|
|
Version: 1.5.1
|
|
Release: 6%{?dist}
|
|
License: BSD
|
|
Group: Applications/Archiving
|
|
URL: http://code.google.com/p/xar/
|
|
Source: http://xar.googlecode.com/files/xar-%{version}.tar.gz
|
|
Patch0: xar-1.5-install.patch
|
|
Patch1: xar-1.5-norpath.patch
|
|
Patch2: xar-1.5.1-memset.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: /usr/bin/awk
|
|
|
|
%description
|
|
The XAR project aims to provide an easily extensible archive format. Important
|
|
design decisions include an easily extensible XML table of contents for random
|
|
access to archived files, storing the toc at the beginning of the archive to
|
|
allow for efficient handling of streamed archives, the ability to handle files
|
|
of arbitrarily large sizes, the ability to choose independent encodings for
|
|
individual files in the archive, the ability to store checksums for individual
|
|
files in both compressed and uncompressed form, and the ability to query the
|
|
table of content's rich meta-data.
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for the eXtensible ARchiver
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development files for the eXtensible ARchiver.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .install
|
|
%patch1 -p1 -b .norpath
|
|
%patch2 -p1 -b .memset
|
|
|
|
|
|
%build
|
|
%configure
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
%{__make} install DESTDIR=%{buildroot}
|
|
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE TODO
|
|
%{_bindir}/xar
|
|
%{_libdir}/libxar.so.*
|
|
%{_mandir}/man1/xar.1*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_includedir}/xar/
|
|
%{_libdir}/libxar.so
|
|
|
|
|
|
%changelog
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-6
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.5.1-5
|
|
- Rebuild for deps
|
|
|
|
* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.5.1-4
|
|
- Rebuild for new BuildID feature.
|
|
- Add /usr/bin/awk build requirement, needed for the libxml configure check.
|
|
|
|
* Wed Aug 8 2007 Matthias Saou <http://freshrpms.net/> 1.5.1-2
|
|
- Patch memset call with swapped arguments (Dave Jones).
|
|
|
|
* Wed Jul 11 2007 Matthias Saou <http://freshrpms.net/> 1.5.1-1
|
|
- Update to 1.5.1.
|
|
|
|
* Wed May 30 2007 Matthias Saou <http://freshrpms.net/> 1.5-1
|
|
- Update to 1.5.
|
|
- Include patch to remove rpath.
|
|
- Include patch to fix file modes, and get the lib properly stripped.
|
|
|
|
* Sun Feb 25 2007 Matthias Saou <http://freshrpms.net/> 1.4-1
|
|
- Initial RPM release.
|
|
|