]>
Commit | Line | Data |
---|---|---|
bab78db9 | 1 | |
96e3afe2 | 2 | %define module rdflib |
bab78db9 | 3 | |
4 | Summary: Python library for working with RDF | |
a68e9abd | 5 | Summary(pl.UTF-8): Biblioteka Pythona do pracy z RDF |
96e3afe2 | 6 | Name: python-%{module} |
c3ed5d08 | 7 | Version: 2.0.6 |
bbe5a458 | 8 | Release: 3 |
00b3cd2a | 9 | License: BSD |
bab78db9 | 10 | Vendor: Robin Dunn <robin@alldunn.com> |
11 | Group: Development/Languages/Python | |
c3ed5d08 | 12 | Source0: http://rdflib.net/2005/03/19/%{module}-%{version}.tgz |
13 | # Source0-md5: da3d3ae7627a3cc4188cf139f96b4e32 | |
bab78db9 | 14 | URL: http://rdflib.net/ |
de589a17 | 15 | BuildRequires: python-devel >= 1:2.3 |
c100659f | 16 | BuildRequires: python-modules |
17 | BuildRequires: rpm-pythonprov | |
bab78db9 | 18 | %pyrequires_eq python-modules |
96e3afe2 | 19 | BuildArch: noarch |
bab78db9 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | RDFLib is a Python library for working with RDF, a simple yet powerful | |
24 | language for representing information. The library contains an RDF/XML | |
3324f7d4 | 25 | parser/serializer, a TripleStore, an InformationStore and various |
26 | store backends. It is being developed by Daniel Krech along with the | |
27 | help of a number of contributors. | |
bab78db9 | 28 | |
64048599 JR |
29 | %description -l pl.UTF-8 |
30 | RDFLib to biblioteka Pythona do pracy z RDF - prostym, ale potężnym | |
31 | językiem do reprezentowania informacji. Biblioteka zawiera | |
32 | parser/serializer RDF/XML, TripleStore, InformationStore oraz różne | |
00b3cd2a | 33 | backendy do przechowywania informacji. Jest rozwijana przez Daniela |
64048599 | 34 | Krecha z pomocą wielu współpracowników. |
bab78db9 | 35 | |
36 | %prep | |
96e3afe2 | 37 | %setup -q -n %{module}-%{version} |
bab78db9 | 38 | |
39 | %build | |
40 | env CFLAGS="%{rpmcflags}" python setup.py build | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
00b3cd2a JB |
44 | |
45 | python -- setup.py install \ | |
46 | --root=$RPM_BUILD_ROOT \ | |
47 | --optimize=2 | |
48 | ||
96e3afe2 | 49 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py | xargs rm -f |
bab78db9 | 50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc README TODO LICENSE doc example.py index.html | |
96e3afe2 | 57 | %{py_sitescriptdir}/%{module} |