they are no longer needed since suse_version 1500 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kbibtex?expand=0&rev=36
129 lines
4.0 KiB
RPMSpec
129 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package kbibtex
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
Name: kbibtex
|
|
Version: 0.8.1
|
|
Release: 1
|
|
License: GPL-2.0
|
|
Summary: The BibTeX (Latex) bibliography manager by KDE
|
|
Url: https://userbase.kde.org/KBibTeX/
|
|
Group: Productivity/Publishing/TeX/Utilities
|
|
Source: http://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
# Only include WebEngine for platforms that support it
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
|
|
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
|
|
%endif
|
|
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
BuildRequires: ki18n-devel
|
|
BuildRequires: kxmlgui-devel
|
|
BuildRequires: kio-devel
|
|
BuildRequires: kiconthemes-devel
|
|
BuildRequires: kitemviews-devel
|
|
BuildRequires: kcompletion-devel
|
|
BuildRequires: kparts-devel
|
|
BuildRequires: kcoreaddons-devel
|
|
BuildRequires: kcrash-devel
|
|
BuildRequires: kdoctools-devel
|
|
BuildRequires: kservice-devel
|
|
BuildRequires: kwallet-devel
|
|
BuildRequires: libpoppler-qt5-devel
|
|
BuildRequires: libqca-qt5-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: qoauth-qt5-devel
|
|
Recommends: %{name}-lang
|
|
Requires(post): shared-mime-info
|
|
Requires(post): desktop-file-utils
|
|
Requires(postun): shared-mime-info
|
|
Requires(postun): desktop-file-utils
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
KBibTeX is a BibTeX editor by KDE to edit bibliographies used with
|
|
LaTeX. Features include comfortable input masks, starting web queries
|
|
(e. g. Google or PubMed) and exporting to PDF, PostScript, RTF and
|
|
XML/HTML. As KBibTeX is using KDE's KParts technology, KBibTeX can be
|
|
embedded into Kile or Konqueror.
|
|
|
|
%package devel
|
|
Summary: Devel Files for %{name}
|
|
Group: Development/Libraries/KDE
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
This package contains the devel files for %{name}.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install -C build
|
|
%suse_update_desktop_file org.kde.kbibtex Office Database
|
|
%suse_update_desktop_file %{buildroot}/%{_kf5_servicesdir}/kbibtexpart.desktop Office Database
|
|
|
|
%find_lang %{name}
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog
|
|
%license LICENSE
|
|
%{_kf5_libdir}/libkbibtex*.so.*
|
|
%_kf5_configdir/kbibtexrc
|
|
%_kf5_bindir/kbibtex
|
|
%_kf5_plugindir/kbibtexpart.so*
|
|
%_kf5_applicationsdir/org.kde.kbibtex.desktop
|
|
%_kf5_iconsdir/hicolor/*/apps/kbibtex.png
|
|
%_kf5_sharedir/kbibtex/
|
|
%_kf5_servicesdir/kbibtexpart.desktop
|
|
%_kf5_kxmlguidir/kbibtex/
|
|
%_kf5_kxmlguidir/kbibtexpart/
|
|
%dir %{_kf5_appstreamdir}
|
|
%{_kf5_appstreamdir}/org.kde.kbibtex.appdata.xml
|
|
%_kf5_htmldir/*/kbibtex/
|
|
%_kf5_sharedir/mime/packages/bibliography.xml
|
|
%_kf5_sharedir/man/man1/kbibtex.1.gz
|
|
%_kf5_sharedir/man/*/man1/kbibtex.1.gz
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%_kf5_libdir/libkbibtex*.so
|
|
|
|
%changelog
|