kbibtex/kbibtex.spec
2019-11-01 15:59:41 +00:00

295 lines
10 KiB
RPMSpec

Name: kbibtex
Version: 0.9
Release: 3%{?dist}
Summary: A BibTeX editor for KDE
License: GPLv2+
URL: https://userbase.kde.org/KBibTeX
Source0: https://github.com/KDE/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake qt5-qtbase-devel desktop-file-utils gettext-devel
%ifarch %qt5_qtwebengine_arches
BuildRequires: qt5-qtwebengine-devel
%else
BuildRequires: qt5-qtwebkit-devel
%endif
BuildRequires: cmake(Qt5XmlPatterns)
BuildRequires: cmake(KF5TextEditor)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5ItemViews)
BuildRequires: cmake(KF5Completion)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5Wallet)
BuildRequires: cmake(KF5Crash)
BuildRequires: extra-cmake-modules
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: poppler-qt5-devel
BuildRequires: qca-qt5-devel
BuildRequires: libicu-devel
BuildRequires: qoauth-qt5-devel
BuildRequires: shared-mime-info
Requires: bibutils
%description
The program KBibTeX is a bibliography editor for KDE. Its main purpose is to
provide a user-friendly interface to BibTeX files.
%package libs
Summary: Runtime files for %{name}
%description libs
The program KBibTeX is a bibliography editor for KDE. Its main purpose is to
provide a user-friendly interface to BibTeX files.
This package provides the runtime libraries for %{name}
%package devel
Summary: Development files for KBibTeX
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: kdelibs4-devel%{?_isa} libxslt-devel%{?_isa} poppler-qt-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and header files necessary for
developing programs using KBibTeX libraries.
%prep
%setup -q
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
%check
desktop-file-validate $RPM_BUILD_ROOT%{_kf5_datadir}/applications/*.desktop
%files
%doc README ChangeLog
%{_qt5_settingsdir}/%{name}rc
%{_kf5_bindir}/%{name}
%{_qt5_plugindir}/%{name}part.so*
%{_kf5_datadir}/applications/*%{name}.desktop
%{_kf5_datadir}/kservices5/%{name}part.desktop
%{_kf5_datadir}/kxmlgui5/*
%{_kf5_datadir}/%{name}/
%{_datadir}/metainfo/*
%{_datadir}/mime/packages/bibliography.xml
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_kf5_docdir}/HTML/*/%{name}
%{_mandir}/man1/%{name}*
%files libs
%license LICENSE
%{_libdir}/lib%{name}*.so.*
%files devel
%{_libdir}/lib%{name}*.so
%changelog
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 0.9-3
- Rebuild for ICU 65
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 10 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.9-1
- Update to 0.9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Jan 23 2019 Pete Walter <pwalter@fedoraproject.org> - 0.8.1-2
- Rebuild for ICU 63
* Sun Jul 15 2018 Robin Lee <cheeselee@fedoraproject.org> - 0.8.1-1
- Update to 0.8.1
- Requires bibutils
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 0.7-3
- Rebuild for ICU 62
* Tue May 1 2018 Robin Lee <cheeselee@fedoraproject.org> - 0.7-2
- Fix build with ICU 61
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 0.7-2
- Rebuild for ICU 61.1
* Fri Feb 9 2018 Robin Lee <cheeselee@fedoraproject.org> - 0.7-1
- Update to 0.7 (BZ#1543148)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Apr 9 2017 Robin Lee <cheeselee@fedoraproject.org> - 0.6.2-1
- Update to 0.6.2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Oct 31 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.6-3
- devel subpackage requires poppler-qt-devel%%{?_isa}
* Fri Oct 30 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.6-2
- Use a new patch from upstream to fix ARM build
- devel subpackage requres libs instead of the base package
* Tue Oct 13 2015 Robin Lee <cheeselee@fedoraproject.org> - 0.6-1
- Update to 0.6
- Fix ARM build with 0001-Use-qreal-instead-of-double.patch
- Use upstream appdata
- Move the shared libraries to %%{_libdir} and to a libs subpackage
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.5.1-7
- Rebuilt for GCC 5 C++11 ABI change
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.5.1-6
- Add an AppData file for the software center
* Sun Aug 17 2014 Rex Dieter <rdieter@fedoraproject.org> 0.5.1-5
- BR: pkgconfig(QtWebKit), it's no longer pulled in implicitly by kdelibs-devel
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Aug 16 2014 Rex Dieter <rdieter@fedoraproject.org> 0.5.1-3
- update scriptlets, BR: kdelibs4-devel, tighten subpkg dep
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed May 28 2014 Robin Lee <cheeselee@fedoraproject.org> - 0.5.1-1
- Update to 0.5.1
* Mon Dec 30 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.5-1
- Update to 0.5
- Split out a devel subpackage
* Wed Nov 20 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.4.1-5
- Fix URL
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun Jul 14 2013 Robin Lee <cheeselee@fedoraproject.org> - 0.4.1-3
- Requires okular-part (BZ#984142)
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Dec 14 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.4.1-1
- Update to 0.4.1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed May 16 2012 Marek Kasik <mkasik@redhat.com> - 0.4-3
- Rebuild (poppler-0.20.0)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Nov 29 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.4-1
- Update to 0.4
- Move the unversioned shared object files to a program-private directory
* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 0.3-4
- Rebuild (poppler-0.17.3)
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 0.3-3
- Rebuild (poppler-0.17.0)
* Sat Jun 25 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.3-2
- Scriptlets revised
- Use description from upstream REAMDE
* Sat Jun 25 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.3-1
- Update to 0.3
- BR: cmake kdelibs-devel poppler-qt4-devel added, kdelibs3-devel removed
- Cmake-based build
- Scriptlets revised
- Specfile Untabified
- URL and Source0 updated
- kbibtex-0.2-desktop-file-type.patch removed
- Other cleanup
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Nov 23 2009 Christian Nolte <ch.nolte at noltec.org> - 0.2.2-19
- Updated to latest upstream version 0.2.2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Mar 31 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.2-14
- BR kdelibs3-devel instead of kdebase-devel (should not need kdebase) (#434344)
* Tue Jan 01 2008 Christian Nolte <ch.nolte at noltec.org> - 0.2-13
- Updated to latest upstream version 0.2
- Desktop-File kbibtex_part.desktop patched: Type is Application now
* Mon Jul 09 2007 Christian Nolte <ch.nolte at noltec.org> - 0.1.5.52-11
- Updated to latest upstream version
* Wed Mar 21 2007 Christian Nolte <ch.nolte at noltec.org> - 0.1.5-8
- latest patches (storesearchurls, webquerypubmedmultiplequeries,
xslhtmlexport)
* Tue Dec 05 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.5-4
- Bumped release ver. to solve the violated upgrade path (BUG #216007)
* Sun Oct 29 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.5-2
- latest released patches (filteredselection,gcc4.2,viewdocument)
* Wed Oct 18 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.5-1
- Update to 0.1.5
* Fri Sep 15 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.4-2
- Rebuild for FC6
* Thu Apr 27 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.4-1
- Update to the version 0.1.4
* Fri Dec 23 2005 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.3-3
- Patch to resolve an error when this package is compiled with gcc 4.1.0
* Tue Dec 13 2005 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.3-2
- BUG 17556 - package review: fixed all problems
* Mon Dec 12 2005 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.3-1
- Version 0.1.3