forked from pool/lokalize
Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/lokalize?expand=0&rev=51
This commit is contained in:
committed by
Git OBS Bridge
parent
aab236a9f5
commit
f3ae824092
@@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_without lang
|
||||
|
||||
Name: lokalize
|
||||
Version: 17.03.90
|
||||
@@ -54,6 +55,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%description
|
||||
This package contains lokalize, an editor for translations
|
||||
|
||||
%if %{with lang}
|
||||
%lang_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@@ -68,11 +73,15 @@ export CFLAGS="%{optflags} -fPIC"
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
%kf5_find_htmldocs
|
||||
%endif
|
||||
%suse_update_desktop_file -r org.kde.lokalize Development Translation
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%doc COPYING*
|
||||
%{_kf5_bindir}/lokalize
|
||||
%{_kf5_applicationsdir}/org.kde.lokalize.desktop
|
||||
%{_kf5_htmldir}/en/lokalize/
|
||||
@@ -84,4 +93,9 @@ export CFLAGS="%{optflags} -fPIC"
|
||||
%dir %{_kf5_appstreamdir}
|
||||
%{_kf5_appstreamdir}/org.kde.lokalize.appdata.xml
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user