diff --git a/.cvsignore b/.cvsignore index e69de29..b823ac8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +redland-1.0.5.tar.gz diff --git a/redland.spec b/redland.spec new file mode 100644 index 0000000..e793cb1 --- /dev/null +++ b/redland.spec @@ -0,0 +1,200 @@ +Name: redland +Version: 1.0.5 +Release: 1%{?dist} +Summary: Redland RDF Application Framework + +Group: System Environment/Libraries +License: LGPL or Apache License 2.0 +URL: http://librdf.org/ +Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libxml2-devel >= 2.4.0 +BuildRequires: curl-devel +BuildRequires: rasqal-devel >= 0.9.12 +BuildRequires: raptor-devel >= 1.4.9 +BuildRequires: db4-devel +BuildRequires: mysql-devel +BuildRequires: sqlite-devel +BuildRequires: postgresql-devel +BuildRequires: gtk-doc + +# to avoid /usr/lib64 rpath on x86_64 +BuildRequires: libtool + +%description +Redland is a library that provides a high-level interface for RDF +(Resource Description Framework) implemented in an object-based API. +It is modular and supports different RDF/XML parsers, storage +mechanisms and other elements. Redland is designed for applications +developers to provide RDF support in their applications as well as +for RDF developers to experiment with the technology. + +%package devel +Summary: Libraries and header files for programs that use Redland +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: raptor-devel >= 1.4.9 +Requires: rasqal-devel >= 0.9.11 + +%description devel +Header files for development with Redland. + +%prep +%setup -q + +%build +# disable-static does not work if we override to use the system's libtool +%configure \ + --enable-release \ + --with-raptor=system --with-rasqal=system --with-threestore=no \ + --disable-static + +# avoid getting /usr/lib64 rpath on x86_64 build +make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} + +%check +make check + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install +find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; + +# remove .a files that we now get because of overriding libtool +find $RPM_BUILD_ROOT -name \*.a -exec rm {} \; + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README +%doc LICENSE-2.0.txt NOTICE +%doc *.html +%{_libdir}/librdf*.so.* +%{_bindir}/rdfproc +%{_bindir}/redland-db-upgrade +%{_mandir}/man1/redland-db-upgrade.1* +%{_mandir}/man1/rdfproc.1* +%{_mandir}/man3/redland.3* + +%files devel +%defattr(-,root,root,-) +%{_bindir}/redland-config +%{_libdir}/librdf*.so +%{_includedir}/redland.h +%{_includedir}/librdf.h +%{_includedir}/rdf_*.h +%{_mandir}/man1/redland-config.1* +%{_libdir}/pkgconfig/redland.pc +%{_datadir}/%{name}/Redland.i +%{_datadir}/gtk-doc/html + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%changelog +* Thu Jun 28 2007 Kevin Kofler 1.0.5-1 +- update to 1.0.5 (1.0.6 needs newer raptor and rasqal than available) +- update minimum raptor version + +* Fri Dec 15 2006 Thomas Vander Stichele +- 1.0.4-3 +- use DESTDIR + +* Sat Jun 17 2006 Thomas Vander Stichele +- 1.0.4-2 +- fixed x86_64 rpath issue with an ugly hack +- removed OPTIMIZE from make invocation +- added smp flags +- added make check +- updated license + +* Sun May 14 2006 Thomas Vander Stichele +- 1.0.4-1 +- update to new release, needs later raptor +- remove patch + +* Sat Apr 08 2006 Thomas Vander Stichele +- 1.0.3-1 +- update to latest release +- include patch for fclose() double-free + +* Sat Apr 08 2006 Thomas Vander Stichele +- 1.0.2-1 +- package for Fedora Extras + +* Wed Feb 15 2006 Dave Beckett +- Require db4-devel + +* Thu Aug 11 2005 Dave Beckett +- Update Source: +- Do not require python-devel at build time +- Add sqlite-devel build requirement. +- Use configure and makeinstall + +* Thu Jul 21 2005 Dave Beckett +- Updated for gtk-doc locations + +* Mon Nov 1 2004 Dave Beckett +- License now LGPL/Apache 2 +- Added LICENSE-2.0.txt and NOTICE + +* Mon Jul 19 2004 Dave Beckett +- move perl, python packages into redland-bindings + +* Mon Jul 12 2004 Dave Beckett +- put /usr/share/redland/Redland.i in redland-devel + +* Wed May 5 2004 Dave Beckett +- require raptor 1.3.0 +- require rasqal 0.2.0 + +* Fri Jan 30 2004 Dave Beckett +- require raptor 1.2.0 +- update for removal of python distutils +- require python 2.2.0+ +- require perl 5.8.0+ +- build and require mysql +- do not build and require threestore + +* Sun Jan 4 2004 Dave Beckett +- added redland-python package +- export some more docs + +* Mon Dec 15 2003 Dave Beckett +- require raptor 1.1.0 +- require libxml 2.4.0 or newer +- added pkgconfig redland.pc +- split redland/devel package shared libs correctly + +* Mon Sep 8 2003 Dave Beckett +- require raptor 1.0.0 + +* Thu Sep 4 2003 Dave Beckett +- added rdfproc + +* Thu Aug 28 2003 Dave Beckett +- patches added post 0.9.13 to fix broken perl UNIVERSAL::isa + +* Thu Aug 21 2003 Dave Beckett +- Add redland-db-upgrade.1 +- Removed duplicate perl CORE shared objects + +* Sun Aug 17 2003 Dave Beckett +- Updates for new perl module names. + +* Tue Apr 22 2003 Dave Beckett +- Updated for Redhat 9, RPM 4 + +* Fri Feb 12 2003 Dave Beckett +- Updated for redland 0.9.12 + +* Fri Jan 4 2002 Dave Beckett +- Updated for new Perl module names + +* Fri Sep 14 2001 Dave Beckett +- Added shared libraries diff --git a/sources b/sources index e69de29..91e286b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +43d909ff6ffa7f7559ad9af5620c8cbf redland-1.0.5.tar.gz