[redland-bindings/f13/master] Initial import (#659082).

Thomas Vander Stichele thomasvs at fedoraproject.org
Fri Mar 4 16:53:32 UTC 2011


commit f83b5ad43ddcabfc6b391894f1465830ec06be88
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Fri Mar 4 17:53:23 2011 +0100

    Initial import (#659082).

 .gitignore                                     |    1 +
 0a36f02c4b354ebd7fc1906c45e3463e328f613d.patch |   32 +++
 113a26b0fb22519ae7610e78570ab8b17b483139.patch |   33 +++
 ba9f04f703fc62e4b8a67b79c37824e1b9b256ba.patch |  217 +++++++++++++++
 redland-bindings.spec                          |  355 ++++++++++++++++++++++++
 sources                                        |    1 +
 6 files changed, 639 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b562516 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/redland-bindings-1.0.11.1.tar.gz
diff --git a/0a36f02c4b354ebd7fc1906c45e3463e328f613d.patch b/0a36f02c4b354ebd7fc1906c45e3463e328f613d.patch
new file mode 100644
index 0000000..babd538
--- /dev/null
+++ b/0a36f02c4b354ebd7fc1906c45e3463e328f613d.patch
@@ -0,0 +1,32 @@
+From 0a36f02c4b354ebd7fc1906c45e3463e328f613d Mon Sep 17 00:00:00 2001
+From: Dave Beckett <dave at dajobe.org>
+Date: Mon, 31 Jan 2011 16:28:00 -0800
+Subject: [PATCH] Get PYTHON_LIB from distutils
+
+Use distutils.sysconfig function get_python_lib() to get the library
+binary directory.  distutils is a standard package so this should be
+portable.  (Although it does not seem to be in distutils2 whenever
+that gets standard may be some time)
+
+Fixes Issue#0000398
+http://bugs.librdf.org/mantis/view.php?id=398
+---
+ configure.ac |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9abd8cb..5404c38 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -293,7 +293,7 @@ if test "X$PYTHON" != X; then
+   if test "X$PYTHON_LIB" != X; then
+     AC_MSG_RESULT(using user lib: $PYTHON_LIB)
+   else
+-    PYTHON_LIB="${python_prefix}/lib/python${PYTHON_VERSION}/site-packages"
++    PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1,1)"`
+     AC_MSG_RESULT($PYTHON_LIB)
+   fi
+ 
+-- 
+1.7.0.2
+
diff --git a/113a26b0fb22519ae7610e78570ab8b17b483139.patch b/113a26b0fb22519ae7610e78570ab8b17b483139.patch
new file mode 100644
index 0000000..7e590fa
--- /dev/null
+++ b/113a26b0fb22519ae7610e78570ab8b17b483139.patch
@@ -0,0 +1,33 @@
+From 113a26b0fb22519ae7610e78570ab8b17b483139 Mon Sep 17 00:00:00 2001
+From: Dave Beckett <dave at dajobe.org>
+Date: Sat, 5 Feb 2011 20:37:49 -0800
+Subject: [PATCH] Added --with-python-get-python-lib-args for setting python install dir
+
+Fixes Issue#0000398
+http://bugs.librdf.org/mantis/view.php?id=398
+---
+ configure.ac |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7915490..c4081a0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -289,11 +289,13 @@ if test "X$PYTHON" != X; then
+     AC_MSG_RESULT($PYTHON_INCLUDES)
+   fi
+ 
++  AC_ARG_WITH(python-get-python-lib-args, [  --with-python-get-python-lib-args=ARGS Set args for Python distutils.sysconfig.get_python_lib() function (default '')], get_python_lib_args="$withval", get_python_lib_args="")
++
+   AC_MSG_CHECKING(Python libs)
+   if test "X$PYTHON_LIB" != X; then
+     AC_MSG_RESULT(using user lib: $PYTHON_LIB)
+   else
+-    PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1,1)"`
++    PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib($get_python_lib_args)"`
+     AC_MSG_RESULT($PYTHON_LIB)
+   fi
+ 
+-- 
+1.7.0.2
+
diff --git a/ba9f04f703fc62e4b8a67b79c37824e1b9b256ba.patch b/ba9f04f703fc62e4b8a67b79c37824e1b9b256ba.patch
new file mode 100644
index 0000000..7e3550e
--- /dev/null
+++ b/ba9f04f703fc62e4b8a67b79c37824e1b9b256ba.patch
@@ -0,0 +1,217 @@
+From ba9f04f703fc62e4b8a67b79c37824e1b9b256ba Mon Sep 17 00:00:00 2001
+From: Dave Beckett <dave at dajobe.org>
+Date: Sun, 6 Feb 2011 20:51:34 -0800
+Subject: [PATCH] Enable ruby installation to be configured
+
+Add --with-ruby-install-dir and --with-ruby-install-dir-variable to
+configure.  The former allows any installation path to be used, the
+latter sets the configuration variable to use, defaulting to
+'archdir' (the current config).
+
+Replaced rubyarch_dir with rubyinstall_dir in Makefile.am for ruby
+bindings since it may or may not be the Ruby 'archdir'.
+
+Added documentation for the new options
+
+Fixes Issue#0000412
+http://bugs.librdf.org/mantis/view.php?id=412
+---
+ INSTALL.html                             |   16 +++++++++++++++
+ configure.ac                             |   31 ++++++++++++++++++-----------
+ ruby/Makefile.am                         |   22 +++++++++-----------
+ ruby/lib/rdf/Makefile.am                 |    4 +-
+ ruby/lib/rdf/redland/Makefile.am         |    4 +-
+ ruby/lib/rdf/redland/schemas/Makefile.am |    4 +-
+ 6 files changed, 51 insertions(+), 30 deletions(-)
+
+diff --git a/INSTALL.html b/INSTALL.html
+index 936d9ae..9fae75e 100644
+--- a/INSTALL.html
++++ b/INSTALL.html
+@@ -194,6 +194,22 @@ described above.  If the option is omittted, the system one is
+ prefered, and if none is available, configure will stop.
+ </p></dd>
+ 
++<dt><code>--with-ruby-install-dir</code>=<em>DIR</em><br /></dt>
++<dd><p>
++Set the directory to  install the Ruby bindings.
++The default value is '' which will use the value of the variable
++configured by <code>--with-ruby-install-dir-variable</code> to get
++the the installation directory.
++Setting this configuration overrides setting the variable name. 
++</p></dd>
++
++<dt><code>--with-ruby-install-dir-variable</code>=<em>NAME</em><br /></dt>
++<dd><p>
++Set the <code>Config::CONFIG['sitearchdir']</code> variable name
++to get the the installation directory.  The default variable is 'archdir'.
++Other useful values are probably 'sitearchdir'.
++This is overridden if <code>--with-ruby-install-dir</code> is set.
++</p></dd>
+ </dl>
+ 
+ 
+diff --git a/configure.ac b/configure.ac
+index 5dd8bc4..4e98a05 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -329,33 +329,40 @@ else
+ fi
+ 
+ 
+-if test "X$RUBY" != X; then
++AC_ARG_WITH(ruby-install-dir-variable, [  --with-ruby-install-dir-variable=NAME Set Ruby install directory config variable (default 'archdir')], ruby_install_dir_variable="$withval", ruby_install_dir_variable="archdir")
++
++dnl Setting this overrides the above
++AC_ARG_WITH(ruby-install-dir, [  --with-ruby-install-dir=NAME Set Ruby install directory (default 'auto')], ruby_install_dir="$withval", ruby_install_dir="auto")
+ 
++if test "X$RUBY" != X; then
+   dnl need to change quotes to allow square brackets
+   changequote(<<, >>)dnl
+-  ruby_prefix=`$RUBY -rrbconfig -e "print Config::CONFIG['archdir']"`
+-  RUBY_LIB=`$RUBY -rrbconfig -e "puts Config::CONFIG['ruby_install_name']"`
++  RUBY_ARCHDIR=`$RUBY -rrbconfig -e "print Config::CONFIG['archdir']"`
++  ruby_install_dir_config=`$RUBY -rrbconfig -e "puts Config::CONFIG['$ruby_install_dir_variable']"`
+   LIBRUBYARG_SHARED=`$RUBY -rrbconfig -e "puts Config::CONFIG['LIBRUBYARG_SHARED']"`
+-  RUBY_DIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['archdir']"`
+-  RUBY_LIBDIR=`$RUBY -rrbconfig -e "puts Config::CONFIG['rubylibdir']"`
+   changequote([, ])dnl
+ 
+-  RUBY_INCLUDES="-I$ruby_prefix"
++  AC_MSG_CHECKING(Ruby installation dir)
++  if test "X$ruby_install_dir" != "Xauto"; then
++    RUBY_INSTALLDIR=$ruby_install_dir
++    AC_MSG_RESULT($RUBY_INSTALLDIR from user)
++  else
++    RUBY_INSTALLDIR=$ruby_install_dir_config
++    AC_MSG_RESULT($RUBY_INSTALLDIR from Config::CONFIG $ruby_install_dir_variable)
++  fi
++
++  RUBY_INCLUDES="-I$RUBY_ARCHDIR"
+ else
+   # This allows 'make clean' in the ruby directory to work when
+   # ruby isn't available
+   RUBY=:
+   RUBY_INCLUDES=
+   LIBRUBYARG_SHARED=
+-  RUBY_LIB=
+-  RUBY_DIR=
+-  RUBY_LIBDIR=
++  RUBY_INSTALLDIR=
+ fi
+ AC_SUBST(RUBY_INCLUDES)
+ AC_SUBST(LIBRUBYARG_SHARED)
+-AC_SUBST(RUBY_LIB)
+-AC_SUBST(RUBY_DIR)
+-AC_SUBST(RUBY_LIBDIR)
++AC_SUBST(RUBY_INSTALLDIR)
+ 
+ 
+ AC_ARG_WITH(php, [  --with-php(=PHP)        Enable the PHP interface], with_php="$withval", with_php="no")
+diff --git a/ruby/Makefile.am b/ruby/Makefile.am
+index 070dcd8..605160b 100644
+--- a/ruby/Makefile.am
++++ b/ruby/Makefile.am
+@@ -36,13 +36,11 @@ SWIG_CRUFT=
+ RDOC_DIR=rdoc
+ RDOC_STAMP=rdoc-stamp
+ 
+-rubylib=@RUBY_LIB@
+ librubyarg_shared=@LIBRUBYARG_SHARED@
+ 
+-rubydir=/usr/lib/$(rubylib)
+-rubyarchdir=@RUBY_DIR@
++rubyinstalldir=@RUBY_INSTALLDIR@
+ 
+-rubyarch_DATA=redland.so
++rubyinstall_DATA=redland.so
+ 
+ EXTRA_DIST=example.rb test.rb \
+ redland-pre.i redland-types.i $(SWIG_OUTPUTS)
+@@ -62,7 +60,7 @@ $(srcdir)/$(RUBY_PACKAGE)_wrap.c: @REDLAND_SWIG@ redland-pre.i redland-types.i
+ 	swig -v -ruby $(SWIG_OPTS) -module $(RUBY_PACKAGE) -o $@ @REDLAND_SWIG@
+ 
+ $(RUBY_PACKAGE)_wrap.o: $(srcdir)/$(RUBY_PACKAGE)_wrap.c
+-	$(CC) $(DEFS)  $(SWIG_OPTS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(STANDARD_CFLAGS) -fPIC -DPIC -I$(rubyarchdir) $(RUBY_PACKAGE)_wrap.c -c -o $@
++	$(CC) $(DEFS)  $(SWIG_OPTS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(STANDARD_CFLAGS) -fPIC -DPIC $(RUBY_PACKAGE)_wrap.c -c -o $@
+ 
+ 
+ $(RUBY_PACKAGE).so: ruby-redland-stamp
+@@ -79,19 +77,19 @@ ruby-redland-stamp: $(RUBY_PACKAGE)_wrap.o
+ 	fi
+ 	touch ruby-redland-stamp
+ 
+-install-rubyarchDATA: $(rubyarch_DATA)
+-	$(mkinstalldirs) $(DESTDIR)$(rubyarchdir)
++install-rubyarchDATA: $(rubyinstall_DATA)
++	$(mkinstalldirs) $(DESTDIR)$(rubyinstalldir)
+ 	if test -r $(RUBY_PACKAGE).bundle; then \
+-	  $(INSTALL_PROGRAM) $(RUBY_PACKAGE).bundle $(DESTDIR)$(rubyarchdir)/$(RUBY_PACKAGE).bundle; \
++	  $(INSTALL_PROGRAM) $(RUBY_PACKAGE).bundle $(DESTDIR)$(rubyinstalldir)/$(RUBY_PACKAGE).bundle; \
+ 	else \
+-	  $(INSTALL_PROGRAM) $(RUBY_PACKAGE).so $(DESTDIR)$(rubyarchdir)/$(RUBY_PACKAGE).so; \
++	  $(INSTALL_PROGRAM) $(RUBY_PACKAGE).so $(DESTDIR)$(rubyinstalldir)/$(RUBY_PACKAGE).so; \
+ 	fi
+ 
+-uninstall-rubyarchDATA: $(rubyarch_DATA)
++uninstall-rubyarchDATA: $(rubyinstall_DATA)
+ 	if test -r $(RUBY_PACKAGE).bundle; then \
+-	  rm -f $(DESTDIR)$(rubyarchdir)/$(RUBY_PACKAGE).bundle; \
++	  rm -f $(DESTDIR)$(rubyinstalldir)/$(RUBY_PACKAGE).bundle; \
+ 	else \
+-	  rm -f $(DESTDIR)$(rubyarchdir)/$(RUBY_PACKAGE).so; \
++	  rm -f $(DESTDIR)$(rubyinstalldir)/$(RUBY_PACKAGE).so; \
+ 	fi
+ 
+ check-local: test-ruby
+diff --git a/ruby/lib/rdf/Makefile.am b/ruby/lib/rdf/Makefile.am
+index 5cbd801..d3184c8 100644
+--- a/ruby/lib/rdf/Makefile.am
++++ b/ruby/lib/rdf/Makefile.am
+@@ -19,9 +19,9 @@
+ # full license terms.
+ #
+ 
+-rubydir=@RUBY_LIBDIR@/rdf
++rubyinstalldir=@RUBY_INSTALLDIR@/rdf
+ 
+-ruby_DATA=redland.rb
++rubyinstall_DATA=redland.rb
+ 
+ EXTRA_DIST=redland.rb
+ 
+diff --git a/ruby/lib/rdf/redland/Makefile.am b/ruby/lib/rdf/redland/Makefile.am
+index 6ebd29e..ce8d167 100644
+--- a/ruby/lib/rdf/redland/Makefile.am
++++ b/ruby/lib/rdf/redland/Makefile.am
+@@ -19,9 +19,9 @@
+ # full license terms.
+ #
+ 
+-rubydir=@RUBY_LIBDIR@/rdf/redland
++rubyinstalldir=@RUBY_INSTALLDIR@/rdf/redland
+ 
+-ruby_DATA=$(EXTRA_DIST)
++rubyinstall_DATA=$(EXTRA_DIST)
+ 
+ EXTRA_DIST=constants.rb convert_owl.rb convertfoaf.rb dc.rb model.rb \
+ node.rb parser.rb query.rb resource.rb serializer.rb statement.rb \
+diff --git a/ruby/lib/rdf/redland/schemas/Makefile.am b/ruby/lib/rdf/redland/schemas/Makefile.am
+index a2bb8cb..d510253 100644
+--- a/ruby/lib/rdf/redland/schemas/Makefile.am
++++ b/ruby/lib/rdf/redland/schemas/Makefile.am
+@@ -19,9 +19,9 @@
+ # full license terms.
+ #
+ 
+-rubydir=@RUBY_LIBDIR@/rdf/redland/schemas
++rubyinstalldir=@RUBY_INSTALLDIR@/rdf/redland/schemas
+ 
+-ruby_DATA=$(EXTRA_DIST)
++rubyinstall_DATA=$(EXTRA_DIST)
+ 
+ EXTRA_DIST=foaf.rb owl.rb rdfs.rb
+ 
+-- 
+1.7.0.2
+
diff --git a/redland-bindings.spec b/redland-bindings.spec
new file mode 100644
index 0000000..11a03a8
--- /dev/null
+++ b/redland-bindings.spec
@@ -0,0 +1,355 @@
+Name:           redland-bindings
+Version:        1.0.11.1
+Release:        6%{?dist}
+Summary:        Redland RDF Application Framework API Bindings
+
+Group:          System Environment/Libraries
+License:        LGPLv2+ or GPLv2+ or ASL 2.0
+URL:            http://librdf.org/
+Source:         http://download.librdf.org/source/%{name}-%{version}.tar.gz
+# http://bugs.librdf.org/mantis/view.php?id=412
+Patch1:         ba9f04f703fc62e4b8a67b79c37824e1b9b256ba.patch
+# http://bugs.librdf.org/mantis/view.php?id=398
+Patch2:         0a36f02c4b354ebd7fc1906c45e3463e328f613d.patch
+Patch3:         113a26b0fb22519ae7610e78570ab8b17b483139.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%define         redland_version 1.0.11
+
+%{expand:%%define rhelrel %(test -e /etc/redhat-release -a ! -e /etc/fedora-release && perl -p -e 's@\D+([0-9\.]+)\D+@$1@' /etc/redhat-release || echo 0)}
+%{expand:%%define rhel %(expr %{rhelrel} \> 0)}
+
+
+# CentOS has MakeMaker in base perl package
+%if %{rhel}
+%else
+BuildRequires:  perl-ExtUtils-MakeMaker
+%endif
+
+BuildRequires:  redland-devel >= %{redland_version}
+BuildRequires:  php-devel
+BuildRequires:  python2-devel
+BuildRequires:  ruby
+BuildRequires:  ruby-devel
+BuildRequires:  swig
+
+# remove these when the build patches can be removed
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
+
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
+}
+
+%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        common
+Summary:        Redland RDF Application Framework API Bindings
+Group:          System Environment/Libraries
+
+%description common
+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.
+
+
+%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
+%define perlver %(eval "`%{__perl} -V:version`"; echo $version)
+
+%package -n     perl-redland
+Summary:        Perl modules for the Redland RDF library
+Group:          Development/Languages
+Requires:       redland >= %{redland_version}
+Requires:       redland-bindings-common
+Requires:       perl(:MODULE_COMPAT_%{perlver})
+
+%description -n perl-redland
+The perl-redland package contains the parts of Redland that provide
+an interface to Perl.
+
+%global php_apiver  %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
+%{!?php_extdir: %{expand: %%global php_extdir %(php-config --extension-dir)}}
+
+
+%package -n     php-redland
+Summary:        PHP modules for the Redland RDF library
+Group:          Development/Languages
+Requires:       redland >= %{redland_version}
+Requires:       redland-bindings-common
+Requires:       php-api = %{php_apiver}
+
+%description -n php-redland
+The php-redland package contains the parts of Redland that provide
+an interface to PHP.
+
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
+%package -n     python-redland
+Summary:        Python modules for the Redland RDF library
+Group:          Development/Languages
+Requires:       redland >= %{redland_version}
+Requires:       redland-bindings-common
+
+%description -n python-redland
+The python-redland package contains the parts of Redland that provide
+an interface to Python.
+
+%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
+
+%package -n     ruby-redland
+Summary:        Ruby modules for the Redland RDF library
+Group:          Development/Languages
+Requires:       redland >= %{redland_version}
+Requires:       redland-bindings-common
+Requires:       ruby(abi) = 1.8
+
+%description -n ruby-redland
+The ruby-redland package contains the parts of Redland that provide
+an interface to Ruby.
+
+%prep
+%setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+%build
+# our patches are from upstream, touching configure.ac and Makefile.am, so
+# regenerate
+rm configure
+aclocal
+autoconf
+automake
+
+# when specifying system redland, the configure check for the version
+# allows newer redland libraries; without it it doesn't.
+# authors says that older bindings work with newer redlands.
+%configure --with-redland=system \
+  --with-python --with-python-get-python-lib-args=1 \
+  --with-perl \
+  --with-ruby --with-ruby-install-dir=%{ruby_sitearch}
+
+# hint on PREFIX taken from 1.0.10.1 ubuntu package
+cd perl
+make MAKE_PL_OPTS="INSTALLDIRS=vendor" %{?_smp_mflags}
+cd ..
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd perl
+make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+# by default CORE.so gets 0555, fix it
+find $RPM_BUILD_ROOT -type f -name '*.so' -exec chmod 755 {} \;
+# if we want this as documentation, it cannot be executable
+chmod -x example.pl
+cd ..
+
+cd php
+# the php bindings need DESTDIR
+make DESTDIR=$RPM_BUILD_ROOT install
+# .so's need to be executable for rpm to strip them
+chmod +x $RPM_BUILD_ROOT%{php_extdir}/redland.so
+cd ..
+
+cd python
+# the python bindings need DESTDIR
+make DESTDIR=$RPM_BUILD_ROOT install
+cd ..
+
+cd ruby
+# the ruby bindings need DESTDIR
+make DESTDIR=$RPM_BUILD_ROOT install
+# .so's need to be executable for rpm to strip them
+chmod +x $RPM_BUILD_ROOT%{ruby_sitearch}/redland.so
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files common
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING COPYING.LIB ChangeLog
+%doc LICENSE.txt NEWS README TODO
+%doc LICENSE.html NEWS.html README.html TODO.html
+%doc LICENSE-2.0.txt NOTICE
+%doc RELEASE.html
+
+%files -n perl-redland
+%defattr(-,root,root,-)
+%doc docs/perl.html
+%attr(664,root,root) %doc perl/example.pl
+%{perl_vendorarch}/auto/
+%{perl_vendorarch}/RDF/
+%{_mandir}/man3/RDF::Redland*.3pm*
+
+%files -n php-redland
+%defattr(-,root,root,-)
+%doc docs/php.html
+%{php_extdir}/redland.so
+
+%files -n python-redland
+%defattr(-,root,root,-)
+%doc docs/python.html
+%doc docs/pydoc/RDF.html python/example.py
+%{python_sitearch}/RDF.py*
+%{python_sitearch}/Redland.so*
+
+%files -n ruby-redland
+%defattr(-,root,root,-)
+%doc docs/ruby.html
+%doc ruby/example.rb
+
+%{ruby_sitearch}/redland.so
+%{ruby_sitearch}/rdf
+
+%changelog
+* Thu Mar 03 2011 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.11.1-6
+- Renamed base package to common, as suggested by Orcan.
+
+* Mon Feb 07 2011 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.11.1-5
+- Clarify license based on https://github.com/dajobe/redland-bindings/commit/e5cf494c69f541ad3d357b69c821a85865dbdbc4
+- More changes from package review
+- Incorporate upstream ruby patch
+- Incorporate upstream python patch
+
+* Sat Jan 22 2011 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.11.1-4
+- Updates after package review
+- Adhere to ruby/python/php macros and guidelines
+- Add comments linking to upstream patches
+- Support parallel make
+- Remove brp-python-bytecompile
+- Remove unneeded BuildRequires
+- Change php module to executable so it gets stripped
+- Change permissions on example for documentation
+
+* Mon Dec 20 2010 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.11.1-3
+- make sure the requires require our redland version or later.
+
+* Wed Dec 01 2010 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.11.1-2
+- build --with-redland=system so we don't need to patch configure
+
+* Sat Nov 27 2010 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.11.1-1
+- update to newest version for F-14, building against redland 1.0.12
+
+* Tue Apr 06 2010 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.7.1-2
+- fix centos detection
+
+* Thu May 22 2008 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.7.1-1
+- update to newest version
+
+* Sat Jun 17 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.4.1-2
+- added db4-devel
+- added patches for python and ruby sitearch, so 64-bit build works
+- use brb-python-bytecompile so we have .pyc and .pyo on < FC5
+- fix up perl installed files
+- added php bindings
+
+* Sun May 14 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.4.1-1
+- new release
+- added openssl-devel, postgresql-devel,sqlite-devel and mysql-devel
+  buildrequires
+
+* Sat Apr 08 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.3.1-1
+- update to latest release
+
+* Sat Apr 08 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.0.2.1-1
+- packaged for Fedora Extras
+
+* Wed Nov 3 2004  Dave Beckett <dave.beckett at bristol.ac.uk>
+- Added redland-ruby include wrapper classes
+- BuildRequires: perl, python-devel, ruby-devel
+
+* Mon Nov 2 2004   Dave Beckett <dave.beckett at bristol.ac.uk>
+- License now LGPL/Apache 2
+- Added LICENSE-2.0.txt and NOTICE
+
+* Mon Jul 19 2004  Dave Beckett <dave.beckett at bristol.ac.uk>
+- split redland to give redland-bindings
+- requires redland 0.9.17
+
+* Mon Jul 12 2004  Dave Beckett <dave.beckett at bristol.ac.uk>
+- put /usr/share/redland/Redland.i in redland-devel
+
+* Wed May  5 2004  Dave Beckett <dave.beckett at bristol.ac.uk>
+- require raptor 1.3.0
+- require rasqal 0.2.0
+
+* Fri Jan 30 2004  Dave Beckett <dave.beckett at bristol.ac.uk>
+- 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 <dave.beckett at bristol.ac.uk>
+- added redland-python package
+- export some more docs
+
+* Mon Dec 15 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- 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 <dave.beckett at bristol.ac.uk>
+- require raptor 1.0.0
+ 
+* Thu Sep 4 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- added rdfproc
+ 
+* Thu Aug 28 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- patches added post 0.9.13 to fix broken perl UNIVERSAL::isa
+ 
+* Thu Aug 21 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- Add redland-db-upgrade.1
+- Removed duplicate perl CORE shared objects
+
+* Sun Aug 17 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- Updates for new perl module names.
+
+* Tue Apr 22 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- Updated for Redhat 9, RPM 4
+
+* Fri Feb 12 2003 Dave Beckett <dave.beckett at bristol.ac.uk>
+- Updated for redland 0.9.12
+
+* Fri Jan 4 2002 Dave Beckett <dave.beckett at bristol.ac.uk>
+- Updated for new Perl module names
+
+* Fri Sep 14 2001 Dave Beckett <dave.beckett at bristol.ac.uk>
+- Added shared libraries
+
diff --git a/sources b/sources
index e69de29..9a281c9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cf8de789254e79f4b42a1b51e2883150  redland-bindings-1.0.11.1.tar.gz


More information about the scm-commits mailing list