Summary: A library for locking devices Name: lockdev Version: 1.0.0 Release: 5a Copyright: LGPL Group: System Environment/Libraries Source: ftp://ftp.debian.org/debian/dists/woody/main/source/libs/lockdev_1.0.0.tar.gz Patch: lockdev-temp.patch Buildroot: %{_tmppath}/%{name}-%{version}-root %description Lockdev provides a reliable way to put an exclusive lock to devices using both FSSTND and SVr4 methods. %package -n lockdev-devel Summary: headers and a static library for lockdev Group: System Environment/Libraries %description -n lockdev-devel Lockdev provides a reliable way to put an exclusive lock to devices using both FSSTND and SVr4 methods. The -devel package contains the development headers and a static library. %prep %setup -q %patch -p1 -b .s390 %build make %install rm -fr $RPM_BUILD_ROOT make basedir=$RPM_BUILD_ROOT/usr mandir=$RPM_BUILD_ROOT/%{_mandir} install mkdir -p $RPM_BUILD_ROOT/lib mv $RPM_BUILD_ROOT/usr/lib/*so* $RPM_BUILD_ROOT/lib/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_mandir}/*/* /lib/* %files -n lockdev-devel %defattr(-,root,root) /usr/include/* /usr/lib/* %changelog * Thu May 10 2001 Oliver Paukstadt - ported to IBM zSeries (s390x, 64 bit) - no one needs the perl-module, don't test it - perl-module failes on s390x, because it is not allowed to link static library-code in shared libraries. * Sun Aug 06 2000 Trond Eivind Glomsrød - rebuild * Wed Jul 12 2000 Prospector - automatic rebuild * Sat Jun 17 2000 Bill Nottingham - add %%defattr for -devel * Sat Jun 10 2000 Trond Eivind Glomsrød - use %%{_mandir} * Thu May 04 2000 Trond Eivind Glomsrød - first build