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

Revision 4620, 7.1 KB checked in by inagaki, 13 years ago (diff)

NEW: raptor2, yajl
update: akonadi, raptor, rasqal, redland, soprano

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