source: projects/specs/trunk/r/redland/redland-vl.spec @ 8948

Revision 8948, 7.7 KB checked in by inagaki, 10 years ago (diff)

2014-09-13 Ryoichi INAGAKI <ryo1@…>

  • gsl, libmpc, redland: update


Line 
1Name:      redland
2Summary:   RDF Application Framework
3Summary(ja): RDF アプリケーションフレームワーク
4Version:   1.0.17
5Release:   1%{?_dist_release}
6
7License:   LGPLv2+ or ASL 2.0
8Group:     System Environment/Libraries
9URL:       http://librdf.org/
10
11Source:    http://download.librdf.org/source/%{name}-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: curl-devel
15BuildRequires: libdb-devel
16BuildRequires: libiodbc-devel
17BuildRequires: libtool-ltdl-devel
18BuildRequires: libmysqlclient-devel
19BuildRequires: libpq-devel
20BuildRequires: libxml2-devel >= 2.4.0
21BuildRequires: raptor2-devel >= 2.0.7
22BuildRequires: rasqal-devel >= 0.9.25
23BuildRequires: sqlite3-devel
24BuildRequires: virtuoso-opensource
25
26%description
27Redland is a library that provides a high-level interface for RDF
28(Resource Description Framework) implemented in an object-based API.
29It is modular and supports different RDF parsers, serializers,
30storage and query languages.  Redland is designed for developers to
31provide RDF support in their applications as well as a core library
32for RDF developers to start with.
33
34%package mysql
35Summary: MySQL storage support for Redland
36Group: System Environment/Libraries
37Requires: %{name} = %{version}-%{release}
38Requires: raptor2-devel >= 2.0.7
39Requires: rasqal-devel >= 0.9.25
40
41%description mysql
42This package provides Redland's storage support for graphs in memory and
43persistently with MySQL files or URIs.
44
45%package pgsql
46Summary: PostgreSQL storage support for Redland
47Group: System Environment/Libraries
48Requires: %{name} = %{version}-%{release}
49
50%description pgsql
51This package provides Redland's storage support for graphs in memory and
52persistently with PostgreSQL files or URIs.
53
54%package devel
55Summary: Libraries and header files for programs that use Redland.
56Group: Development/Libraries
57Requires: %{name} = %{version}-%{release}
58
59%description devel
60Header files for development with Redland
61
62
63%prep
64%setup -q
65
66# hack to nuke rpaths
67%if "%{_libdir}" != "/usr/lib"
68sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
69%endif
70
71%build
72%configure \
73    --disable-static \
74    --enable-release \
75    --enable-silent-rules \
76    --with-bdb=%{_prefix} \
77    --with-bdb-lib=%{_libdir} \
78    --with-bdb-include=%{_includedir} \
79    --with-bdb-dbname=db
80
81make %{?_smp_mflags}
82
83
84%install
85[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
86
87make install DESTDIR=$RPM_BUILD_ROOT
88
89#unpackaged files
90find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
91
92%clean
93[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
94
95%post -p /sbin/ldconfig
96
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(-, root, root)
101%doc AUTHORS COPYING COPYING.LIB LICENSE.txt NEWS README
102%doc LICENSE-2.0.txt NOTICE TODO
103%doc FAQS.html LICENSE.html NEWS.html README.html TODO.html
104%{_bindir}/rdfproc
105%{_bindir}/redland-db-upgrade
106%{_libdir}/librdf.so.*
107%dir %{_libdir}/redland
108%{_libdir}/redland/librdf_storage_sqlite.so
109%{_libdir}/redland/librdf_storage_virtuoso.so
110%{_datadir}/redland/mysql-v1.ttl
111%{_datadir}/redland/mysql-v2.ttl
112%{_mandir}/man1/rdfproc.1*
113%{_mandir}/man1/redland-db-upgrade.1*
114%{_mandir}/man3/redland.3*
115
116%files mysql
117%defattr(-,root,root,-)
118%{_libdir}/redland/librdf_storage_mysql.so
119
120%files pgsql
121%defattr(-,root,root,-)
122%{_libdir}/redland/librdf_storage_postgresql.so
123
124%files devel
125%defattr(-, root, root)
126%doc ChangeLog RELEASE.html
127%doc %{_datadir}/gtk-doc/html
128%{_bindir}/redland-config
129%{_libdir}/librdf*.so
130%{_libdir}/pkgconfig/redland.pc
131%{_datadir}/%{name}/Redland.i
132%{_includedir}/redland.h
133%{_includedir}/librdf.h
134%{_includedir}/rdf_*.h
135%{_mandir}/man1/redland-config.1*
136
137
138%changelog
139* Sat Sep 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.17-1
140- updated to 1.0.17
141- updated BuildRequires
142
143* Sat Jan 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.16-1
144- new upstream release
145
146* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.15-1
147- new upstream release
148
149* Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.14-1
150- new upstream release
151- added mysql, pgsql subpackages
152
153* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-6
154- rebuilt with rpm-4.8.1
155
156* Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-5
157- BuildRequires: libiodbc-devel instead of unixODBC-devel
158
159* Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-4
160- added Patch50 and 51 from FC
161  * Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-3
162  - no_undefined patch
163  * Sun Jan 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-2
164  - pkgconfig_requires_private patch
165
166* Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.10-3
167- rebuilt with rasqal-0.9.17 on ppc
168
169* Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-2
170- add BuildRequires: pkgconfig, unixODBC-devel
171- add Requires: unixODBC
172
173* Sat Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-1
174- new upstream release
175- built with new toolchain, db4-4.8.26
176
177* Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
178- new upstream release
179
180* Thu Oct 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2
181- redland-devel requires {raptor,rasqal}-devel instead of {rapter,rasqal}
182
183* Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-1
184- fix release
185- drop .a
186
187* Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl1
188- new upstream release
189- drop .la
190
191* Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.6-0vl1
192- initial release for VineSeed
193- disable MySQL, postgresql and sqlite
194
195* Sat May  5 2007  Dave Beckett <dave@dajobe.org>
196- Add /usr/share/redland/mysql-v1.ttl and /usr/share/redland/mysql-v2.ttl
197
198* Wed Feb 15 2006  Dave Beckett <dave@dajobe.org>
199- Require db4-devel
200- Disable postgresql for now
201
202* Thu Aug 11 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
203- Update Source:
204- Do not require python-devel at build time
205- Add sqlite-devel build requirement.
206- Use %%configure and %%makeinstall
207
208* Thu Jul 21 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
209- Updated for gtk-doc locations
210
211* Mon Nov 1 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
212- License now LGPL/Apache 2
213- Added LICENSE-2.0.txt and NOTICE
214
215* Mon Jul 19 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
216- move perl, python packages into redland-bindings
217
218* Mon Jul 12 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
219- put /usr/share/redland/Redland.i in redland-devel
220
221* Wed May  5 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
222- require raptor 1.3.0
223- require rasqal 0.2.0
224
225* Fri Jan 30 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
226- require raptor 1.2.0
227- update for removal of python distutils
228- require python 2.2.0+
229- require perl 5.8.0+
230- build and require mysql
231- do not build and require threestore
232
233* Sun Jan 4 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
234- added redland-python package
235- export some more docs
236
237* Mon Dec 15 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
238- require raptor 1.1.0
239- require libxml 2.4.0 or newer
240- added pkgconfig redland.pc
241- split redland/devel package shared libs correctly
242
243* Mon Sep 8 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
244- require raptor 1.0.0
245 
246* Thu Sep 4 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
247- added rdfproc
248 
249* Thu Aug 28 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
250- patches added post 0.9.13 to fix broken perl UNIVERSAL::isa
251 
252* Thu Aug 21 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
253- Add redland-db-upgrade.1
254- Removed duplicate perl CORE shared objects
255
256* Sun Aug 17 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
257- Updates for new perl module names.
258
259* Tue Apr 22 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
260- Updated for Redhat 9, RPM 4
261
262* Wed Feb 12 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
263- Updated for redland 0.9.12
264
265* Fri Jan 4 2002 Dave Beckett <dave.beckett@bristol.ac.uk>
266- Updated for new Perl module names
267
268* Fri Sep 14 2001 Dave Beckett <dave.beckett@bristol.ac.uk>
269- Added shared libraries
Note: See TracBrowser for help on using the repository browser.