3 %bcond_without apidocs # Doxygen documentation
5 Summary: Maemo MCE (Mode Control Entity) definitions headers
6 Summary(pl.UTF-8): Pliki nagłówkowe definicji MCE (Mode Control Entity) dla Maemo
11 Group: Development/Libraries
12 #Source0Download: https://github.com/maemo-leste/mce-dev/releases
13 Source0: https://github.com/maemo-leste/mce-dev/archive/%{version}/mce-dev_%{version}.tar.gz
14 # Source0-md5: ac09bf4648adf038e3ebf05380434146
15 URL: https://maemo.org/
16 %{?with_apidocs:BuildRequires: doxygen}
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Maemo MCE (Mode Control Entity) definitions headers.
23 %description -l pl.UTF-8
24 Pliki nagłówkowe definicji MCE (Mode Control Entity) dla Maemo.
26 %package -n mce-apidocs
27 Summary: Documentation for Maemo MCE (Mode Control Entity) definitions headers
28 Summary(pl.UTF-8): Dokumentacja plików nagłówkowych definicji Maemo MCE (Mode Control Entity)
31 %description -n mce-apidocs
32 Documentation for Maemo MCE (Mode Control Entity) definitions headers.
34 %description -n mce-apidocs -l pl.UTF-8
35 Dokumentacja plików nagłówkowych definicji Maemo MCE (Mode Control
39 %setup -q -n mce-dev-%{version}
42 # make mce.pc relies on dpkg utilities, do it manually
43 %{__sed} -e 's/@VERSION@/%{version}/' <mce.pc.in >mce.pc
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT \
54 PKGCONFIG_DIR=$RPM_BUILD_ROOT%{_npkgconfigdir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{_npkgconfigdir}/mce.pc
66 %defattr(644,root,root,755)
67 %doc doc/html/*.{css,html,js,png}