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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 739082 - (hide annotations) (download)
Tue Oct 14 22:14:14 2014 UTC (9 years, 6 months ago) by umeabot
File size: 2308 byte(s)
Second Mageia 5 Mass Rebuild
1 fwang 136908 %define api 1.0
2     %define major 1
3     %define libname %mklibname zeitgeist %api %major
4     %define develname %mklibname -d zeitgeist
5 gil 124384
6 fwang 136908 Name: libzeitgeist
7 ovitters 264595 Version: 0.3.18
8 umeabot 739082 Release: %mkrel 5
9 fwang 136908 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 fwang 218341 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 fwang 136908 BuildRequires: gtk-doc
19 ovitters 264613 # for tests:
20     BuildRequires: dbus-x11
21 fwang 136908 # zeitgeist is just a runtime and the reason to install libzeitgeist
22     Requires: zeitgeist
23 gil 124384
24     %description
25 fwang 136908 This project provides a client library for applications that want to interact
26     with the Zeitgeist daemon. The library is written in C using glib and provides
27     an asynchronous GObject oriented API.
28 gil 124384
29 fwang 136908 %package -n %libname
30     Summary: Shared library for %name
31     Group: System/Libraries
32 gil 124384
33 fwang 136908 %description -n %libname
34     This project provides a client library for applications that want to interact
35     with the Zeitgeist daemon. The library is written in C using glib and provides
36     an asynchronous GObject oriented API.
37 gil 124384
38 fwang 136908 %package -n %develname
39     Summary: Development files for %{name}
40     Group: Development/C
41     Requires: %{libname} = %{version}-%{release}
42 gil 124384
43 fwang 136908 %description -n %develname
44     The %{name}-devel package contains libraries and header files for
45     developing applications that use %{name}.
46 gil 124384
47     %prep
48 fwang 136908 %setup -q
49 gil 124384
50     %build
51 fwang 136908 %configure2_5x --disable-static
52 gil 124384 %make
53 fwang 136908
54 gil 124384 %install
55     %makeinstall_std
56    
57 fwang 136908 install -d -p -m 755 %{buildroot}%{_datadir}/vala/vapi
58     install -D -p -m 644 bindings/zeitgeist-1.0.{vapi,deps} %{buildroot}%{_datadir}/vala/vapi
59     find %{buildroot} -name '*.la' -exec rm -f {} ';'
60 gil 124384
61 fwang 136908 # remove duplicate documentation
62     rm -fr %{buildroot}%{_defaultdocdir}/%{name}
63 gil 124384
64 fwang 136908 %files -n %libname
65     %doc COPYING COPYING.GPL README
66     %{_libdir}/libzeitgeist-%{api}.so.%{major}
67     %{_libdir}/libzeitgeist-%{api}.so.%{major}.*
68 gil 124384
69 fwang 136908 %files -n %develname
70     %doc AUTHORS ChangeLog COPYING COPYING.GPL MAINTAINERS NEWS
71     %doc examples/*.vala examples/*.c
72     %{_datadir}/gtk-doc/html/zeitgeist-1.0/
73     %{_includedir}/zeitgeist-1.0/
74     %{_libdir}/pkgconfig/zeitgeist-1.0.pc
75     %{_libdir}/*.so
76     %{_datadir}/vala/vapi/

  ViewVC Help
Powered by ViewVC 1.1.30