glibrdf.spec (1347B) - raw
1
2 Name: glibrdf
3 Version: 0.0.0
4 Release: 1%{?dist}
5 Summary: GLib wrapper for Redland RDF library
6
7 Group: System Environment/Libraries
8 License: GPLv3+
9 URL: https://github.com/danc86/glibrdf/
10 Source0: %{name}-%{version}.tar.gz
11
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(gobject-2.0)
14 BuildRequires: pkgconfig(redland)
15 BuildRequires: pkgconfig(raptor2)
16
17 %package devel
18 Group: Development/Libraries
19 Summary: Development files for %{name}
20 Requires: %{name}%{?_isa} = %{version}-%{release}
21
22 %description
23 A small wrapper around the Redland RDF library (librdf) to make it work nicely
24 with GLib and Vala and the rest of the GNOME ecosystem.
25
26 %description devel
27 This package contains files needed for developing software that uses
28 %{name}.
29
30 %prep
31 %setup -q
32
33 %build
34 make PREFIX="%{_prefix}" LIBDIR="%{_libdir}" %{?_smp_mflags}
35
36 %install
37 make PREFIX="%{_prefix}" LIBDIR="%{_libdir}" DESTDIR="%{buildroot}" install
38
39 %files
40 %doc README.markdown COPYING
41 %{_libdir}/libglibrdf.so.0*
42
43 %files devel
44 %{_includedir}/%{name}.h
45 %{_libdir}/libglibrdf.so
46 %{_libdir}/pkgconfig/%{name}.pc
47 %{_datadir}/vala/vapi/%{name}.vapi
48
49 %post -p /sbin/ldconfig
50
51 %postun -p /sbin/ldconfig
52
53 %changelog
54 * Sun Jul 22 2012 Dan Callaghan <djc@djc.id.au> 0.0.0-1
55 - development version