From 9d2f79ddbe96a3123b0306dd5aaeb31bce60becd Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sep 13 2015 17:17:48 +0000 Subject: initial fedora package --- diff --git a/.gitignore b/.gitignore index e69de29..f865b88 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cachedir_1.2-1.tar.gz diff --git a/cachedir.spec b/cachedir.spec new file mode 100644 index 0000000..442acd1 --- /dev/null +++ b/cachedir.spec @@ -0,0 +1,54 @@ +%{!?__python2: %global __python2 %__python} +%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} + +Name: cachedir +Version: 1.2 +Release: 2%{?dist} +Summary: A tiny utility for tagging directories as cache directories + +License: GPLv3+ +URL: http://liw.fi/%{name}/ +Source0: http://code.liw.fi/debian/pool/main/c/%{name}/%{name}_%{version}-1.tar.gz + +BuildArch: noarch +BuildRequires: cmdtest +BuildRequires: python-cliapp +BuildRequires: python-devel + +Requires: python-cliapp + +%description +cachedir is a tiny utility for tagging directories as cache directories, +according to the http://www.bford.info/cachedir/ specification. + + +%prep +%setup -q -n workspace + + +%build +%{__python2} setup.py build + + +%install +%{__python2} setup.py install -O1 --skip-build --root %{buildroot} + + +%check +%{__python2} setup.py check + + +%files +%license COPYING +%doc NEWS README +%{_bindir}/cachedir +%{python2_sitelib}/* +%{_mandir}/man1/cachedir.1* + + +%changelog +* Sun Sep 13 2015 Ben Boeckel - 1.2-2 +- initial fedora package + +* Wed Sep 02 2015 Ben Boeckel - 1.2-1 +- initial package diff --git a/sources b/sources index e69de29..8032aaa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +69b83d4d99e70a4d9cc30992c6e5b8be cachedir_1.2-1.tar.gz