118 lines
3.4 KiB
RPMSpec
118 lines
3.4 KiB
RPMSpec
%define libver 0.3
|
|
|
|
Name: progsreiserfs
|
|
Version: 0.3.0.5
|
|
Release: 2mamba
|
|
Summary: Programs needed for manipulating reiserfs partitions
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://reiserfs.osdn.org.ua/
|
|
Source: http://progsreiserfs.sourcearchive.com/downloads/%{version}/%{name}_%{version}.orig.tar.gz
|
|
Patch: %{name}-0.3.0.4-underquoted_m4.patch
|
|
Patch1: http://progsreiserfs.sourcearchive.com/downloads/%{version}-1/progsreiserfs_%{version}-1.diff.gz
|
|
License: GPL
|
|
BuildRequires: bison
|
|
BuildRequires: gettext-devel
|
|
Requires: libreiserfs = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A library for reiserfs low-level file system access.
|
|
|
|
%package -n libreiserfs
|
|
Summary: A library for reiserfs low-level file system access
|
|
Group: System/Libraries
|
|
|
|
%description -n libreiserfs
|
|
A library for reiserfs low-level file system access.
|
|
|
|
%package -n libreiserfs-devel
|
|
Summary: A library for reiserfs low-level file system access
|
|
Group: System/Libraries
|
|
Requires: libreiserfs = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libreiserfs-devel
|
|
A library for reiserfs low-level file system access.
|
|
This is the development package.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--with-pic \
|
|
%if "%{_build}" != "%{_host}"
|
|
ac_cv_func_malloc_0_nonnull=yes
|
|
%endif
|
|
|
|
#%if "%{_host}" != "%{_build}"
|
|
#sed -i "s|sys_lib_search_path_spec=.*|sys_lib_search_path_spec=\"%{_prefix}/%{_host}/lib\"|" libtool
|
|
#%endif
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%post -n libreiserfs -p /sbin/ldconfig
|
|
%postun -n libreiserfs -p /sbin/ldconfig
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_sbindir}/cpfs.reiserfs
|
|
#%{_sbindir}/fsck.reiserfs
|
|
%{_sbindir}/mkfs.reiserfs
|
|
%{_sbindir}/resizefs.reiserfs
|
|
%{_sbindir}/tunefs.reiserfs
|
|
%{_mandir}/man8/cpfs.reiserfs.*
|
|
%{_mandir}/man8/mkfs.reiserfs.*
|
|
%{_mandir}/man8/reiserfs.*
|
|
%{_mandir}/man8/resizefs.reiserfs.*
|
|
%{_mandir}/man8/tunefs.reiserfs.*
|
|
|
|
%files -n libreiserfs
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libdal-%{libver}.so.*
|
|
%{_libdir}/libreiserfs-%{libver}.so.*
|
|
|
|
%files -n libreiserfs-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/dal/
|
|
%{_includedir}/reiserfs/
|
|
%{_libdir}/libdal.la
|
|
%{_libdir}/libdal.so
|
|
%{_libdir}/libreiserfs.la
|
|
%{_libdir}/libreiserfs.so
|
|
%{_datadir}/aclocal/progsreiserfs.m4
|
|
|
|
%changelog
|
|
* Mon Dec 29 2014 Automatic Build System <autodist@mambasoft.it> 0.3.0.5-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Sat Mar 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0.5.1-1mamba
|
|
- update to 0.3.0.5.1
|
|
|
|
* Mon Apr 23 2007 Davide Madrisan <davide.madrisan@gmail.com> 0.3.0.4-4mamba
|
|
- fix "underquoted definition of AC_CHECK_LIBREISERFS" in progsreiserfs.m4
|
|
- do not build static library
|
|
- own %{_includedir}/dal and %{_includedir}/reiserfs directories
|
|
|
|
* Fri Mar 10 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0.4-3qilnx
|
|
- move .so files to main package or parted won't recognize reiserfs
|
|
|
|
* Wed Nov 23 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.3.0.4-2qilnx
|
|
- specfile fixed
|
|
|
|
* Tue Mar 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0.4-1qilnx
|
|
- first build
|
|
http://progsreiserfs.sourcearchive.com/downloads/0.3.0.5-1/progsreiserfs_0.3.0.5-1.diff.gz
|