]> git.pld-linux.org Git - packages/dee.git/blob - dee.spec
up to 1.0.14
[packages/dee.git] / dee.spec
1 Summary:        Model to synchronize multiple instances over DBus
2 Name:           dee
3 Version:        1.0.14
4 Release:        1
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:  473b4181e26538af0fb753255da7945c
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 install -d $RPM_BUILD_ROOT%{_gtkdocdir}
59
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)
92 %{_gtkdocdir}/dee-1.0
This page took 0.076098 seconds and 4 git commands to generate.