summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-10 23:54:53 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2012-06-10 23:54:53 +0700
commitfba695dd1ab81f4d854f0bd929574d905c0c8dfc (patch)
treefca929559319d655af8c5bf6c0c0eac480fa393b /admin
parentd4c969932d8e7ee6e24c54377aeb199e6ed76f54 (diff)
downloadspecs-fba695dd1ab81f4d854f0bd929574d905c0c8dfc.tar.gz
specs-fba695dd1ab81f4d854f0bd929574d905c0c8dfc.tar.xz
specs-fba695dd1ab81f4d854f0bd929574d905c0c8dfc.zip
summain review done
Diffstat (limited to 'admin')
-rw-r--r--admin/summain.spec64
1 files changed, 0 insertions, 64 deletions
diff --git a/admin/summain.spec b/admin/summain.spec
deleted file mode 100644
index a9dca9e..0000000
--- a/admin/summain.spec
+++ /dev/null
@@ -1,64 +0,0 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-
-Name: summain
-Version: 0.13
-Release: 1%{?dist}
-Summary: File manifest generator
-
-# ask upstream to include license text
-License: GPLv3+
-URL: http://liw.fi/%{name}/
-Source0: http://code.liw.fi/debian/pool/main/s/%{name}/%{name}_%{version}.orig.tar.gz
-
-# build-time
-BuildRequires: python-coverage-test-runner
-BuildRequires: libattr-devel
-BuildRequires: python-devel
-# build- and run-time
-BuildRequires: python-cliapp
-Requires: python-cliapp
-
-# we don't want to provide private python extension libs
-# http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Arch-specific_extensions_to_scripting_languages
-%{?filter_setup:
-%filter_provides_in %{python_sitearch}/_summain.so
-%filter_setup
-}
-
-%description
-Summain generates file manifests, which contain metadata about the
-files, and a checksum of their content for regular files. The manifest
-can be generated for a directory tree at different points in time and
-compared (with diff) to see if something has changed.
-
-
-%prep
-%setup -q
-
-
-%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-# Generate manpages
-make summain.1
-
-
-%install
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-# fix permission
-chmod 755 %{buildroot}%{python_sitearch}/_summain.so
-
-
-%check
-%{__python} setup.py check
-
-
-%files
-%doc NEWS README
-%{_mandir}/man1/summain.1*
-%{_bindir}/summain
-%{python_sitearch}/*
-
-
-%changelog
-* Sun Jun 3 2012 Michel Salim <salimma@fedoraproject.org> - 0.13-1
-- Initial package