]> git.pld-linux.org Git - packages/3store.git/blame - 3store.spec
- release 13 (by relup.sh)
[packages/3store.git] / 3store.spec
CommitLineData
a1caaefe
SS
1#
2# Conditional build:
3%bcond_with glib2 # use glib2 (default glib)
4#
73e5496b 5Summary: 3store RDF engine
79305065 6Summary(pl.UTF-8): Silnik RDF 3store
73e5496b
JB
7Name: 3store
8Version: 2.2.22
353d2a44 9Release: 13
73e5496b
JB
10License: GPL v2+
11Group: Libraries
12Source0: http://dl.sourceforge.net/threestore/%{name}-%{version}.tar.gz
13# Source0-md5: 6fa70d2830c82eb030d8888f4da0c86c
0a32ac47 14Patch0: %{name}-ac.patch
a1caaefe 15Patch1: glib2.patch
d4760af2 16Patch2: format-security.patch
73e5496b 17URL: http://threestore.sourceforge.net/
0a32ac47
JB
18BuildRequires: autoconf
19BuildRequires: automake
73e5496b 20BuildRequires: flex
a1caaefe
SS
21%{!?with_glib2:BuildRequires: glib-devel}
22%{?with_glib2:BuildRequires: glib2-devel}
73e5496b 23BuildRequires: libraptor-devel >= 0.9.10
0a32ac47 24BuildRequires: libtool
73e5496b 25BuildRequires: mysql-devel
54020355 26%{?with_glib2:BuildRequires: pkgconfig}
9ff042b4 27BuildRequires: readline-devel
73e5496b
JB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
313store is a highly scalable RDF triplestore, made available under the
32GNU General Public Licence and funded by the AKT Consortium
33<http://www.aktors.org/>.
34
3fa76339
JR
35%description -l pl.UTF-8
363store to wysoce skalowalne triplestore RDF, udostępnione na
73e5496b
JB
37Powszechnej Licencji Publicznej GNU (GPL), sponsorowane przez AKT
38Consortium <http://www.aktors.org/>.
39
40%package devel
41Summary: Header files for 3store library
79305065 42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki 3store
73e5496b
JB
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
74fd07b0
JB
45# for -lfl
46Requires: flex
323452f9
SS
47%{!?with_glib2:Requires: glib-devel}
48%{?with_glib2:Requires: glib2-devel}
73e5496b
JB
49Requires: libraptor-devel >= 0.9.10
50Requires: mysql-devel
51
52%description devel
53Header files for 3store library.
54
3fa76339
JR
55%description devel -l pl.UTF-8
56Pliki nagłówkowe biblioteki 3store.
73e5496b
JB
57
58%package static
59Summary: Static 3store library
79305065 60Summary(pl.UTF-8): Statyczna biblioteka 3store
73e5496b
JB
61Group: Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
63
64%description static
65Static 3store library.
66
3fa76339 67%description static -l pl.UTF-8
73e5496b
JB
68Statyczna biblioteka 3store.
69
70%prep
71%setup -q
0a32ac47 72%patch0 -p1
a1caaefe 73%{?with_glib2:%patch1 -p1}
d4760af2 74%patch2 -p1
73e5496b
JB
75
76%build
0a32ac47
JB
77%{__libtoolize}
78%{__aclocal}
79%{__autoconf}
80%{__autoheader}
81%{__automake}
73e5496b
JB
82%configure
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
87
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%files
98%defattr(644,root,root,755)
99%doc AUTHORS ChangeLog README
100%attr(755,root,root) %{_bindir}/tstore_*
101%attr(755,root,root) %{_libdir}/librdfsql.so.*.*.*
c2faba38 102%attr(755,root,root) %ghost %{_libdir}/librdfsql.so.0
73e5496b 103%attr(755,root,root) %{_libdir}/libokbc.so.*.*.*
c2faba38 104%attr(755,root,root) %ghost %{_libdir}/libokbc.so.0
73e5496b
JB
105%{_datadir}/3store
106
107%files devel
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_bindir}/3store-config
110%attr(755,root,root) %{_libdir}/librdfsql.so
111%attr(755,root,root) %{_libdir}/libokbc.so
112%{_libdir}/librdfsql.la
113%{_libdir}/libokbc.la
114%{_includedir}/rdfsql
115%{_pkgconfigdir}/3store.pc
116
117%files static
118%defattr(644,root,root,755)
119%{_libdir}/librdfsql.a
120%{_libdir}/libokbc.a
This page took 0.191731 seconds and 4 git commands to generate.