]> git.pld-linux.org Git - packages/redland.git/blob - redland.spec
7dd901fe07777e4e23175fcc86e91541d9d73787
[packages/redland.git] / redland.spec
1 Summary:        Redland - a library that provides a high-level interface for RDF
2 Summary(pl):    Redland - biblioteka udostêpniaj±ca wysokopoziomowy interfejs do RDF
3 Name:           redland
4 Version:        0.9.18
5 Release:        1
6 License:        LGPL v2 or GPL v2 or MPL 1.1
7 Group:          Libraries
8 Source0:        http://www.redland.opensource.ac.uk/dist/source/%{name}-%{version}.tar.gz
9 # Source0-md5:  64ab895d0d9f5ad8540357e26dc46253
10 URL:            http://www.redland.opensource.ac.uk/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1.7
13 BuildRequires:  db-devel
14 BuildRequires:  libraptor-devel >= 1.3.0
15 BuildRequires:  libtool
16 BuildRequires:  mysql-devel >= 3.23.58
17 BuildRequires:  openssl-devel >= 0.9.7d
18 BuildRequires:  rasqal-devel >= 1:0.9.2
19 Requires:       libraptor >= 1.3.0
20 Requires:       rasqal >= 1:0.9.2
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Redland is a library that provides a high-level interface for RDF
25 allowing the RDF graph to be parsed from XML, stored, queried and
26 manipulated. Redland implements each of the RDF concepts in its own
27 class via an object based API, reflected into the other language APIs:
28 Perl, Python, Tcl, Java and Ruby. Some of the classes providing the
29 parsers, storage mechanisms and other elements are built as modules
30 that can be added or removed as required.
31
32 %description -l pl
33 Redland to biblioteka udostêpniaj±ca wysokopoziomowy interfejs do RDF,
34 pozwalaj±ca na analizê grafu RDF z XML-a, jego przechowywanie,
35 odpytywanie i obróbkê. Redland zawiera implementacje ka¿dego pojêcia z
36 RDF w osobnej klasie poprzez obiekt oparty na API, maj±cy
37 odzwierciedlenie w API dla innych jêzyków: Perla, Pythona, Tcl-a, Javy
38 i Ruby'ego. Czê¶æ klas udostêpniaj±cych analizatory, mechanizmy
39 przechowywania i inne elementy jest zbudowana jako modu³y, które mog±
40 byæ dodawane lub usuwane w razie potrzeby.
41
42 %package devel
43 Summary:        Headers for Redland RDF library
44 Summary(pl):    Pliki nag³ówkowe biblioteki Redland RDF
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       db-devel
48 Requires:       libraptor-devel >= 1.3.0
49 Requires:       mysql-devel >= 3.23.58
50 Requires:       rasqal-devel >= 1:0.9.2
51
52 %description devel
53 Headers for Redland RDF library.
54
55 %description devel -l pl
56 Pliki nag³ówkowe biblioteki Redland RDF.
57
58 %package static
59 Summary:        Static Redland RDF library
60 Summary(pl):    Statyczna biblioteka Redland RDF
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 Static Redland RDF library.
66
67 %description static -l pl
68 Statyczna biblioteka Redland RDF.
69
70 %package -n python-redland
71 Summary:        Python bindings for Redland RDF library
72 Summary(pl):    Pythonowy interfejs do biblioteki Redland RDF
73 Group:          Libraries/Python
74 Requires:       %{name} = %{version}-%{release}
75 %pyrequires_eq  python
76
77 %description -n python-redland
78 Python bindings for Redland RDF library
79
80 %description -n python-redland -l pl
81 Pythonowy interfejs do biblioteki Redland RDF
82
83 %prep
84 %setup -q
85
86 %build
87 %{__libtoolize}
88 %{__aclocal}
89 %{__autoconf}
90 %{__autoheader}
91 %{__automake}
92 %configure \
93         --with-raptor=system \
94         --with-rasqal=system
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog FAQS.html LICENSE.html NEWS.html README.html RELEASE.html TODO.html
113 %attr(755,root,root) %{_bindir}/rdfproc
114 %attr(755,root,root) %{_bindir}/redland-db-upgrade
115 %attr(755,root,root) %{_libdir}/librdf.so.*.*.*
116 %{_mandir}/man1/rdfproc.1*
117 %{_mandir}/man1/redland-db-upgrade.1*
118
119 %files devel
120 %defattr(644,root,root,755)
121 %doc docs/{README.html,storage.html,api}
122 %attr(755,root,root) %{_bindir}/redland-config
123 %attr(755,root,root) %{_libdir}/librdf.so
124 %{_libdir}/librdf.la
125 %{_includedir}/librdf.h
126 %{_includedir}/rdf_*.h
127 %{_includedir}/redland.h
128 %dir %{_datadir}/redland
129 %{_datadir}/redland/Redland.i
130 %{_pkgconfigdir}/redland.pc
131 %{_mandir}/man1/redland-config.1*
132 %{_mandir}/man3/redland.3*
133
134 %files static
135 %defattr(644,root,root,755)
136 %{_libdir}/librdf.a
This page took 0.031794 seconds and 2 git commands to generate.