summaryrefslogtreecommitdiffstats
path: root/raptor2.spec.in
blob: 0e1a25dbac37365578a20369068058e89fd713d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# -*- RPM-SPEC -*-
%define name    @PACKAGE@
%define version @VERSION@
%define release @RPM_RELEASE@

Summary:   Raptor RDF Parser Toolkit for Redland
Name:      %{name}
Version:   %{version}
Release:   %{release}
Prefix:    %{_prefix}
License:   LGPLv2+ or ASL 2.0
Group:     Development/Libraries
Source:    http://download.librdf.org/source/%{name}-%{version}.tar.gz
URL:       http://librdf.org/raptor/
BuildRoot: /tmp/%{name}-%{version}
BuildRequires: libxml2 libxml2-devel >= 2.6.8
BuildRequires: curl curl-devel
BuildRequires: libxslt libxslt-devel
Packager:  Dave Beckett <dave@dajobe.org>
Docdir: %{_docdir}

%description

Raptor is the RDF Parser Toolkit for Redland that provides a set of
Resource Description Framework (RDF) parsers and serializers,
generating RDF triples from the following syntaxes: RDF/XML,
N-Triples, TRiG, Turtle, RSS tag soup including all versions of RSS,
Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and XML. The
serializing RDF triples to syntaxes are: RDF/XML, RSS 1.0, Atom 1.0,
N-Triples, XMP, Turtle, GraphViz DOT and JSON.

%package devel
Summary: Libraries, includes etc to develop with Raptor RDF parser library
Group: Development/Libraries
Requires: raptor = %{version}
Requires: libxml2-devel

%description devel
Libraries, includes etc to develop with Raptor RDF parser and
serializer library.

%prep
%setup -q

%build

%configure --enable-release

%{__make} OPTIMIZE="$RPM_OPT_FLAGS"

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -d $RPM_BUILD_ROOT%{_mandir}/man3

%makeinstall

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)

%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
%doc LICENSE-2.0.txt NOTICE
%doc *.html

%doc %{_mandir}/man1/rapper.1*
%doc %{_mandir}/man3/libraptor2.3*

%doc %{_datadir}/gtk-doc/html/raptor2/*

%{_libdir}/libraptor*.so.*
%{prefix}/bin/rapper


%files devel
%defattr(-, root, root)

%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
%doc LICENSE-2.0.txt NOTICE

%{_libdir}/libraptor2*.*
%{_libdir}/pkgconfig/raptor2.pc

%{prefix}/include/raptor2/*


%changelog
* Wed Jan 14 2015  Phil John <philjohn@gmail.com>
- Fix for wrong libdir causing errors when running rpmbuild

* Fri Jan 5 2007  Dave Beckett <dave@dajobe.org>
- rename files for raptor 2.0.0
- no more raptor-config
- do not package libraptor*.la or libraptor*.a files
- includes are in a subdir

* Fri Jan 5 2007  Dave Beckett <dave@dajobe.org>
- Document Turtle and DOT serializers

* Wed Feb 15 2006  Dave Beckett <dave@dajobe.org>
- Add libxslt and libxslt-devel for GRDDL

* Wed Dec 20 2005  Dave Beckett <dave@dajobe.org>
- Update description of parsers and serializers.

* Wed Nov 9 2005  Dave Beckett <dave@dajobe.org>
- Add gtk-doc documentation

* Wed Aug 11 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
- Update Source:
- Use %makeinstall

* Wed Aug 10 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
- Use %configure and %{_make}

* Thu Sep 9 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
- License now LGPL/Apache 2
- Added LICENSE-2.0.txt and NOTICE

* Tue May 11 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
- Added RELEASE.html

* Thu Apr 17 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
- Added pkgconfig raptor.pc, raptor-config
- Requires curl

* Mon Jan 13 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
- rdfdump now rapper

* Fri Dec 20 2002 Dave Beckett <Dave.Beckett@bristol.ac.uk>
- Updated to have two RPMs for raptor and raptor-devel.  Depend on
  libxml2 as XML parser.