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

Revision 7712, 2.8 KB checked in by Takemikaduchi, 11 years ago (diff)

new upstream release

Line 
1Name:    raptor2
2Summary: RDF Parser Toolkit for Redland
3Version: 2.0.9
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}
36Requires: curl-devel >= 7.12.0
37Requires: libxml2-devel >= 2.6.8
38
39%description devel
40%{summary}.
41
42
43%prep
44%setup -q
45
46#patch50 -p1 -b .raptor2_doc
47
48# hack to nuke rpaths
49%if "%{_libdir}" != "/usr/lib"
50sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
51%endif
52
53
54%build
55%configure --disable-static --enable-release
56make %{?_smp_mflags}
57
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62make DESTDIR=$RPM_BUILD_ROOT install
63
64## unpackaged files
65rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
66
67
68%check
69make check
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post -p /sbin/ldconfig
75
76%postun -p /sbin/ldconfig
77
78
79%files
80%doc AUTHORS ChangeLog NEWS README
81%doc COPYING* LICENSE.txt LICENSE-2.0.txt
82%{_libdir}/libraptor2.so.0*
83%{_bindir}/rapper
84%{_mandir}/man1/rapper*
85
86%files devel
87%doc UPGRADING.html
88%{_includedir}/raptor2/
89%{_libdir}/libraptor2.so
90%{_libdir}/pkgconfig/raptor2.pc
91%{_mandir}/man3/libraptor2*
92%dir %{_datadir}/gtk-doc
93%dir %{_datadir}/gtk-doc/html/
94%{_datadir}/gtk-doc/html/raptor2/
95
96
97%changelog
98* Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.9-1
99- new upstream release
100
101* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.8-1
102- new upstream release
103
104* Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.5-1
105- new upstream release
106- added BR: libxml2-devel
107
108* Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.4-3
109- Initial build for Vine Linux
110
111* Sun Jul 31 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-2
112- include rapper here
113
114* Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.4-1
115- 2.0.4
116
117* Fri Jul 29 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-3
118- upstream patch to fix build against newer libcurl
119
120* Tue Jul 26 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-2
121- -devel: drop Group: tag
122- add lot's of %%doc's
123- License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer)
124
125* Sat Jul 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.0.3-1
126- first try
127
128
Note: See TracBrowser for help on using the repository browser.