[4620] | 1 | Name: raptor2 |
---|
[8945] | 2 | Summary: RDF Systax Library |
---|
| 3 | Version: 2.0.14 |
---|
[5162] | 4 | Release: 1%{?_dist_release} |
---|
[4620] | 5 | |
---|
| 6 | License: GPLv2+ or LGPLv2+ or ASL 2.0 |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://librdf.org/raptor/ |
---|
| 9 | |
---|
| 10 | Source: http://download.librdf.org/source/raptor2-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | ## upstreamable patches |
---|
| 13 | |
---|
[5162] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[4620] | 15 | BuildRequires: curl-devel |
---|
| 16 | BuildRequires: gtk-doc |
---|
[5162] | 17 | BuildRequires: libxml2-devel |
---|
[4620] | 18 | BuildRequires: libxslt-devel |
---|
[5162] | 19 | BuildRequires: yajl-devel >= 2.0.0 |
---|
[4620] | 20 | |
---|
| 21 | # when /usr/bin/rappor moved here -- rex |
---|
| 22 | Conflicts: raptor < 1.4.21-3%{?_dist_release} |
---|
| 23 | |
---|
| 24 | %description |
---|
[8945] | 25 | Raptor is a free software / Open Source C library that provides |
---|
| 26 | a set of parsers and serializers that generate Resource |
---|
| 27 | Description Framework (RDF) triples by parsing syntaxes or |
---|
| 28 | serialize the triples into a syntax. The supported parsing |
---|
| 29 | syntaxes are RDF/XML, N-Quads, N-Triples 1.0 and 1.1, TRiG, |
---|
| 30 | Turtle 2008 and 2013, RDFa 1.0 and 1.1, RSS tag soup including |
---|
| 31 | all versions of RSS, Atom 1.0 and 0.3, GRDDL and microformats for |
---|
| 32 | HTML, XHTML and XML. The serializing syntaxes are RDF/XML |
---|
| 33 | (regular, abbreviated, XMP), Turtle 2013, N-Quads, N-Triples 1.1, |
---|
| 34 | Atom 1.0, RSS 1.0, GraphViz DOT, HTML and JSON. |
---|
[4620] | 35 | |
---|
[8945] | 36 | |
---|
[4620] | 37 | %package devel |
---|
| 38 | Summary: Development files for %{name} |
---|
[5162] | 39 | Summary(ja): %{name} の開発用ファイル |
---|
[4620] | 40 | Group: Development/Libraries |
---|
| 41 | Requires: %{name} = %{version}-%{release} |
---|
| 42 | |
---|
| 43 | %description devel |
---|
| 44 | %{summary}. |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q |
---|
| 49 | |
---|
| 50 | # hack to nuke rpaths |
---|
| 51 | %if "%{_libdir}" != "/usr/lib" |
---|
| 52 | sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure |
---|
| 53 | %endif |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %build |
---|
[8945] | 57 | %configure --disable-static --enable-release --enable-silent-rules |
---|
[4620] | 58 | make %{?_smp_mflags} |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %install |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 65 | |
---|
| 66 | ## unpackaged files |
---|
| 67 | rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %check |
---|
| 71 | make check |
---|
| 72 | |
---|
| 73 | %clean |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | |
---|
| 76 | %post -p /sbin/ldconfig |
---|
[5162] | 77 | |
---|
[4620] | 78 | %postun -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %files |
---|
| 82 | %doc AUTHORS ChangeLog NEWS README |
---|
| 83 | %doc COPYING* LICENSE.txt LICENSE-2.0.txt |
---|
| 84 | %{_libdir}/libraptor2.so.0* |
---|
| 85 | %{_bindir}/rapper |
---|
| 86 | %{_mandir}/man1/rapper* |
---|
| 87 | |
---|
| 88 | %files devel |
---|
| 89 | %doc UPGRADING.html |
---|
| 90 | %{_includedir}/raptor2/ |
---|
| 91 | %{_libdir}/libraptor2.so |
---|
| 92 | %{_libdir}/pkgconfig/raptor2.pc |
---|
| 93 | %{_mandir}/man3/libraptor2* |
---|
| 94 | %dir %{_datadir}/gtk-doc |
---|
| 95 | %dir %{_datadir}/gtk-doc/html/ |
---|
| 96 | %{_datadir}/gtk-doc/html/raptor2/ |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %changelog |
---|
[8945] | 100 | * Thu Sep 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.14-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[8032] | 103 | * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.11-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[7801] | 106 | * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.10-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[7712] | 109 | * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.9-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[6655] | 112 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.8-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[5162] | 115 | * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.5-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - added BR: libxml2-devel |
---|
| 118 | |
---|
[4620] | 119 | * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-3 |
---|
| 120 | - Initial build for Vine Linux |
---|
| 121 | |
---|
| 122 | * Sun Jul 31 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-2 |
---|
| 123 | - include rapper here |
---|
| 124 | |
---|
| 125 | * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1 |
---|
| 126 | - 2.0.4 |
---|
| 127 | |
---|
| 128 | * Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-3 |
---|
| 129 | - upstream patch to fix build against newer libcurl |
---|
| 130 | |
---|
| 131 | * Tue Jul 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-2 |
---|
| 132 | - -devel: drop Group: tag |
---|
| 133 | - add lot's of %%doc's |
---|
| 134 | - License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer) |
---|
| 135 | |
---|
| 136 | * Sat Jul 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-1 |
---|
| 137 | - first try |
---|
| 138 | |
---|
| 139 | |
---|