]>
Commit | Line | Data |
---|---|---|
91209ac3 ER |
1 | Summary: Model to synchronize multiple instances over DBus |
2 | Name: dee | |
ae2a6ce7 | 3 | Version: 1.0.4 |
183b4a2c | 4 | Release: 3 |
91209ac3 ER |
5 | # GPLv3-licensed tests and examples are in the tarball, but not installed |
6 | License: LGPL v3 | |
7 | Group: Libraries | |
8 | URL: https://launchpad.net/dee | |
9 | Source0: http://launchpad.net/dee/1.0/%{version}/+download/%{name}-%{version}.tar.gz | |
ae2a6ce7 | 10 | # Source0-md5: a243ec6f229550b41eb7e3aa48815409 |
91209ac3 ER |
11 | BuildRequires: dbus-glib-devel |
12 | BuildRequires: gobject-introspection-devel | |
13 | BuildRequires: gtk-doc | |
14 | BuildRequires: rpmbuild(macros) >= 1.219 | |
15 | BuildRequires: vala | |
16 | Requires: python-pygobject | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Libdee is a library that uses DBus to provide objects allowing you to | |
21 | create Model-View-Controller type programs across DBus. It also | |
22 | consists of utility objects which extend DBus allowing for | |
23 | peer-to-peer discoverability of known objects without needing a | |
24 | central registrar. | |
25 | ||
18bd4007 | 26 | %package devel |
91209ac3 ER |
27 | Summary: Development files for %{name} |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
18bd4007 | 31 | %description devel |
91209ac3 ER |
32 | The %{name}-devel package contains libraries and header files for |
33 | developing applications that use %{name}. | |
34 | ||
35 | %package apidocs | |
36 | Summary: %{name} API documentation | |
37 | Summary(pl.UTF-8): Dokumentacja API biblioteki %{name} | |
38 | Group: Documentation | |
39 | ||
40 | %description apidocs | |
41 | API and internal documentation for %{name} library. | |
42 | ||
43 | %description apidocs -l pl.UTF-8 | |
44 | Dokumentacja API biblioteki %{name}. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
50 | %configure \ | |
fd961c27 JR |
51 | --disable-static \ |
52 | --with-html-dir=%{_gtkdocdir} | |
91209ac3 ER |
53 | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
85f27eab JR |
58 | install -d $RPM_BUILD_ROOT%{_gtkdocdir} |
59 | ||
91209ac3 ER |
60 | %{__make} install \ |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
63 | %py_postclean | |
64 | ||
65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdee*.la | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post -p /sbin/ldconfig | |
71 | %postun -p /sbin/ldconfig | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %attr(755,root,root) %{_bindir}/dee-tool | |
76 | %{_libdir}/girepository-1.0/*.typelib | |
77 | %attr(755,root,root) %{_libdir}/libdee-*.so.*.*.* | |
78 | %ghost %{_libdir}/libdee-*.so.4 | |
79 | %{py_sitedir}/gi/overrides/Dee.py[co] | |
80 | ||
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %{_includedir}/dee-1.0 | |
84 | %{_libdir}/libdee*.so | |
85 | %{_pkgconfigdir}/*.pc | |
86 | %{_datadir}/gir-1.0/*.gir | |
87 | %{_datadir}/vala/vapi/*.vapi | |
88 | %{_datadir}/vala/vapi/*.deps | |
89 | ||
90 | %files apidocs | |
91 | %defattr(644,root,root,755) | |
85f27eab | 92 | %{_gtkdocdir}/dee-1.0 |