71 lines
1.5 KiB
RPMSpec
71 lines
1.5 KiB
RPMSpec
Summary: A library for locking devices
|
|
Name: lockdev
|
|
Version: 1.0.0
|
|
Release: 6
|
|
Copyright: LGPL
|
|
Group: System Environment/Libraries
|
|
Source: ftp://ftp.debian.org/debian/dists/woody/main/source/libs/lockdev_1.0.0.tar.gz
|
|
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
|
|
|
|
%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
|
|
* Sun Aug 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- rebuild
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
|
|
- add %%defattr for -devel
|
|
|
|
* Sat Jun 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- use %%{_mandir}
|
|
|
|
* Thu May 04 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
- first build
|