]> git.pld-linux.org Git - packages/eggdbus.git/blob - eggdbus.spec
- force -j1
[packages/eggdbus.git] / eggdbus.spec
1
2 # Conditional build:
3 %bcond_without  apidocs                 # build without apidocs
4
5 Summary:        Experimental D-Bus bindings for GObject
6 Summary(pl.UTF-8):      Eksperymentalne wiązania D-Busa do GObject
7 Name:           eggdbus
8 Version:        0.5
9 Release:        2
10 License:        LGPL v2
11 Group:          Libraries
12 Source0:        http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
13 # Source0-md5:  44f1f6387c49e8198d7aa755aeee46c6
14 URL:            http://cgit.freedesktop.org/~david/eggdbus
15 BuildRequires:  autoconf >= 2.60
16 BuildRequires:  automake
17 BuildRequires:  dbus-devel >= 1.0.0
18 BuildRequires:  dbus-glib-devel >= 0.73
19 BuildRequires:  glib2-devel >= 1:2.20.0
20 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.3}
21 BuildRequires:  libtool
22 BuildRequires:  libxslt-progs
23 BuildRequires:  pkgconfig
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Experimental D-Bus bindings for GObject.
28
29 %description -l pl.UTF-8
30 Eksperymentalne wiązania D-Busa do GObject.
31
32 %package devel
33 Summary:        Development files for EggDBus
34 Summary(pl.UTF-8):      Pliki programistyczne dla EggDBus
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       glib2-devel >= 1:2.20.0
38
39 %description devel
40 Development files for EggDBus.
41
42 %description devel -l pl.UTF-8
43 Pliki programistyczne dla EggDBus.
44
45 %package static
46 Summary:        Static EggDBus library
47 Summary(pl.UTF-8):      Statyczna biblioteka EggDBus
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static EggDBus library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka EggDBus.
56
57 %package apidocs
58 Summary:        EggDBus API documentation
59 Summary(pl.UTF-8):      Dokumentacja API EggDBus
60 Group:          Documentation
61 Requires:       gtk-doc-common
62
63 %description apidocs
64 EggDBus API documentation.
65
66 %description apidocs -l pl.UTF-8
67 Dokumentacja API EggDBus.
68
69 %prep
70 %setup -q
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         --%{!?with_apidocs:dis}%{?with_apidocs:en}able-gtk-doc \
80         --with-html-dir=%{_gtkdocdir}
81
82 %{__make} -j1
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/tests
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc AUTHORS
101 %attr(755,root,root) %{_libdir}/libeggdbus-1.so.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libeggdbus-1.so.0
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/*
107 %attr(755,root,root) %{_libdir}/libeggdbus-1.so
108 %{_libdir}/libeggdbus-1.la
109 %{_pkgconfigdir}/eggdbus-1.pc
110 %{_includedir}/eggdbus-1
111 %{_mandir}/man1/*.1*
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/libeggdbus-1.a
116
117 %if %{with apidocs}
118 %files apidocs
119 %defattr(644,root,root,755)
120 %{_gtkdocdir}/eggdbus
121 %endif
This page took 0.32016 seconds and 4 git commands to generate.