File reiser4progs.spec of Package reiser4progs
#
# spec file for package reiser4progs (Version 1.0.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: reiser4progs
%if %{defined mandriva_version}
BuildRequires: e2fsprogs-devel libaal-devel readline-devel
%else
BuildRequires: ccache e2fsprogs-devel libaal-devel readline-devel
%endif
Version: 1.0.7
Release: 1
Autoreqprov: on
Group: System/Filesystems
URL: http://www.namesys.com
License: GNU General Public License (GPL)
Summary: Utilities for Managing the Reiser4 File System
Source0: %{name}-%{version}.tar.bz2
Patch1: disable_static.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A set of commands for using the Reiser4 file system, including
mkfs.reiser4.
Authors:
--------
Hans Reiser <hans@reiser.to>
Vitaly Fertman <vitaly@namesys.com>
Yury Umanets <umka@namesys.com>
%package devel
Summary: Header C files and static libs for the Reiser4 File System tools
Group: System/Filesystems
Requires: %{name} = %{version}
Autoreqprov: on
%description devel
A set of header C files and static libraries for the Reiser4 file
system tools.
Authors:
--------
Hans Reiser <hans@reiser.to>
Vitaly Fertman <vitaly@namesys.com>
Yury Umanets <umka@namesys.com>
%prep
%setup -q
%if 0%{?suse_version} == 1120
%patch1
%endif
%build
%{?suse_update_config:%{suse_update_config -f}}
aclocal --force
libtoolize --force
autoconf --force
autoheader --force
automake -afc
CFLAGS="$RPM_OPT_FLAGS -Wall -Wno-unused" \
./configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--bindir=%{_bindir} \
--includedir=%{_includedir} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir}
#%configure
make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS -Wall -Wno-unused"
make %{?jobs:-j%jobs}
%install
%if 0%{?suse_version} == 1120
make %{?jobs:-j%jobs} DESTDIR=$RPM_BUILD_ROOT install -i
%else
make %{?jobs:-j%jobs} DESTDIR=$RPM_BUILD_ROOT install
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING CREDITS ChangeLog NEWS README THANKS TODO
%doc %{_mandir}/man?/*
%{_datadir}/aclocal/*
%{_libdir}/*.so.*
##%exclude %{_libdir}/lib*.so
##%exclude %{_libdir}/lib*.a
##%exclude %{_libdir}/lib*.la
%{_sbindir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/lib*.so
%exclude %{_libdir}/lib*.a
%exclude %{_libdir}/lib*.la
%changelog
* Tue May 29 2007 - lmichnovic@suse.cz
- split off devel sub-package
- not using %%run_ldconfig macro
* Sun May 27 2007 - ro@suse.de
- added libaal-devel to buildreq
* Fri Apr 13 2007 - lmichnovic@suse.cz
- not removing $RPM_BUILD_ROOT in install section
- not installing static libs *.la
* Fri Apr 13 2007 - lmichnovic@suse.cz
- update to 1.0.6
* Version control data is added into format40 disk format plugin.
* Version control data is added into backup blocks.
* Recover filesystems of both old and new formats - temporary.
* UPDATE_BACKUP_IS_NEEDED is added -- handle correctly cases when
* disk format is updated and backup blocks are not; fsck correctly.
* Heir plugin SET (HSET) is added.
* A lot of speedups.
* Demos/busy program update: crypto compression test is added.
* Compression plugin is added.
* CryptoCompression plugin is adjusted to handle compressed files
* Crypto-Compression Object plugins is added.
* Fix the object creation: inherit always from the parent.
* Fix the pset storage policy.
* Compression tail item (ctail) plugin is added.
* The full support for Crypto-Compression plugins is added
into PluginSet and libreiser4 profile.
* Crypto SD extention is added.
* Bugfixes:
- a lot of fixes in compression tail item plugin;
- a lot of fixes in CryptoCompression object plugin;
- a lot of fixes in common object plugin repair code;
- in truncate, clubber, check_struct methods of all object
plugins
- check the path given on a symlink creation;
- check the possible file position overflow;
- handle the cluster size of ctail items correctly.
- and many others
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 - mjancar@suse.cz
- update to 1.0.5
* Mon Aug 01 2005 - mjancar@suse.cz
- update to 1.0.4
* Thu Apr 14 2005 - mjancar@suse.cz
- fix for gcc 4.0
* Thu Feb 24 2005 - mjancar@suse.cz
- update to 1.0.3
* Fri Nov 12 2004 - ro@suse.de
- fixed file list
* Wed Aug 25 2004 - mjancar@suse.cz
- update to 1.0.1
* Fri Aug 13 2004 - mjancar@suse.cz
- update to 0.5.6
* Thu Feb 26 2004 - mjancar@suse.cz
- updater to 0.5.1
* Tue Feb 03 2004 - mjancar@suse.cz
- update to 0.4.20
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Tue Oct 14 2003 - mjancar@suse.cz
- use %%{run_ldconfig}
* Tue Oct 14 2003 - mjancar@suse.cz
- run libtoolize -f
- run automake
* Fri Oct 10 2003 - mjancar@suse.cz
- initial version 0.4.14