]> git.pld-linux.org Git - packages/dee.git/blame - dee.spec
icu rebuild
[packages/dee.git] / dee.spec
CommitLineData
18a826ef
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library build
32c34cff 4
91209ac3 5Summary: Model to synchronize multiple instances over DBus
18a826ef 6Summary(pl.UTF-8): Model synchronizacji wielu instancji poprzez DBus
91209ac3 7Name: dee
dc0207bd 8Version: 1.2.7
0ee9641e 9Release: 14
91209ac3
ER
10# GPLv3-licensed tests and examples are in the tarball, but not installed
11License: LGPL v3
12Group: Libraries
91209ac3 13Source0: http://launchpad.net/dee/1.0/%{version}/+download/%{name}-%{version}.tar.gz
dc0207bd 14# Source0-md5: b92f27f0a99cac24c2128880601bb7d7
1c38d6a4 15Patch0: no-Werror.patch
ee5cfe7b 16Patch1: vapi-skip-properties.patch
3ce140b8 17Patch2: dee-1.2.7-fix-duplicates-vala-0.5X.patch
18a826ef 18URL: https://launchpad.net/dee
dc0207bd 19BuildRequires: glib2-devel >= 1:2.32
18a826ef
JB
20BuildRequires: gobject-introspection-devel >= 0.10.2
21BuildRequires: gtk-doc >= 1.8
22BuildRequires: libicu-devel >= 4.6
23BuildRequires: pkgconfig
23ecf9ad 24BuildRequires: rpm-build >= 4.6
91209ac3 25BuildRequires: rpmbuild(macros) >= 1.219
18a826ef
JB
26# not needed for releases
27#BuildRequires: vala
dc0207bd 28Requires: glib2 >= 1:2.32
18a826ef 29Requires: libicu >= 4.6
91209ac3
ER
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Libdee is a library that uses DBus to provide objects allowing you to
34create Model-View-Controller type programs across DBus. It also
35consists of utility objects which extend DBus allowing for
36peer-to-peer discoverability of known objects without needing a
37central registrar.
38
18a826ef
JB
39%description -l pl.UTF-8
40Libdee to biblioteka wykorzystująca DBus w celu zapewnienia obiektów
41pozwalających na tworzenie programów typu model-widok-kontroler
42poprzez DBus. Składa się z obiektów narzędziowych rozszerzających DBus
43o możliwość widzenia znanych obiektów w komunikacji peer-to-peer bez
44potrzeby centralnego rejestru.
45
18bd4007 46%package devel
18a826ef
JB
47Summary: Development files for libdee
48Summary(pl.UTF-8): Pliki programistyczne biblioteki libdee
91209ac3
ER
49Group: Development/Libraries
50Requires: %{name} = %{version}-%{release}
dc0207bd 51Requires: glib2-devel >= 1:2.32
18a826ef 52Requires: libicu-devel >= 4.6
91209ac3 53
18bd4007 54%description devel
18a826ef
JB
55This package contains the header files for developing applications
56that use libdee library.
57
58%description devel -l pl.UTF-8
59Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia aplikacji
60wykorzystujących bibliotekę libdee.
61
62%package static
63Summary: Static libdee library
64Summary(pl.UTF-8): Biblioteka statyczna libdee
65Group: Development/Libraries
66Requires: %{name}-devel = %{version}-%{release}
67
68%description static
69Static libdee library.
70
71%description static -l pl.UTF-8
72Biblioteka statyczna libdee.
91209ac3
ER
73
74%package apidocs
18a826ef
JB
75Summary: Libdee API documentation
76Summary(pl.UTF-8): Dokumentacja API biblioteki libdee
91209ac3 77Group: Documentation
32c34cff 78BuildArch: noarch
91209ac3
ER
79
80%description apidocs
18a826ef 81API documentation for libdee library.
91209ac3
ER
82
83%description apidocs -l pl.UTF-8
18a826ef 84Dokumentacja API biblioteki libdee.
91209ac3 85
9cef312f 86%package -n python-dee
18a826ef
JB
87Summary: Python bindings for libdee
88Summary(pl.UTF-8): Wiązania Pythona do biblioteki libdee
9cef312f 89Group: Development/Languages/Python
38b71e33 90Requires: python-pygobject3
9cef312f
ER
91
92%description -n python-dee
18a826ef
JB
93Python bindings for libdee.
94
95%description -n python-dee -l pl.UTF-8
96Wiązania Pythona do biblioteki libdee.
97
98%package -n vala-dee
99Summary: Libdee API for Vala language
100Summary(pl.UTF-8): API libdee dla języka Vala
101Group: Development/Libraries
102Requires: %{name}-devel = %{version}-%{release}
103Requires: vala
a7543b34 104BuildArch: noarch
18a826ef
JB
105
106%description -n vala-dee
107Libdee API for Vala language.
108
109%description -n vala-dee -l pl.UTF-8
110API libdee dla języka Vala.
9cef312f 111
91209ac3
ER
112%prep
113%setup -q
1c38d6a4 114%patch0 -p1
ee5cfe7b 115%patch1 -p1
3ce140b8 116%patch2 -p1
91209ac3
ER
117
118%build
1c38d6a4
JR
119%{__aclocal}
120%{__autoconf}
121%{__autoheader}
122%{__automake}
91209ac3 123%configure \
18a826ef
JB
124 --disable-silent-rules \
125 %{?with_static_libs:--enable-static} \
fd961c27 126 --with-html-dir=%{_gtkdocdir}
91209ac3
ER
127
128%{__make}
129
130%install
131rm -rf $RPM_BUILD_ROOT
85f27eab
JR
132install -d $RPM_BUILD_ROOT%{_gtkdocdir}
133
91209ac3
ER
134%{__make} install \
135 DESTDIR=$RPM_BUILD_ROOT
136
137%py_postclean
138
139%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdee*.la
140
141%clean
142rm -rf $RPM_BUILD_ROOT
143
144%post -p /sbin/ldconfig
145%postun -p /sbin/ldconfig
146
147%files
148%defattr(644,root,root,755)
18a826ef 149%doc AUTHORS
91209ac3 150%attr(755,root,root) %{_bindir}/dee-tool
18a826ef
JB
151%attr(755,root,root) %{_libdir}/libdee-1.0.so.*.*.*
152%attr(755,root,root) %ghost %{_libdir}/libdee-1.0.so.4
153%{_libdir}/girepository-1.0/Dee-1.0.typelib
91209ac3 154
18a826ef 155%files devel
91209ac3 156%defattr(644,root,root,755)
18a826ef 157%attr(755,root,root) %{_libdir}/libdee-1.0.so
91209ac3 158%{_includedir}/dee-1.0
18a826ef
JB
159%{_pkgconfigdir}/dee-1.0.pc
160%{_pkgconfigdir}/dee-icu-1.0.pc
161%{_datadir}/gir-1.0/Dee-1.0.gir
162
163%if %{with static_libs}
164%files static
165%defattr(644,root,root,755)
166%{_libdir}/libdee-1.0.a
167%endif
91209ac3
ER
168
169%files apidocs
170%defattr(644,root,root,755)
85f27eab 171%{_gtkdocdir}/dee-1.0
9cef312f
ER
172
173%files -n python-dee
174%defattr(644,root,root,755)
175%{py_sitedir}/gi/overrides/Dee.py[co]
18a826ef
JB
176
177%files -n vala-dee
178%defattr(644,root,root,755)
179%{_datadir}/vala/vapi/dee-1.0.vapi
180%{_datadir}/vala/vapi/dee-1.0.deps
This page took 0.228051 seconds and 4 git commands to generate.