forked from dajobe/rasqal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrasqal.spec.in
125 lines (93 loc) · 3.01 KB
/
rasqal.spec.in
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
# -*- RPM-SPEC -*-
%define name @PACKAGE@
%define version @VERSION@
%define release SNAP
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Rasqal RDF Query Library
Group: System Environment/Libraries
License: LGPLv2+ or ASL 2.0
Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz
URL: http://librdf.org/rasqal/
BuildRoot: /tmp/%{name}-%{version}
BuildRequires: libxml2-devel
BuildRequires: mpfr-devel
BuildRequires: pcre-devel
BuildRequires: raptor2-devel >= @RAPTOR_MIN_VERSION@
# for the testsuite
BuildRequires: perl(XML::DOM)
Packager: Dave Beckett <[email protected]>
# Not needed since raptor2-devel require above will pull this in.
# Requires: raptor2 >= @RAPTOR_MIN_VERSION@
%description
Rasqal is a library providing full support for querying Resource
Description Framework (RDF) including parsing query syntaxes, constructing
the queries, executing them and returning result formats. It supports
parsing and executing the SPARQL query language.
%package devel
Summary: Development files for the Rasqal RDF query library
Group: Development/Libraries
Requires: rasqal = %{version}
Requires: gtk-doc
Requires: pkgconfig
Requires: raptor2-devel >= @RAPTOR_MIN_VERSION@
%description devel
Libraries, includes etc to develop with the Rasqal RDF query language library.
%prep
%setup -q
%build
%configure --enable-release
%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -d $RPM_BUILD_ROOT%{_mandir}/man3
%makeinstall
# Fedora deletes .la files here
%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
%{_bindir}/roqet
%{_libdir}/librasqal*.so.*
%doc %{_mandir}/man1/roqet.1*
%files devel
%defattr(-, root, root)
%doc docs/README.html
%{_bindir}/rasqal-config
%{_includedir}/rasqal/
%{_libdir}/librasqal*.so
%{_libdir}/pkgconfig/rasqal.pc
%{_mandir}/man1/rasqal-config.1*
%{_mandir}/man3/librasqal.3*
%{_datadir}/gtk-doc/html/rasqal/
# Fedora rasqal-devel package does not include these
%{_libdir}/librasqal*.a
%{_libdir}/librasqal*.la
%changelog
* Tue Feb 1 2011 Dave Beckett <[email protected]>
- Raptor 2 attempt
* Wed Aug 11 2005 Dave Beckett <[email protected]>
- Update Source:
- Use %makeinstall
* Wed Aug 10 2005 Dave Beckett <[email protected]>
- Use %configure.
* Fri Jul 28 2005 Dave Beckett <[email protected]>
- Updated for gtk-doc locations
* Fri Oct 22 2004 <[email protected]>
- License now LGPL/Apache 2
- Added LICENSE-2.0.txt and NOTICE
* Wed May 5 2004 <[email protected]>
- Ship roqet and roqet.1
* Sat May 1 2004 <[email protected]>
- Requires raptor 1.3.0
* Mon Feb 24 2004 <[email protected]>
- Requires raptor
* Mon Aug 11 2003 <[email protected]>
- Initial packaging