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

Revision 815, 6.7 KB checked in by inagaki, 14 years ago (diff)

updated: kdepim-runtime, redland

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