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