Compare commits

...

73 Commits
f7 ... rawhide

Author SHA1 Message Date
František Zatloukal 0f42845286 Rebuilt for ICU 71.1 2022-08-01 15:05:10 +02:00
Fedora Release Engineering 933cc36408 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 15:38:23 +00:00
Fedora Release Engineering 89c48c3f44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 14:11:46 +00:00
Fedora Release Engineering b6601dcc43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 09:28:36 +00:00
Pete Walter 2c49b72864 Rebuild for ICU 69 2021-05-20 01:02:19 +01:00
Robin Lee 1be3719083 Fix requirement of devel subpackage (RHBZ#1919474) 2021-02-02 09:32:15 +08:00
Fedora Release Engineering 9415761b8a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 15:14:22 +00:00
Fedora Release Engineering 7dcb8b180c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 02:46:41 +00:00
Igor Raits 39c8cb7078
Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-18 18:28:23 +02:00
Robin Lee 0a5f3c5ee4 Fix Source0 URL 2020-06-21 21:40:14 -04:00
Marie Loise Nolden d441daa646 Update to 0.9.2 2020-06-21 21:18:38 -04:00
Marie Loise Nolden 1393b8d16b Update to 0.9.2 2020-06-21 21:18:38 -04:00
Pete Walter 0bf76cdfbb Rebuild for ICU 67 2020-05-18 08:44:01 +01:00
Fedora Release Engineering e79917640b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 06:42:31 +00:00
Marek Kasik 4d4bd3c5e7 Rebuild for poppler-0.84.0 2020-01-17 12:30:04 +01:00
Pete Walter db0102d870 Rebuild for ICU 65 2019-11-01 15:59:41 +00:00
Fedora Release Engineering 5d351edc3b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 11:07:05 +00:00
Robin Lee d518ac1796 Use qt5-qtwebkit-devel instead when qtwebengine is not available 2019-06-10 10:52:38 +08:00
Robin Lee c7651a77f1 Update to 0.9 2019-06-10 10:43:20 +08:00
Fedora Release Engineering ffd58f1248 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 05:05:01 +00:00
Igor Gnatenko 766a45b9ec Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:09 +01:00
Pete Walter 9b52c730eb Rebuild for ICU 63 2019-01-23 21:59:49 +00:00
Robin Lee 2cd59f8713 Requires bibutils 2018-07-15 15:07:41 +08:00
Robin Lee fd77748837 Update to 0.8.1 2018-07-15 14:54:15 +08:00
Fedora Release Engineering 2dc7321aab - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 06:50:31 +00:00
Pete Walter 53047574c3 Rebuild for ICU 62 2018-07-10 21:50:50 +01:00
Robin Lee fb1077d269 Fix build with ICU 61 2018-05-01 12:31:44 +08:00
Pete Walter 9bbe87f254 Rebuild for ICU 61.1 2018-04-30 20:31:29 +01:00
Robin Lee 3fa6babea2 Update to 0.7 (BZ#1543148) 2018-02-09 10:05:05 +08:00
Christian Stadelmann 07579e0204 Update kbibtex.spec: Update upstream URLs
Old upstream URL has gone.
2018-02-07 20:41:55 +00:00
Fedora Release Engineering d32d71fbe3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 19:34:29 +00:00
Fedora Release Engineering 75fdf07dd7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 00:10:04 +00:00
Fedora Release Engineering e90ba7b64b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 14:55:21 +00:00
Robin Lee 303b6d3d9d Update to 0.6.2 2017-04-10 11:28:33 +08:00
Fedora Release Engineering 9510cd1739 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 17:36:06 +00:00
Orion Poplawski b0fed54a6f Use qca2-devel on RHEL 2016-09-08 15:26:00 -06:00
Dennis Gilmore fe1ba7191e - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 01:39:11 +00:00
Robin Lee 137317cfb9 devel subpackage requires poppler-qt-devel%{?_isa} 2015-10-31 11:08:44 +08:00
Robin Lee 1eb338e086 Use a new patch from upstream to fix ARM build
- devel subpackage requres libs instead of the base package
2015-10-31 01:36:55 +08:00
Robin Lee bf6dbff868 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
2015-10-14 22:38:12 +08:00
Robin Lee ad89fa5e78 Update to 0.6 2015-10-14 02:14:15 +08:00
Dennis Gilmore 43505834a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 12:50:03 +00:00
Kalev Lember 20b7089136 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 14:35:08 +02:00
Richard Hughes 9ec10da0cb Add an AppData file for the software center 2015-03-26 16:36:17 +00:00
Rex Dieter d6a318850d BR: pkgconfig(QtWebKit), it's no longer pulled in implicitly by kdelibs-devel 2014-08-17 09:09:48 -05:00
Peter Robinson 46880b5e01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 22:54:21 +00:00
Rex Dieter 47015fd285 update scriptlets, BR: kdelibs4-devel, tighten subpkg dep 2014-08-16 11:19:07 -05:00
Dennis Gilmore fa9b73669e - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 20:37:10 -05:00
Robin Lee 263af2b058 Update to 0.5.1 2014-05-28 20:49:31 +08:00
Robin Lee 0660c67bc1 Update to 0.5
- Split out a devel subpackage
2014-02-02 15:46:42 +08:00
Robin Lee 5a90a6307a Fix URL 2013-11-20 18:34:49 +08:00
Dennis Gilmore c29cc2249f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 17:03:51 -05:00
Robin Lee 2638444886 Requires okular-part (BZ#984142) 2013-07-14 21:28:43 +08:00
Dennis Gilmore 3118c7fc4b - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 21:10:47 -06:00
Robin Lee 027a1b6035 Update to 0.4.1 2012-12-21 16:08:45 +08:00
Dennis Gilmore 681ee1ac4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 12:07:54 -05:00
Marek Kasik 1b609d4af4 Rebuild (poppler-0.20.0) 2012-05-16 17:45:06 +02:00
Dennis Gilmore 6f318402f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 00:41:41 -06:00
Robin Lee 62547ff9e5 - Update to 0.4
- Move the unversioned shared object files to a program-private directory
2011-11-29 23:38:55 +08:00
Marek Kasik 7cf280d6f3 Rebuild (poppler-0.17.3) 2011-09-19 15:58:36 +02:00
Marek Kasik 58b24eaf86 Rebuild (poppler-0.17.0) 2011-07-15 17:30:29 +02:00
Robin Lee 2b9366d42f - Scriptlets revised
- Use description from upstream REAMDE
2011-06-25 03:52:36 +08:00
Robin Lee fd90319760 - 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
2011-06-25 03:41:45 +08:00
Dennis Gilmore 5357b58a22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 19:39:50 -06:00
Fedora Release Engineering 8d32611487 dist-git conversion 2010-07-28 19:02:03 +00:00
Bill Nottingham 1ac57783ca Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:51:15 +00:00
Christian Nolte af0d58af28 Update to latest upstream version. 2009-11-23 18:16:21 +00:00
Jesse Keating 437f953634 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 04:19:30 +00:00
Jesse Keating 6b4d103561 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 10:17:59 +00:00
Kevin Kofler ea52f49ca7 Sync from F8 to fix upgrade path and fix BRs
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
2008-03-31 19:54:49 +00:00
Christian Nolte fefe89a772 - Corrected kdelibs3-devel build dependency 2008-03-02 18:48:06 +00:00
Jesse Keating 2a0b9e6c6e - Autorebuild for GCC 4.3 2008-02-19 16:17:54 +00:00
Christian Nolte 339ddc7801 - update to latest upstream version 2007-07-09 20:57:29 +00:00
12 changed files with 297 additions and 289 deletions

View File

@ -1 +0,0 @@
kbibtex-0.1.5.tar.bz2

12
.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
kbibtex-0.2.2.tar.bz2
/kbibtex-0.3.tar.bz2
/kbibtex-0.4.tar.bz2
/kbibtex-0.4.1.tar.bz2
/kbibtex-0.5.tar.xz
/kbibtex-0.5.1.tar.xz
/kbibtex-0.6.tar.xz
/kbibtex-0.6.2.tar.xz
/kbibtex-0.7.tar.gz
/kbibtex-0.8.1.tar.gz
/kbibtex-0.9.tar.gz
/kbibtex-0.9.2.tar.xz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: kbibtex
# $Id$
NAME := kbibtex
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,41 +0,0 @@
Index: src/documentlistview.cpp
===================================================================
--- src/documentlistview.cpp (Revision 301)
+++ src/documentlistview.cpp (Revision 302)
@@ -221,10 +221,13 @@
while ( it.current() )
{
DocumentListViewItem * kblvi = dynamic_cast<DocumentListViewItem*>( it.current() );
- m_bibtexFile->deleteElement( kblvi->element() );
- it++;
- takeItem( kblvi );
- delete ( kblvi );
+ if ( kblvi->isVisible() )
+ {
+ m_bibtexFile->deleteElement( kblvi->element() );
+ it++;
+ takeItem( kblvi );
+ delete ( kblvi );
+ }
}
if ( above )
@@ -246,7 +249,7 @@
{
DocumentListViewItem * kblvi = dynamic_cast<DocumentListViewItem*>( it.current() );
BibTeX::Entry *entry = dynamic_cast<BibTeX::Entry*>( kblvi->element() );
- if ( entry != NULL )
+ if ( entry != NULL && kblvi->isVisible() )
{
if ( !refs.isEmpty() )
refs.append( "," );
@@ -621,7 +624,8 @@
while ( it.current() )
{
DocumentListViewItem * kblvi = dynamic_cast<DocumentListViewItem*>( it.current() );
- exporter->save( &buffer, kblvi->element() );
+ if ( kblvi->isVisible() )
+ exporter->save( &buffer, kblvi->element() );
it++;
}
delete exporter;

View File

@ -1,13 +0,0 @@
Index: src/fileimporter.h
===================================================================
--- src/fileimporter.h (Revision 307)
+++ src/fileimporter.h (Arbeitskopie)
@@ -39,7 +39,7 @@
~FileImporter();
File* load ( const QString& text );
- virtual File* load( QIODevice *iodevice ) = NULL;
+ virtual File* load( QIODevice *iodevice ) = 0;
static bool guessCanDecode( const QString & ) { return FALSE; };

View File

@ -1,12 +0,0 @@
diff -Naur kbibtex-0.1.5_orig/src/settings.cpp kbibtex-0.1.5/src/settings.cpp
--- kbibtex-0.1.5_orig/src/settings.cpp 2006-10-03 21:14:45.000000000 +0200
+++ kbibtex-0.1.5/src/settings.cpp 2007-02-27 13:20:13.000000000 +0100
@@ -170,7 +170,7 @@
config->setGroup( "SearchURLs" );
int i = 1;
- for ( QValueList<SearchURL*>::ConstIterator it = searchURLs.begin(); it != searchURLs.end(); ++it )
+ for ( QValueList<SearchURL*>::ConstIterator it = searchURLs.begin(); it != searchURLs.end(); ++it, ++i )
{
config->writeEntry( QString( "SearchURLDescription%1" ).arg( i ), ( *it ) ->description );
config->writeEntry( QString( "SearchURL%1" ).arg( i ), ( *it ) ->url );

View File

@ -1,56 +0,0 @@
Index: src/documentwidget.h
===================================================================
--- src/documentwidget.h (Revision 308)
+++ src/documentwidget.h (Revision 310)
@@ -106,6 +106,7 @@
int m_newElementCounter;
EditMode m_editMode;
KActionMenu *m_viewDocumentActionMenu;
+ QStringList m_viewDocumentActionMenuURLs;
KActionMenu *m_searchWebsitesActionMenu;
KAction *m_find;
KAction *m_findNext;
Index: src/documentwidget.cpp
===================================================================
--- src/documentwidget.cpp (Revision 308)
+++ src/documentwidget.cpp (Revision 310)
@@ -471,13 +471,13 @@
m_listViewElements->setFactory( factory, client );
m_sourceView->setFactory( factory, client );
+ m_viewDocumentActionMenu = dynamic_cast<KActionMenu*>( client->action( "view_document" ) );
if ( m_viewDocumentActionMenu != NULL )
connect( m_viewDocumentActionMenu->popupMenu(), SIGNAL( activated( int ) ), this, SLOT( slotViewDocument( int ) ) );
m_copyReference = client->action( "edit_copyref" );
m_find = client->action( "edit_find" );
m_findNext = client->action( "edit_find_next" );
- m_viewDocumentActionMenu = dynamic_cast<KActionMenu*>( client->action( "view_document" ) );
m_listViewElements->setViewShowColumnsMenu( dynamic_cast<KActionMenu*>( client->action( "view_showcolumns" ) ) );
m_searchWebsitesActionMenu = dynamic_cast<KActionMenu*>( client->action( "search_document_online" ) );
}
@@ -486,6 +486,7 @@
{
KPopupMenu * popup = m_viewDocumentActionMenu->popupMenu();
popup->clear();
+ m_viewDocumentActionMenuURLs.clear();
BibTeX::Element * currentElement = NULL;
@@ -517,6 +518,7 @@
popup->insertItem( SmallIcon( "html" ), prettyURL );
else
popup->insertItem( prettyURL );
+ m_viewDocumentActionMenuURLs.append( prettyURL );
}
m_viewDocumentActionMenu->setEnabled( TRUE );
}
@@ -908,7 +910,7 @@
void DocumentWidget::slotViewDocument( int id )
{
- kapp->invokeBrowser( m_viewDocumentActionMenu->popupMenu() ->text( id ) );
+ kapp->invokeBrowser( m_viewDocumentActionMenuURLs[ m_viewDocumentActionMenu->popupMenu() ->indexOf( id ) ] );
}
}

View File

@ -1,10 +0,0 @@
--- kbibtex-0.1.5_orig/src/webquerypubmed.cpp 2006-10-04 21:10:15.000000000 +0200
+++ kbibtex-0.1.5/src/webquerypubmed.cpp 2007-02-27 13:44:16.000000000 +0100
@@ -206,6 +206,7 @@
doc.setContent( buffer );
QDomElement docElem = doc.documentElement();
ResultParser resultParser( m_listViewResults, doc.documentElement() );
+ buffer->close();
setEnabled( TRUE );
QApplication::restoreOverrideCursor();

View File

@ -1,15 +0,0 @@
--- kbibtex-0.1.5_orig/src/documentwidget.cpp 2006-10-05 21:48:04.000000000 +0200
+++ kbibtex-0.1.5/src/documentwidget.cpp 2007-03-16 18:59:39.000000000 +0100
@@ -255,7 +255,11 @@
updateFromGUI();
- BibTeX::XSLTransform * transform = NULL;
+ KStandardDirs * kstd = KGlobal::dirs();
+ QString resPath = kstd->findResource( "data", "kbibtexpart/xslt/html.xsl" );
+ BibTeX::XSLTransform *transform = NULL;
+ if ( resPath != NULL )
+ transform = new BibTeX::XSLTransform( resPath );
BibTeX::FileExporter * exporter = NULL;
switch ( format )

View File

@ -1,11 +0,0 @@
--- kbibtex-0.1.3/src/kbibtexlistview.h 2005-11-29 13:43:15.000000000 +0100
+++ kbibtex-0.1.3/src/kbibtexlistview.h.qualifier 2005-12-23 11:39:35.000000000 +0100
@@ -62,7 +62,7 @@
// BibTeX::BibTeXFile *selectedElements();
void enabledActions();
- bool KBibTeXListView::acceptDrag( QDropEvent *event ) const;
+ bool acceptDrag( QDropEvent *event ) const;
public slots:
void filterText( const QString&text );

View File

@ -1,130 +1,306 @@
Name: kbibtex
Version: 0.1.5
Release: 8%{?dist}
Summary: A BibTeX editor for KDE
%undefine __cmake_in_source_build
Group: Applications/Editors
License: GPL
URL: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/
Source0: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/download/kbibtex-%{version}.tar.bz2
Patch0: kbibtex-0.1.5-filteredselection.patch
Patch1: kbibtex-0.1.5-gcc4.2.patch
Patch2: kbibtex-0.1.5-viewdocument.patch
Patch3: kbibtex-0.1.5-storesearchurls.patch
Patch4: kbibtex-0.1.5-webquerypubmedmultiplequeries.patch
Patch5: kbibtex-0.1.5-xslthtmlexport.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Name: kbibtex
Version: 0.9.2
Release: 9%{?dist}
Summary: A BibTeX editor for KDE
BuildRequires: kdebase-devel >= 3.3 libxslt-devel desktop-file-utils
#Requires:
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
License: GPLv2+
URL: https://userbase.kde.org/KBibTeX
Source0: http://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz
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
KBibTeX is a BibTeX editor for KDE
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: libxslt-devel%{?_isa}
Requires: poppler-qt5-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and header files necessary for
developing programs using KBibTeX libraries.
%prep
%setup -q
%patch0 -p0 -b .filteredselection
%patch1 -p0 -b .gcc4.2
%patch2 -p0 -b .viewdocument
%patch3 -p1 -b .storesearchurls
%patch4 -p1 -b .webquerypubmedmultiplequeries
%patch5 -p1 -b .xslthtmlexport
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
%configure --disable-rpath --disable-debug
make %{?_smp_mflags}
%{cmake_kf5}
%cmake_build
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%cmake_install
%find_lang %{name} --all-name
#
# Replace original .desktop files with proper ones
#
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category X-Fedora \
--delete-original \
${RPM_BUILD_ROOT}%{_datadir}/services/kbibtex_part.desktop
%check
desktop-file-validate $RPM_BUILD_ROOT%{_kf5_datadir}/applications/*.desktop
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-category X-Fedora \
--delete-original \
${RPM_BUILD_ROOT}%{_datadir}/applnk/Office/kbibtex.desktop
#
# Install the icons into the hicolor folder
#
install -D ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/128x128/apps/kbibtex.png \
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/128x128/apps/kbibtex.png
rm ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/128x128/apps/kbibtex.png
install -D ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/16x16/apps/kbibtex.png \
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/16x16/apps/kbibtex.png
rm ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/16x16/apps/kbibtex.png
install -D ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/22x22/apps/kbibtex.png \
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/22x22/apps/kbibtex.png
rm ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/22x22/apps/kbibtex.png
install -D ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/32x32/apps/kbibtex.png \
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/32x32/apps/kbibtex.png
rm ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/32x32/apps/kbibtex.png
install -D ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/48x48/apps/kbibtex.png \
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/48x48/apps/kbibtex.png
rm ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/48x48/apps/kbibtex.png
install -D ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/64x64/apps/kbibtex.png \
${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/64x64/apps/kbibtex.png
rm ${RPM_BUILD_ROOT}%{_datadir}/icons/crystalsvg/64x64/apps/kbibtex.png
%files -f %{name}.lang
%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}/*
%post
update-desktop-database &> /dev/null ||:
%files libs
%license LICENSE
%{_libdir}/lib%{name}*.so.*
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files devel
%{_libdir}/lib%{name}*.so
%clean
rm -rf $RPM_BUILD_ROOT
%postun
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%{_bindir}/kbibtex
%{_libdir}/kde3/libkbibtexpart.la
%{_libdir}/kde3/libkbibtexpart.so
%{_datadir}/apps/kbibtexpart/
%{_datadir}/apps/kbibtex/
%{_docdir}/HTML/en/kbibtex/
%{_datadir}/icons/hicolor/128x128/apps/kbibtex.png
%{_datadir}/icons/hicolor/16x16/apps/kbibtex.png
%{_datadir}/icons/hicolor/22x22/apps/kbibtex.png
%{_datadir}/icons/hicolor/32x32/apps/kbibtex.png
%{_datadir}/icons/hicolor/48x48/apps/kbibtex.png
%{_datadir}/icons/hicolor/64x64/apps/kbibtex.png
%{_mandir}/man1/kbibtex.1.gz
%{_datadir}/applications/fedora-kbibtex.desktop
%{_datadir}/applications/fedora-kbibtex_part.desktop
%changelog
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.2-9
- Rebuilt for ICU 71.1
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 0.9.2-5
- Rebuild for ICU 69
* Tue Feb 2 2021 Robin Lee <cheeselee@fedoraproject.org> - 0.9.2-4
- Fix requirement of devel subpackage (RHBZ#1919474)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Jun 20 2020 Marie Loise Nolden <loise@kde.org> - 0.9.2-1
- Update to 0.9.2
* Mon May 18 2020 Pete Walter <pwalter@fedoraproject.org> - 0.9-6
- Rebuild for ICU 67
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 17 2020 Marek Kasik <mkasik@redhat.com> - 0.9-4
- Rebuild for poppler-0.84.0
* 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)
@ -141,7 +317,7 @@ fi
* Fri Sep 15 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.4-2
- Rebuild for FC6
* Wed Apr 27 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.4-1
* 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

View File

@ -1 +1 @@
83a8c1cade06837431b6ebe79d13ef7b kbibtex-0.1.5.tar.bz2
SHA512 (kbibtex-0.9.2.tar.xz) = b733339f21fac0be3125e375d59f9060514107532372504902240e4e744e2f62cdff73ef0ea267e96f1e58e15ce917d1d1fdd7a3811a89493e0caedc877ca63a