forked from pool/kio-extras5
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kio-extras5?expand=0&rev=42
This commit is contained in:
parent
c258077f6a
commit
38800f4ae5
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: kio-extras5
|
||||
Version: 17.03.90
|
||||
@ -75,6 +76,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%description
|
||||
Additional KIO-slaves for KDE applications.
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n kio-extras-%{version}
|
||||
%patch0 -p1
|
||||
@ -86,6 +91,10 @@ sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%kf5_find_lang
|
||||
%kf5_find_htmldocs
|
||||
%endif
|
||||
# we don't need nor want devel symlink, and dbus interface -- kio-extras don't install any headers,
|
||||
# nor are meant for development
|
||||
rm -rf %{buildroot}%{_kf5_sharedir}/dbus-1/
|
||||
@ -109,4 +118,8 @@ sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
|
||||
%{_kf5_sharedir}/solid/
|
||||
%{_kf5_sharedir}/mime/packages/kf5_network.xml
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user