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

Revision 6655, 7.2 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release or rebuild with exiv2-0.23

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