Christophe Giboudeaux 2020-08-27 08:16:40 +00:00 committed by Git OBS Bridge
parent 2937ef60c7
commit 4f1d057c6d
2 changed files with 42 additions and 39 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 27 08:16:13 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Spec cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 28 07:44:13 UTC 2020 - Wolfgang Bauer <wbauer@tmo.at> Tue Apr 28 07:44:13 UTC 2020 - Wolfgang Bauer <wbauer@tmo.at>

View File

@ -1,7 +1,7 @@
# #
# spec file for package kbibtex # spec file for package kbibtex
# #
# Copyright (c) 2020 SUSE LINUX LLC # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,6 @@
%bcond_without lang %bcond_without lang
Name: kbibtex Name: kbibtex
Version: 0.9.2 Version: 0.9.2
Release: 0 Release: 0
@ -27,42 +26,41 @@ Group: Productivity/Publishing/TeX/Utilities
URL: https://userbase.kde.org/KBibTeX/ URL: https://userbase.kde.org/KBibTeX/
Source: https://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz Source: https://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kcompletion-devel
BuildRequires: kcoreaddons-devel >= 5.51.0
BuildRequires: kcrash-devel
BuildRequires: kdoctools-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: kio-devel
BuildRequires: kitemviews-devel
BuildRequires: kparts-devel
BuildRequires: kservice-devel
BuildRequires: ktexteditor-devel
BuildRequires: kwallet-devel
BuildRequires: kxmlgui-devel
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: libpoppler-qt5-devel BuildRequires: libpoppler-qt5-devel
BuildRequires: libqca-qt5-devel BuildRequires: libqca-qt5-devel
BuildRequires: pkgconfig
BuildRequires: qoauth-qt5-devel BuildRequires: qoauth-qt5-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: cmake(KF5Completion)
BuildRequires: pkgconfig(Qt5Core) BuildRequires: cmake(KF5CoreAddons) >= 5.51.0
BuildRequires: pkgconfig(Qt5Network) BuildRequires: cmake(KF5Crash)
BuildRequires: pkgconfig(Qt5Test) BuildRequires: cmake(KF5DocTools)
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: cmake(KF5I18n)
BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5ItemViews)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KF5TextEditor)
BuildRequires: cmake(KF5Wallet)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Test)
# Only include WebEngine for platforms that support it
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
BuildRequires: cmake(Qt5WebEngineWidgets)
%else
BuildRequires: cmake(Qt5WebKitWidgets)
%endif
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5XmlPatterns)
Requires(post): desktop-file-utils Requires(post): desktop-file-utils
Requires(post): shared-mime-info Requires(post): shared-mime-info
Requires(postun): desktop-file-utils Requires(postun): desktop-file-utils
Requires(postun): shared-mime-info Requires(postun): shared-mime-info
Recommends: %{name}-lang Recommends: %{name}-lang
# Only include WebEngine for platforms that support it
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
%else
BuildRequires: pkgconfig(Qt5WebKitWidgets)
%endif
%description %description
KBibTeX is a BibTeX editor by KDE to edit bibliographies used with KBibTeX is a BibTeX editor by KDE to edit bibliographies used with
@ -86,7 +84,7 @@ This package contains the devel files for %{name}.
%build %build
%cmake_kf5 -d build %cmake_kf5 -d build
make %{?_smp_mflags} %cmake_build
%install %install
%make_install -C build %make_install -C build
@ -102,22 +100,22 @@ make %{?_smp_mflags}
%files %files
%doc ChangeLog %doc ChangeLog
%license LICENSE %license LICENSE
%{_kf5_libdir}/libkbibtex*.so.*
%config %{_kf5_configdir}/kbibtexrc %config %{_kf5_configdir}/kbibtexrc
%{_kf5_bindir}/kbibtex %dir %{_kf5_appstreamdir}
%{_kf5_plugindir}/kbibtexpart.so*
%{_kf5_applicationsdir}/org.kde.kbibtex.desktop %{_kf5_applicationsdir}/org.kde.kbibtex.desktop
%{_kf5_appstreamdir}/org.kde.kbibtex.appdata.xml
%{_kf5_bindir}/kbibtex
%{_kf5_htmldir}/*/kbibtex/
%{_kf5_iconsdir}/hicolor/*/apps/kbibtex.png %{_kf5_iconsdir}/hicolor/*/apps/kbibtex.png
%{_kf5_sharedir}/kbibtex/
%{_kf5_servicesdir}/kbibtexpart.desktop
%{_kf5_kxmlguidir}/kbibtex/ %{_kf5_kxmlguidir}/kbibtex/
%{_kf5_kxmlguidir}/kbibtexpart/ %{_kf5_kxmlguidir}/kbibtexpart/
%dir %{_kf5_appstreamdir} %{_kf5_libdir}/libkbibtex*.so.*
%{_kf5_appstreamdir}/org.kde.kbibtex.appdata.xml %{_kf5_plugindir}/kbibtexpart.so*
%{_kf5_htmldir}/*/kbibtex/ %{_kf5_servicesdir}/kbibtexpart.desktop
%{_kf5_sharedir}/mime/packages/bibliography.xml %{_kf5_sharedir}/kbibtex/
%{_kf5_sharedir}/man/man1/kbibtex.1.gz
%{_kf5_sharedir}/man/*/man1/kbibtex.1.gz %{_kf5_sharedir}/man/*/man1/kbibtex.1.gz
%{_kf5_sharedir}/man/man1/kbibtex.1.gz
%{_kf5_sharedir}/mime/packages/bibliography.xml
%if %{with lang} %if %{with lang}
%files lang -f %{name}.lang %files lang -f %{name}.lang