diff --git a/README.md b/README.md index 15ce0ee..1084b58 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-rdflib +A Python library for working with RDF, a simple yet powerful language for representing information.. + diff --git a/python-rdflib.spec b/python-rdflib.spec new file mode 100644 index 0000000..57220f2 --- /dev/null +++ b/python-rdflib.spec @@ -0,0 +1,65 @@ +Name: python-rdflib +Version: 4.1.2 +Release: 1mamba +Summary: A Python library for working with RDF, a simple yet powerful language for representing information. +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/rdflib/ +Source: https://pypi.python.org/packages/source/r/rdflib/rdflib-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +BuildRequires: python +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python-isodate +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q -n rdflib-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --single-version-externally-managed \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +## note: this list is just an example; modify as required +# %{python_sitearch}/%{name}.py* +# %{python_sitearch}/%{name}.so + +## note: eventually add the remaining documents (if any) +# + +%changelog +* Wed Apr 23 2014 Automatic Build System 4.1.2-1mamba +- automatic version update by autodist + +* Thu Apr 10 2014 Automatic Build System 4.1.1-1mamba +- automatic version update by autodist + +* Wed Feb 12 2014 Silvan Calarco 4.1.0-1mamba +- update to 4.1.0 + +* Fri May 17 2013 Silvan Calarco 3.2.0-2mamba +- python 2.7 mass rebuild + +* Tue Sep 04 2012 Silvan Calarco 3.2.0-1mamba +- package created by autospec