File: rasqal.spec.in

package info (click to toggle)
rasqal 0.9.20-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,088 kB
  • ctags: 3,952
  • sloc: ansic: 25,718; sh: 10,694; yacc: 4,318; lex: 2,905; makefile: 2,072; perl: 1,386; xml: 90
file content (122 lines) | stat: -rw-r--r-- 3,016 bytes parent folder | download
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
# -*- 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: raptor-devel >= @RAPTOR_MIN_VERSION@
# for the testsuite
BuildRequires:  perl(XML::DOM)

Packager:  Dave Beckett <dave@dajobe.org>

# Not needed since raptor-devel require above will pull this in.
# Requires: raptor >= @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 handles the
SPARQL and RDQL query languages.

%package devel
Summary: Development files for the Rasqal RDF query library
Group: Development/Libraries
Requires: rasqal = %{version}
Requires: gtk-doc
Requires: pkgconfig
Requires: raptor-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 --with-raptor=system

%{__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
* 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.

* Fri Jul 28 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
- Updated for gtk-doc locations

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

* Wed May 5 2004 <Dave.Beckett@bristol.ac.uk>
- Ship roqet and roqet.1

* Sat May 1 2004 <Dave.Beckett@bristol.ac.uk>
- Requires raptor 1.3.0

* Mon Feb 24 2004 <Dave.Beckett@bristol.ac.uk>
- Requires raptor

* Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk>
- Initial packaging