packages: libraptor2/libraptor2.spec (NEW) - new, first alpha release of ra...

qboosh qboosh at pld-linux.org
Sun Nov 21 12:16:49 CET 2010


Author: qboosh                       Date: Sun Nov 21 11:16:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, first alpha release of raptor2 library

---- Files affected:
packages/libraptor2:
   libraptor2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libraptor2/libraptor2.spec
diff -u /dev/null packages/libraptor2/libraptor2.spec:1.1
--- /dev/null	Sun Nov 21 12:16:49 2010
+++ packages/libraptor2/libraptor2.spec	Sun Nov 21 12:16:44 2010
@@ -0,0 +1,140 @@
+# $Revision$, $Date$
+Summary:	Raptor RDF Parser Toolkit
+Summary(pl.UTF-8):	Raptor - zestaw narzędzi do analizy RDF
+Name:		libraptor2
+# the real name is raptor2, but it follows libraptor (named as such because raptor was already occupied)
+%define	rname	raptor2
+Version:	1.9.0
+Release:	1
+License:	LGPL v2.1+ or GPL v2+ or Apache v2.0+
+Group:		Libraries
+Source0:	http://download.librdf.org/source/%{rname}-%{version}.tar.gz
+# Source0-md5:	524855196e4d9b7eac9dd0194fa6d320
+URL:		http://librdf.org/raptor/
+BuildRequires:	autoconf >= 2.62
+BuildRequires:	automake >= 1:1.11
+# WWW library can be one of: curl(default),xml,libfetch,libwww,none
+BuildRequires:	curl-devel
+BuildRequires:	gtk-doc-automake >= 1.3
+BuildRequires:	yajl-devel
+BuildRequires:	libtool
+# XML library can be libxml or expat; grddl parser requires libxml2+libxslt anyway
+BuildRequires:	libxml2-devel >= 2.6.8
+BuildRequires:	libxslt-devel >= 1.0.18
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.98
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Raptor is the RDF Parser Toolkit for Redland written in C consisting
+of two parsers for the RDF/XML and N-Triples syntaxes for RDF. Raptor
+is designed to work efficiently when used with Redland but is entirely
+separate.
+
+%description -l pl.UTF-8
+Raptor to zestaw narzędzi do analizy RDF dla Redland napisany w C,
+składający się z dwóch analizatorów dla składni RDF/XML i N-Triplets
+dla RDF. Raptor został zaprojektowany, by pracować wydajnie, jeśli
+jest używany z Redland, ale jest całkowicie oddzielny.
+
+%package devel
+Summary:	libraptor library header files
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libraptor
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	curl-devel
+Requires:	yajl-devel
+Requires:	libxml2-devel >= 2.6.8
+Requires:	libxslt-devel >= 1.0.18
+
+%description devel
+libraptor library header files.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libraptor.
+
+%package static
+Summary:	Static libraptor library
+Summary(pl.UTF-8):	Statyczna biblioteka libraptor
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libraptor library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libraptor.
+
+%package rapper
+Summary:	Raptor RDF parser test program
+Summary(pl.UTF-8):	Testowy program parsera Raptor RDF
+Group:		Applications
+Requires:	%{name} = %{version}-%{release}
+Obsoletes:	redland-rapper
+
+%description rapper
+Raptor RDF parser test program.
+
+%description rapper -l pl.UTF-8
+Testowy program parsera Raptor RDF.
+
+%prep
+%setup -q -n %{rname}-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+# avoid using parsedate from libinn, use curl_getdate instead
+%configure \
+	ac_cv_header_libinn_h=no \
+	--enable-release \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog LICENSE.txt NEWS NOTICE README RELEASE.html UPGRADING.html
+%attr(755,root,root) %{_libdir}/libraptor2.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libraptor2.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libraptor2.so
+%{_libdir}/libraptor2.la
+%{_includedir}/raptor2
+%{_pkgconfigdir}/raptor2.pc
+%{_mandir}/man3/libraptor2.3*
+%{_gtkdocdir}/raptor
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libraptor2.a
+
+%files rapper
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/rapper
+%{_mandir}/man1/rapper.1*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/11/21 11:16:44  qboosh
+- new, first alpha release of raptor2 library
================================================================


More information about the pld-cvs-commit mailing list