diff --git a/.cvsignore b/.cvsignore index e69de29..fed4b9c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lockdev_1.0.0.tar.gz diff --git a/lockdev.spec b/lockdev.spec new file mode 100644 index 0000000..12b5ab0 --- /dev/null +++ b/lockdev.spec @@ -0,0 +1,70 @@ +Summary: A library for locking devices +Name: lockdev +Version: 1.0.0 +Release: 5 +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 diff --git a/sources b/sources index e69de29..95e4e4b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d545dc224671dec48780309c54067b86 lockdev_1.0.0.tar.gz