minor cleanups

epel9
Peter Robinson 10 years ago
parent 027a2e7402
commit ceaa00482b

@ -24,11 +24,7 @@ BuildRequires: libXdamage-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: qt-devel
%if 0%{?fedora} > 17
BuildRequires: systemd-devel
%else
BuildRequires: libudev-devel
%endif
%description
Maliit provides a flexible and cross-platform input method framework. It has a
@ -104,15 +100,15 @@ make %{?_smp_mflags} V=1
%install
make install INSTALL="install -p" INSTALL_ROOT=%{buildroot} DESTDIR=%{buildroot}
find %{buildroot} -name '.moc' -exec rm -rf {} ';'
find %{buildroot} -name '.gitignore' -exec rm -rf {} ';'
find %{buildroot} -name '.moc' -delete
find %{buildroot} -name '.gitignore' -delete
# e.g. maliit-plugins package stores files in there
mkdir -p %{buildroot}%{_datadir}/maliit
# move installed docs to include them in subpackage via %%doc magic
rm -rf __tmp_doc ; mkdir __tmp_doc
mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}/* __tmp_doc
mv ${buildroot}%{_docdir}/%{name}/* __tmp_doc
%post -p /sbin/ldconfig

Loading…
Cancel
Save