Files
mce-dev/rpm/mce-headers.spec
2017-10-06 06:38:26 +03:00

48 lines
1.1 KiB
RPMSpec

Name: mce-headers
Summary: Development files for mce
Version: 1.23.0
Release: 1
Group: Development/Libraries
License: LGPLv2
URL: https://github.com/nemomobile/mce-dev
Source0: %{name}-%{version}.tar.bz2
BuildRequires: doxygen
%description
This package contains headers defining the D-Bus method calls
provided by the Mode Control Entity, and the signals emitted by it.
%package -n mce-doc
Summary: Documentation files for mce D-Bus API
Group: Documentation
BuildArch: noarch
%description -n mce-doc
This package contains documentation describing the D-Bus method calls
provided by the Mode Control Entity, and the signals emitted by it.
%prep
%setup -q -n %{name}-%{version}
%build
./verify_version
make %{?jobs:-j%jobs}
make doc
%install
rm -rf %{buildroot}
%make_install
install -d %{buildroot}/%{_docdir}/mce-doc/html/
install -m 644 doc/html/* %{buildroot}/%{_docdir}/mce-doc/html/
%files
%defattr(-,root,root,-)
%doc COPYING debian/copyright
%{_includedir}/mce/*.h
%{_libdir}/pkgconfig/mce.pc
%files -n mce-doc
%defattr(-,root,root,-)
%doc COPYING debian/changelog debian/copyright
%{_docdir}/mce-doc/html/*