/[packages]/cauldron/libzeitgeist/current/SPECS/libzeitgeist.spec
ViewVC logotype

Contents of /cauldron/libzeitgeist/current/SPECS/libzeitgeist.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 218341 - (show annotations) (download)
Mon Mar 5 00:43:08 2012 UTC (12 years, 1 month ago) by fwang
File size: 2338 byte(s)
new version 0.3.14
1 %define api 1.0
2 %define major 1
3 %define libname %mklibname zeitgeist %api %major
4 %define develname %mklibname -d zeitgeist
5
6 Name: libzeitgeist
7 Version: 0.3.14
8 Release: %mkrel 1
9 Summary: Client library for applications that want to interact with the Zeitgeist daemon
10 Group: System/Libraries
11 License: LGPLv3 and GPLv3
12 URL: https://launchpad.net/libzeitgeist
13 Source0: http://launchpad.net/%{name}/0.3/%{version}/+download/%{name}-%{version}.tar.gz
14 BuildRequires: pkgconfig(gio-2.0) >= 2.26
15 BuildRequires: pkgconfig(gio-unix-2.0)
16 BuildRequires: pkgconfig(glib-2.0) >= 2.26
17 BuildRequires: pkgconfig(gobject-2.0) >= 2.26
18 BuildRequires: gtk-doc
19 # zeitgeist is just a runtime and the reason to install libzeitgeist
20 Requires: zeitgeist
21
22 %description
23 This project provides a client library for applications that want to interact
24 with the Zeitgeist daemon. The library is written in C using glib and provides
25 an asynchronous GObject oriented API.
26
27 %package -n %libname
28 Summary: Shared library for %name
29 Group: System/Libraries
30
31 %description -n %libname
32 This project provides a client library for applications that want to interact
33 with the Zeitgeist daemon. The library is written in C using glib and provides
34 an asynchronous GObject oriented API.
35
36 %package -n %develname
37 Summary: Development files for %{name}
38 Group: Development/C
39 Requires: %{libname} = %{version}-%{release}
40
41 %description -n %develname
42 The %{name}-devel package contains libraries and header files for
43 developing applications that use %{name}.
44
45 %prep
46 %setup -q
47
48 %build
49 %configure2_5x --disable-static
50 %make
51
52 %check
53 make check
54
55 %install
56 %makeinstall_std
57
58 install -d -p -m 755 %{buildroot}%{_datadir}/vala/vapi
59 install -D -p -m 644 bindings/zeitgeist-1.0.{vapi,deps} %{buildroot}%{_datadir}/vala/vapi
60 find %{buildroot} -name '*.la' -exec rm -f {} ';'
61
62 # remove duplicate documentation
63 rm -fr %{buildroot}%{_defaultdocdir}/%{name}
64
65 %files -n %libname
66 %defattr(-,root,root,-)
67 %doc COPYING COPYING.GPL README
68 %{_libdir}/libzeitgeist-%{api}.so.%{major}
69 %{_libdir}/libzeitgeist-%{api}.so.%{major}.*
70
71 %files -n %develname
72 %defattr(-,root,root,-)
73 %doc AUTHORS ChangeLog COPYING COPYING.GPL MAINTAINERS NEWS
74 %doc examples/*.vala examples/*.c
75 %{_datadir}/gtk-doc/html/zeitgeist-1.0/
76 %{_includedir}/zeitgeist-1.0/
77 %{_libdir}/pkgconfig/zeitgeist-1.0.pc
78 %{_libdir}/*.so
79 %{_datadir}/vala/vapi/

  ViewVC Help
Powered by ViewVC 1.1.30