16204
|
1 |
#
|
|
2 |
# spec file for package raptor
|
|
3 |
# Copyright (c) 2009 Sun Microsystems, Inc.
|
|
4 |
# This file and all modifications and additions to the pristine
|
|
5 |
# package are under the same license as the package itself.
|
|
6 |
|
16434
|
7 |
%define owner jerrytan
|
16204
|
8 |
|
17842
|
9 |
%define OSR 12291:1.4.18
|
|
10 |
|
16204
|
11 |
Name: raptor
|
|
12 |
Summary: RDF Parser Library - RDF parser utility
|
16380
|
13 |
License: LGPL v2
|
16287
|
14 |
Version: 1.4.19
|
16380
|
15 |
Distribution: Java Desktop System
|
17842
|
16 |
Vendor: librdf.org
|
16204
|
17 |
Group: System/Libraries
|
|
18 |
URL: http://librdf.org/raptor
|
|
19 |
Source: http://download.librdf.org/source/raptor-%{version}.tar.gz
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
16573
|
21 |
|
|
22 |
# date:2009-09-17 owner:jerrytan type:branding
|
|
23 |
Patch1: raptor-01-manpage.diff
|
16204
|
24 |
Docdir: %{_defaultdocdir}/doc
|
|
25 |
|
|
26 |
%description
|
|
27 |
Raptor is a free software C library that provides a set of parsers and
|
|
28 |
serializers that generate Resource Description Framework (RDF) triples
|
|
29 |
by parsing syntaxes or serialize the triples into a syntax.
|
|
30 |
|
|
31 |
%package devel
|
|
32 |
Summary: Development package for libraptor
|
|
33 |
%description devel
|
|
34 |
This package contains the header files and documentation
|
|
35 |
needed to develop applications with libraptor
|
|
36 |
|
|
37 |
%prep
|
|
38 |
%setup
|
16573
|
39 |
%patch1 -p1
|
16204
|
40 |
|
|
41 |
%build
|
|
42 |
|
|
43 |
export CFLAGS="%optflags"
|
|
44 |
export LDFLAGS="%{_ldflags}"
|
|
45 |
|
|
46 |
./configure --prefix=%{_prefix} \
|
|
47 |
--libdir=%{_libdir} \
|
|
48 |
--includedir=%{_includedir} \
|
|
49 |
--mandir=%{_mandir} \
|
|
50 |
--enable-static=no
|
|
51 |
|
|
52 |
make
|
|
53 |
|
|
54 |
%install
|
|
55 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
56 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
57 |
|
|
58 |
%clean
|
|
59 |
rm -rf $RPM_BUILD_ROOT
|
|
60 |
|
|
61 |
%files
|
|
62 |
%defattr(-,root,root)
|
|
63 |
%doc AUTHORS ChangeLog README NEWS
|
|
64 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
65 |
%{_bindir}/*
|
|
66 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
67 |
%{_libdir}/libraptor.*
|
|
68 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
69 |
%dir %attr (0755, root, bin) %{_mandir}
|
|
70 |
%dir %attr (0755, root, bin) %{_mandir}/man1
|
|
71 |
%{_mandir}/man1/*.1
|
|
72 |
%dir %attr (0755, root, bin) %{_mandir}/man3
|
|
73 |
%{_mandir}/man3/*.3
|
|
74 |
|
|
75 |
%files devel
|
|
76 |
%defattr (-, root, bin)
|
|
77 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
78 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
79 |
%{_libdir}/pkgconfig/*
|
|
80 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
81 |
%{_includedir}/*
|
|
82 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
83 |
%{_datadir}/gtk-doc
|
|
84 |
|
|
85 |
%changelog
|
16287
|
86 |
* Sat Aug 15 2009 - [email protected]
|
|
87 |
- Bump to 1.4.19.
|
16204
|
88 |
* Fri Jul 31 2009 <[email protected]>
|
|
89 |
- add raptor into spec-files
|
|
90 |
* Tue Feb 12 2008 <pradhap (at) gmail.com>
|
|
91 |
- Bumped up the version to 1.4.14
|
|
92 |
* Mon Nov 06 2006 - Eric Boutilier
|
|
93 |
- Fixed attributes and created devel sub pkg
|
|
94 |
* Wed Sep 27 2006 - Eric Boutilier
|
|
95 |
- Initial spec
|