[lockfile-progs/el5/master] initial import

Matthias Runge mrunge at fedoraproject.org
Thu Sep 23 09:13:39 UTC 2010


commit 9a69a3535a6b60060d87f0511046eca8a8943b1e
Author: Matthias Runge <matthias.runge at uni-oldenburg.de>
Date:   Thu Sep 23 11:13:12 2010 +0200

    initial import

 .gitignore          |    1 +
 lockfile-progs.spec |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0b5ddf3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lockfile-progs_0.1.15.tar.gz
diff --git a/lockfile-progs.spec b/lockfile-progs.spec
new file mode 100644
index 0000000..b177003
--- /dev/null
+++ b/lockfile-progs.spec
@@ -0,0 +1,64 @@
+Name:           lockfile-progs
+Version:        0.1.15
+Release:        2%{?dist}
+Summary:        Command-line programs to safely lock and unlock files and mailboxes
+
+License:        GPLv2
+Group:          Applications/System
+# debian package, no real upstream source
+URL:            http://packages.qa.debian.org/l/lockfile-progs.html
+Source0:        http://ftp.de.debian.org/debian/pool/main/l/%{name}/%{name}_%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  liblockfile-devel
+
+
+%description
+lockfile-progs provide a method to lock and unlock mailboxes and  files
+safely (via liblockfile).
+
+%prep
+%setup -q -n sid
+sed -i 's/\(cd bin && ln \)/\1 -sf /' Makefile
+
+%build
+make %{_smp_mflags} CFLAGS='%{optflags}'
+
+%check
+make check
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/%{_bindir}
+cp -r --preserve=all bin/* %{buildroot}/%{_bindir}
+mkdir -p %{buildroot}/%{_mandir}/man1
+cp -r --preserve=all man/* %{buildroot}/%{_mandir}/man1/
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/lockfile-check
+%{_bindir}/lockfile-create
+%{_bindir}/lockfile-remove
+%{_bindir}/lockfile-touch
+%{_bindir}/mail-lock
+%{_bindir}/mail-touchlock
+%{_bindir}/mail-unlock
+%{_mandir}/man1/*.1*
+%doc COPYING
+
+%changelog
+* Sat Aug 14 2010 Matthias Runge <mrunge at matthias-runge.de> 0.1.15-2
+- correct make-invocation, move it to build
+- COPYING in as doc
+- remove {__-invocations, replace by plain calls
+
+* Fri Aug 13 2010 Matthias Runge <mrunge at matthias-runge.de> 0.1.15-1
+- new version from upstream
+
+* Fri Aug 13 2010 Matthias Runge <mrunge at matthias-runge.de> 0.1.13-2
+- cleanup
+
+* Wed Apr 28 2010 Matthias Runge <mrunge at matthias-runge.de> 1.3.8-1
+- initial spec
diff --git a/sources b/sources
index e69de29..8141613 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+abfcda83a1868073673f4d78066b8f8a  lockfile-progs_0.1.15.tar.gz


More information about the scm-commits mailing list