source: projects/specs/trunk/r/raptor2/raptor2-vl.spec @ 4620

Revision 4620, 2.4 KB checked in by inagaki, 13 years ago (diff)

NEW: raptor2, yajl
update: akonadi, raptor, rasqal, redland, soprano

Line 
1Name:    raptor2
2Summary: RDF Parser Toolkit for Redland
3Version: 2.0.4
4Release: 3%{?_dist_release}
5
6License: GPLv2+ or LGPLv2+ or ASL 2.0
7Group:   System Environment/Libraries
8URL:     http://librdf.org/raptor/
9
10Source:  http://download.librdf.org/source/raptor2-%{version}.tar.gz
11
12## upstreamable patches
13# make docs not conflict with raptor(1), DOC_MODULE=raptor2
14Patch50: raptor2-2.0.3-raptor2_doc.patch
15
16BuildRequires: curl-devel
17BuildRequires: gtk-doc
18BuildRequires: libxslt-devel
19BuildRequires: yajl-devel
20
21# when /usr/bin/rappor moved here  -- rex
22Conflicts: raptor < 1.4.21-3%{?_dist_release}
23
24%description
25Raptor is the RDF Parser Toolkit for Redland that provides
26a set of standalone RDF parsers, generating triples from RDF/XML
27or N-Triples.
28
29%package devel
30Summary: Development files for %{name}
31Group:   Development/Libraries
32Requires: %{name} = %{version}-%{release}
33
34%description devel
35%{summary}.
36
37
38%prep
39%setup -q
40
41%patch50 -p1 -b .raptor2_doc
42
43# hack to nuke rpaths
44%if "%{_libdir}" != "/usr/lib"
45sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
46%endif
47
48
49%build
50%configure --disable-static --enable-release
51make %{?_smp_mflags}
52
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57make DESTDIR=$RPM_BUILD_ROOT install
58
59## unpackaged files
60rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
61
62
63%check
64make check
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72
73%files
74%doc AUTHORS ChangeLog NEWS README
75%doc COPYING* LICENSE.txt LICENSE-2.0.txt
76%{_libdir}/libraptor2.so.0*
77%{_bindir}/rapper
78%{_mandir}/man1/rapper*
79
80%files devel
81%doc UPGRADING.html
82%{_includedir}/raptor2/
83%{_libdir}/libraptor2.so
84%{_libdir}/pkgconfig/raptor2.pc
85%{_mandir}/man3/libraptor2*
86%dir %{_datadir}/gtk-doc
87%dir %{_datadir}/gtk-doc/html/
88%{_datadir}/gtk-doc/html/raptor2/
89
90
91%changelog
92* Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-3
93- Initial build for Vine Linux
94
95* Sun Jul 31 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-2
96- include rapper here
97
98* Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
99- 2.0.4
100
101* Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-3
102- upstream patch to fix build against newer libcurl
103
104* Tue Jul 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-2
105- -devel: drop Group: tag
106- add lot's of %%doc's
107- License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer)
108
109* Sat Jul 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-1
110- first try
111
112
Note: See TracBrowser for help on using the repository browser.