]> git.pld-linux.org Git - packages/3store3.git/blob - 3store3.spec
- updated db patch to support db up to 5.0
[packages/3store3.git] / 3store3.spec
1 Summary:        3store RDF engine
2 Summary(pl.UTF-8):      Silnik RDF 3store
3 Name:           3store3
4 Version:        3.0.17
5 Release:        3
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/threestore/%{name}-%{version}.tar.gz
9 # Source0-md5:  6e5dceaa076e603e618384e01da6a50a
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-rasqal.patch
12 Patch2:         %{name}-db.patch
13 Patch3:         %{name}-rasqal-disable-constrs.patch
14 URL:            http://threestore.sourceforge.net/
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake
17 BuildRequires:  db-devel >= 4.1
18 BuildRequires:  glib2-devel >= 2.2.0
19 BuildRequires:  libtool
20 BuildRequires:  mysql-devel
21 BuildRequires:  ncurses-devel
22 BuildRequires:  pkgconfig
23 BuildRequires:  rasqal-devel >= 0.9.16
24 BuildRequires:  readline-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 3store is an RDF(S) triplestore, written in C and backed by MySQL. It
29 provides a RDF query engine that supports SPARQL and RDQL, over HTTP
30 or through a C API or command line inferface.
31
32 It can handle 100M triple knowledge bases, white retaining fast
33 response times, and provides RDFS inference capabilities.
34
35 %description -l pl.UTF-8
36 3store to triplestore dla RDF(S) napisany w C z backendem MySQL.
37 Udostępnia silnik zapytań RDF obsługujący SPARQL i RDQL po HTTP,
38 poprzez API C lub z linii poleceń.
39
40 Może obsłużyć bazy wiedzy rzędu 100M zachowując krótkie czasy
41 odpowiedzi; udostępnia możliwości wnioskowania RDFS.
42
43 %package devel
44 Summary:        Header files for 3store library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki 3store
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       db-devel >= 4.1
49 Requires:       glib2-devel >= 2.2.0
50 Requires:       mysql-devel
51 Requires:       rasqal-devel >= 0.9.16
52
53 %description devel
54 Header files for 3store library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki 3store.
58
59 %package static
60 Summary:        Static 3store library
61 Summary(pl.UTF-8):      Statyczna biblioteka 3store
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64
65 %description static
66 Static 3store library.
67
68 %description static -l pl.UTF-8
69 Statyczna biblioteka 3store.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74 %patch1 -p1
75 %patch2 -p1
76 %patch3 -p1
77
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog README RELEASE-NOTES TODO
102 %attr(755,root,root) %{_bindir}/ts-*
103 %attr(755,root,root) %{_libdir}/lib3store.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/lib3store.so.0
105 %{_datadir}/3store3
106 %{_mandir}/man1/ts-*.1*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib3store.so
111 %{_libdir}/lib3store.la
112 %{_includedir}/3store3
113 %{_pkgconfigdir}/3store3.pc
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/lib3store.a
This page took 0.043515 seconds and 3 git commands to generate.