- Add %bcond_without lang

OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kbibtex?expand=0&rev=44
This commit is contained in:
Fabian Vogt 2018-11-18 19:07:20 +00:00 committed by Git OBS Bridge
parent b53e6f7260
commit 34809f8b44
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Sun Nov 18 16:45:13 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>
- Replace desktopfile.diff by proper use of %suse_update_desktop_file
- Clean up the .spec file
- Mark kbibtexrc as %config
- Add %bcond_without lang
-------------------------------------------------------------------
Wed Sep 12 10:38:21 UTC 2018 - Cor Blom <cornelis@solcon.nl>

View File

@ -16,6 +16,8 @@
#
%bcond_without lang
Name: kbibtex
Version: 0.8.1
Release: 0
@ -91,7 +93,9 @@ make %{?_smp_mflags}
%make_install -C build
%suse_update_desktop_file -r org.kde.kbibtex Qt KDE Office Database Science Education
%if %{with lang}
%find_lang %{name}
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -116,7 +120,9 @@ make %{?_smp_mflags}
%{_kf5_sharedir}/man/man1/kbibtex.1.gz
%{_kf5_sharedir}/man/*/man1/kbibtex.1.gz
%if %{with lang}
%files lang -f %{name}.lang
%endif
%files devel
%{_kf5_libdir}/libkbibtex*.so