]> git.pld-linux.org Git - packages/dee.git/blame - dee.spec
icu 67 rebuild; fix vapi (from debian); rel 9
[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
ee5cfe7b 9Release: 9
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
18a826ef 17URL: https://launchpad.net/dee
dc0207bd 18BuildRequires: glib2-devel >= 1:2.32
18a826ef
JB
19BuildRequires: gobject-introspection-devel >= 0.10.2
20BuildRequires: gtk-doc >= 1.8
21BuildRequires: libicu-devel >= 4.6
22BuildRequires: pkgconfig
91209ac3 23BuildRequires: rpmbuild(macros) >= 1.219
18a826ef
JB
24# not needed for releases
25#BuildRequires: vala
dc0207bd 26Requires: glib2 >= 1:2.32
18a826ef 27Requires: libicu >= 4.6
91209ac3
ER
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Libdee is a library that uses DBus to provide objects allowing you to
32create Model-View-Controller type programs across DBus. It also
33consists of utility objects which extend DBus allowing for
34peer-to-peer discoverability of known objects without needing a
35central registrar.
36
18a826ef
JB
37%description -l pl.UTF-8
38Libdee to biblioteka wykorzystująca DBus w celu zapewnienia obiektów
39pozwalających na tworzenie programów typu model-widok-kontroler
40poprzez DBus. Składa się z obiektów narzędziowych rozszerzających DBus
41o możliwość widzenia znanych obiektów w komunikacji peer-to-peer bez
42potrzeby centralnego rejestru.
43
18bd4007 44%package devel
18a826ef
JB
45Summary: Development files for libdee
46Summary(pl.UTF-8): Pliki programistyczne biblioteki libdee
91209ac3
ER
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
dc0207bd 49Requires: glib2-devel >= 1:2.32
18a826ef 50Requires: libicu-devel >= 4.6
91209ac3 51
18bd4007 52%description devel
18a826ef
JB
53This package contains the header files for developing applications
54that use libdee library.
55
56%description devel -l pl.UTF-8
57Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia aplikacji
58wykorzystujących bibliotekę libdee.
59
60%package static
61Summary: Static libdee library
62Summary(pl.UTF-8): Biblioteka statyczna libdee
63Group: Development/Libraries
64Requires: %{name}-devel = %{version}-%{release}
65
66%description static
67Static libdee library.
68
69%description static -l pl.UTF-8
70Biblioteka statyczna libdee.
91209ac3
ER
71
72%package apidocs
18a826ef
JB
73Summary: Libdee API documentation
74Summary(pl.UTF-8): Dokumentacja API biblioteki libdee
91209ac3 75Group: Documentation
32c34cff
ER
76%if "%{_rpmversion}" >= "5"
77BuildArch: noarch
78%endif
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
ER
104%if "%{_rpmversion}" >= "5"
105BuildArch: noarch
106%endif
18a826ef
JB
107
108%description -n vala-dee
109Libdee API for Vala language.
110
111%description -n vala-dee -l pl.UTF-8
112API libdee dla języka Vala.
9cef312f 113
91209ac3
ER
114%prep
115%setup -q
1c38d6a4 116%patch0 -p1
ee5cfe7b 117%patch1 -p1
91209ac3
ER
118
119%build
1c38d6a4
JR
120%{__aclocal}
121%{__autoconf}
122%{__autoheader}
123%{__automake}
91209ac3 124%configure \
18a826ef
JB
125 --disable-silent-rules \
126 %{?with_static_libs:--enable-static} \
fd961c27 127 --with-html-dir=%{_gtkdocdir}
91209ac3
ER
128
129%{__make}
130
131%install
132rm -rf $RPM_BUILD_ROOT
85f27eab
JR
133install -d $RPM_BUILD_ROOT%{_gtkdocdir}
134
91209ac3
ER
135%{__make} install \
136 DESTDIR=$RPM_BUILD_ROOT
137
138%py_postclean
139
140%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdee*.la
141
142%clean
143rm -rf $RPM_BUILD_ROOT
144
145%post -p /sbin/ldconfig
146%postun -p /sbin/ldconfig
147
148%files
149%defattr(644,root,root,755)
18a826ef 150%doc AUTHORS
91209ac3 151%attr(755,root,root) %{_bindir}/dee-tool
18a826ef
JB
152%attr(755,root,root) %{_libdir}/libdee-1.0.so.*.*.*
153%attr(755,root,root) %ghost %{_libdir}/libdee-1.0.so.4
154%{_libdir}/girepository-1.0/Dee-1.0.typelib
91209ac3 155
18a826ef 156%files devel
91209ac3 157%defattr(644,root,root,755)
18a826ef 158%attr(755,root,root) %{_libdir}/libdee-1.0.so
91209ac3 159%{_includedir}/dee-1.0
18a826ef
JB
160%{_pkgconfigdir}/dee-1.0.pc
161%{_pkgconfigdir}/dee-icu-1.0.pc
162%{_datadir}/gir-1.0/Dee-1.0.gir
163
164%if %{with static_libs}
165%files static
166%defattr(644,root,root,755)
167%{_libdir}/libdee-1.0.a
168%endif
91209ac3
ER
169
170%files apidocs
171%defattr(644,root,root,755)
85f27eab 172%{_gtkdocdir}/dee-1.0
9cef312f
ER
173
174%files -n python-dee
175%defattr(644,root,root,755)
176%{py_sitedir}/gi/overrides/Dee.py[co]
18a826ef
JB
177
178%files -n vala-dee
179%defattr(644,root,root,755)
180%{_datadir}/vala/vapi/dee-1.0.vapi
181%{_datadir}/vala/vapi/dee-1.0.deps
This page took 0.163733 seconds and 4 git commands to generate.