]> git.pld-linux.org Git - packages/dee.git/blob - dee.spec
- rel 2
[packages/dee.git] / dee.spec
1 Summary:        Model to synchronize multiple instances over DBus
2 Name:           dee
3 Version:        1.0.4
4 Release:        2
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
10 # Source0-md5:  a243ec6f229550b41eb7e3aa48815409
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
26 %package devel
27 Summary:        Development files for %{name}
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
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 \
51         --disable-static \
52         --with-html-dir=%{_gtkdocdir}
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %py_postclean
62
63 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdee*.la
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/dee-tool
74 %{_libdir}/girepository-1.0/*.typelib
75 %attr(755,root,root) %{_libdir}/libdee-*.so.*.*.*
76 %ghost %{_libdir}/libdee-*.so.4
77 %{py_sitedir}/gi/overrides/Dee.py[co]
78
79 %files  devel
80 %defattr(644,root,root,755)
81 %{_includedir}/dee-1.0
82 %{_libdir}/libdee*.so
83 %{_pkgconfigdir}/*.pc
84 %{_datadir}/gir-1.0/*.gir
85 %{_datadir}/vala/vapi/*.vapi
86 %{_datadir}/vala/vapi/*.deps
87
88 %files apidocs
89 %defattr(644,root,root,755)
90 %{_gtkdocdir}/dee-%{version}
This page took 0.128712 seconds and 4 git commands to generate.