Commits

John Mulligan committed 6d73f94

pull in some rpm packaging stuff

Comments (0)

Files changed (2)

 include test/*.py
 include doc/*
 include doc/source/*
+include misc/*

misc/python-fsnix.spec

+%define shortname fsnix
+%define basever 0.3
+%define snapver %{nil}
+
+Name:       python-%{shortname}
+Version:    %{basever}
+Release:    0.1%{?snapver}%{?dist}
+Summary:    Provides a python wrapper for file system api functions
+
+Group:      Development/Libraries
+License:    MIT
+URL:        http://bitbucket.org/nasuni/fsnix
+Source0:    %{shortname}-%{basever}.tar.gz
+BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires: python-devel
+Requires: python
+
+%description
+A python wrapper library that exposes the POSIX.1-2008 functions like
+openat, mkdirat, renameat, and friends to Python 2.x. Included is a
+C-API based module a (more limited) ctypes based module and a
+utility module that builds on top of the others.
+
+
+%prep
+%setup -q -n %{shortname}-%{basever}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT \
+                        --record=%{shortname}-lst.txt
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files -f %{shortname}-lst.txt
+%defattr(-,root,root,-)
+%doc
+
+
+
+%changelog
+* Mon May 12 2014 John Mulligan <johnm@nasuni.com>
+- Upgrade to version v0.3
+
+* Fri Oct 07 2011 John Mulligan <johnm@nasuni.com>
+- Initial RPM spec file
+