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

Revision 6655, 2.7 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release or rebuild with exiv2-0.23

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