2010-11-29 12:22:13 +00:00
|
|
|
#
|
2012-01-24 21:38:06 +00:00
|
|
|
# spec file for package kbibtex
|
2010-11-29 12:22:13 +00:00
|
|
|
#
|
2018-05-05 21:36:06 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-11-29 12:22:13 +00:00
|
|
|
#
|
2012-01-24 21:38:06 +00:00
|
|
|
# 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.
|
2010-11-29 12:22:13 +00:00
|
|
|
|
2012-01-24 21:38:06 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: kbibtex
|
2018-06-24 21:28:47 +00:00
|
|
|
Version: 0.8.1
|
2012-01-24 21:38:06 +00:00
|
|
|
Release: 1
|
|
|
|
License: GPL-2.0
|
2018-06-24 21:28:47 +00:00
|
|
|
Summary: The BibTeX (Latex) bibliography manager by KDE
|
2017-12-16 17:18:38 +00:00
|
|
|
Url: https://userbase.kde.org/KBibTeX/
|
2012-01-24 21:38:06 +00:00
|
|
|
Group: Productivity/Publishing/TeX/Utilities
|
2018-06-24 21:28:47 +00:00
|
|
|
Source: http://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz
|
2018-06-29 11:28:55 +00:00
|
|
|
# PATCH-FIX-OPENSUSE: revert upstream desktop file change to solve rpmlint error
|
|
|
|
Patch0: desktopfile.diff
|
2012-01-24 21:38:06 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2018-05-05 21:36:06 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
2018-06-24 21:28:47 +00:00
|
|
|
# Only include WebEngine for platforms that support it
|
|
|
|
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
|
2018-05-05 21:36:06 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
|
2018-06-24 21:28:47 +00:00
|
|
|
%endif
|
2018-05-05 21:36:06 +00:00
|
|
|
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
|
2018-05-06 13:27:13 +00:00
|
|
|
Recommends: %{name}-lang
|
2012-01-24 21:38:06 +00:00
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
Requires(postun): shared-mime-info
|
2018-06-01 05:02:15 +00:00
|
|
|
Requires(postun): desktop-file-utils
|
2012-07-06 16:10:35 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-29 12:22:13 +00:00
|
|
|
|
|
|
|
%description
|
2018-06-24 21:28:47 +00:00
|
|
|
KBibTeX is a BibTeX editor by KDE to edit bibliographies used with
|
2012-01-24 21:38:06 +00:00
|
|
|
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.
|
2010-11-29 12:22:13 +00:00
|
|
|
|
2013-12-24 20:59:09 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Devel Files for %{name}
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2014-01-11 10:24:22 +00:00
|
|
|
This package contains the devel files for %{name}.
|
2013-12-24 20:59:09 +00:00
|
|
|
|
2017-03-23 19:08:12 +00:00
|
|
|
%lang_package
|
|
|
|
|
2010-11-29 12:22:13 +00:00
|
|
|
%prep
|
2014-01-11 10:24:22 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2018-06-29 11:28:55 +00:00
|
|
|
%patch0 -p1
|
2010-11-29 12:22:13 +00:00
|
|
|
|
|
|
|
%build
|
2018-05-05 21:36:06 +00:00
|
|
|
%cmake_kf5 -d build
|
2012-01-24 21:38:06 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-11-29 12:22:13 +00:00
|
|
|
|
|
|
|
%install
|
2018-05-05 21:36:06 +00:00
|
|
|
%make_install -C build
|
|
|
|
%suse_update_desktop_file org.kde.kbibtex Office Database
|
|
|
|
%suse_update_desktop_file %{buildroot}/%{_kf5_servicesdir}/kbibtexpart.desktop Office Database
|
2017-03-23 19:08:12 +00:00
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2012-01-24 21:38:06 +00:00
|
|
|
%post
|
2013-12-24 20:59:09 +00:00
|
|
|
/sbin/ldconfig
|
2010-11-29 12:22:13 +00:00
|
|
|
|
2012-01-24 21:38:06 +00:00
|
|
|
%postun
|
2013-12-24 20:59:09 +00:00
|
|
|
/sbin/ldconfig
|
2010-11-29 12:22:13 +00:00
|
|
|
|
2017-03-20 10:06:44 +00:00
|
|
|
%files
|
2010-11-29 12:22:13 +00:00
|
|
|
%defattr(-,root,root)
|
2018-05-29 09:40:58 +00:00
|
|
|
%doc ChangeLog
|
|
|
|
%license LICENSE
|
2018-05-05 21:36:06 +00:00
|
|
|
%{_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
|
2017-03-23 19:08:12 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2010-11-29 12:22:13 +00:00
|
|
|
|
2013-12-24 20:59:09 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2018-05-05 21:36:06 +00:00
|
|
|
%_kf5_libdir/libkbibtex*.so
|
2013-12-24 20:59:09 +00:00
|
|
|
|
2011-06-06 14:30:31 +00:00
|
|
|
%changelog
|