]> git.pld-linux.org Git - packages/python-rdflib.git/blame - python-rdflib.spec
- arch: noarch
[packages/python-rdflib.git] / python-rdflib.spec
CommitLineData
bab78db9 1
bab78db9 2%include /usr/lib/rpm/macros.python
bab78db9 3
96e3afe2 4%define module rdflib
bab78db9 5
6Summary: Python library for working with RDF
7Summary(pl): Biblioteka Pythona do pracy z RDF
96e3afe2 8Name: python-%{module}
bab78db9 9Version: 2.0.0
10Release: 1
11License: UNKNOWN
12Vendor: Robin Dunn <robin@alldunn.com>
13Group: Development/Languages/Python
96e3afe2 14Source0: http://rdflib.net/2004/03/10/%{module}-%{version}.tgz
bab78db9 15# Source0-md5: 0118a5b5b56bc3662ae96240440aba83
16URL: http://rdflib.net/
17BuildRequires: python-devel >= 2.3
18BuildRequires: rpm-pythonprov
19%pyrequires_eq python-modules
96e3afe2 20BuildArch: noarch
bab78db9 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24RDFLib is a Python library for working with RDF, a simple yet powerful
25language for representing information. The library contains an RDF/XML
26parser/serializer, a TripleStore, an InformationStore and various store
27backends. It is being developed by Daniel Krech along with the help of
28a number of contributors.
29
30
31%prep
96e3afe2 32%setup -q -n %{module}-%{version}
bab78db9 33
34%build
35env CFLAGS="%{rpmcflags}" python setup.py build
36
37%install
38rm -rf $RPM_BUILD_ROOT
39python -- setup.py install --root=$RPM_BUILD_ROOT --optimize=2
96e3afe2 40find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py | xargs rm -f
bab78db9 41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc README TODO LICENSE doc example.py index.html
96e3afe2 48%{py_sitescriptdir}/%{module}
This page took 0.127756 seconds and 4 git commands to generate.