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

Revision 7294, 7.3 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1Name:      redland
2Summary:   RDF Application Framework
3Version:   1.0.16
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* Sat Jan 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.16-1
129- new upstream release
130
131* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.15-1
132- new upstream release
133
134* Fri Aug 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.14-1
135- new upstream release
136- added mysql, pgsql subpackages
137
138* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-6
139- rebuilt with rpm-4.8.1
140
141* Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-5
142- BuildRequires: libiodbc-devel instead of unixODBC-devel
143
144* Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-4
145- added Patch50 and 51 from FC
146  * Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-3
147  - no_undefined patch
148  * Sun Jan 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-2
149  - pkgconfig_requires_private patch
150
151* Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.10-3
152- rebuilt with rasqal-0.9.17 on ppc
153
154* Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-2
155- add BuildRequires: pkgconfig, unixODBC-devel
156- add Requires: unixODBC
157
158* Sat Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-1
159- new upstream release
160- built with new toolchain, db4-4.8.26
161
162* Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
163- new upstream release
164
165* Thu Oct 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2
166- redland-devel requires {raptor,rasqal}-devel instead of {rapter,rasqal}
167
168* Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-1
169- fix release
170- drop .a
171
172* Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl1
173- new upstream release
174- drop .la
175
176* Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.6-0vl1
177- initial release for VineSeed
178- disable MySQL, postgresql and sqlite
179
180* Sat May  5 2007  Dave Beckett <dave@dajobe.org>
181- Add /usr/share/redland/mysql-v1.ttl and /usr/share/redland/mysql-v2.ttl
182
183* Wed Feb 15 2006  Dave Beckett <dave@dajobe.org>
184- Require db4-devel
185- Disable postgresql for now
186
187* Thu Aug 11 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
188- Update Source:
189- Do not require python-devel at build time
190- Add sqlite-devel build requirement.
191- Use %%configure and %%makeinstall
192
193* Thu Jul 21 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
194- Updated for gtk-doc locations
195
196* Mon Nov 1 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
197- License now LGPL/Apache 2
198- Added LICENSE-2.0.txt and NOTICE
199
200* Mon Jul 19 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
201- move perl, python packages into redland-bindings
202
203* Mon Jul 12 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
204- put /usr/share/redland/Redland.i in redland-devel
205
206* Wed May  5 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
207- require raptor 1.3.0
208- require rasqal 0.2.0
209
210* Fri Jan 30 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
211- require raptor 1.2.0
212- update for removal of python distutils
213- require python 2.2.0+
214- require perl 5.8.0+
215- build and require mysql
216- do not build and require threestore
217
218* Sun Jan 4 2004  Dave Beckett <dave.beckett@bristol.ac.uk>
219- added redland-python package
220- export some more docs
221
222* Mon Dec 15 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
223- require raptor 1.1.0
224- require libxml 2.4.0 or newer
225- added pkgconfig redland.pc
226- split redland/devel package shared libs correctly
227
228* Mon Sep 8 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
229- require raptor 1.0.0
230 
231* Thu Sep 4 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
232- added rdfproc
233 
234* Thu Aug 28 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
235- patches added post 0.9.13 to fix broken perl UNIVERSAL::isa
236 
237* Thu Aug 21 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
238- Add redland-db-upgrade.1
239- Removed duplicate perl CORE shared objects
240
241* Sun Aug 17 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
242- Updates for new perl module names.
243
244* Tue Apr 22 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
245- Updated for Redhat 9, RPM 4
246
247* Fri Feb 12 2003 Dave Beckett <dave.beckett@bristol.ac.uk>
248- Updated for redland 0.9.12
249
250* Fri Jan 4 2002 Dave Beckett <dave.beckett@bristol.ac.uk>
251- Updated for new Perl module names
252
253* Fri Sep 14 2001 Dave Beckett <dave.beckett@bristol.ac.uk>
254- Added shared libraries
Note: See TracBrowser for help on using the repository browser.