2006-01-12 08:03:21 +00:00
|
|
|
Name: kbibtex
|
2008-03-31 19:54:49 +00:00
|
|
|
Version: 0.2
|
2009-02-25 10:17:59 +00:00
|
|
|
Release: 15%{?dist}
|
2006-01-12 08:03:21 +00:00
|
|
|
Summary: A BibTeX editor for KDE
|
|
|
|
|
|
|
|
Group: Applications/Editors
|
2008-03-31 19:54:49 +00:00
|
|
|
License: GPLv2+
|
2006-01-12 08:03:21 +00:00
|
|
|
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
|
2008-03-31 19:54:49 +00:00
|
|
|
Patch1: kbibtex-0.2-desktop-file-type.patch
|
2006-01-12 08:03:21 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2008-03-31 19:54:49 +00:00
|
|
|
BuildRequires: kdelibs3-devel >= 3.3 libxslt-devel desktop-file-utils
|
2006-01-12 08:03:21 +00:00
|
|
|
#Requires:
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
|
|
|
|
%description
|
|
|
|
KBibTeX is a BibTeX editor for KDE
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-03-31 19:54:49 +00:00
|
|
|
%patch1 -p1 -b .type
|
2006-01-12 08:03:21 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
|
|
|
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
|
|
|
|
|
|
|
|
%configure --disable-rpath --disable-debug
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
#
|
|
|
|
# Replace original .desktop files with proper ones
|
|
|
|
#
|
2006-12-05 22:13:07 +00:00
|
|
|
desktop-file-install --vendor fedora \
|
|
|
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
--add-category X-Fedora \
|
|
|
|
--delete-original \
|
2006-01-12 08:03:21 +00:00
|
|
|
${RPM_BUILD_ROOT}%{_datadir}/services/kbibtex_part.desktop
|
|
|
|
|
2006-12-05 22:13:07 +00:00
|
|
|
desktop-file-install --vendor fedora \
|
|
|
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
--add-category X-Fedora \
|
2006-01-12 08:03:21 +00:00
|
|
|
--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
|
|
|
|
|
|
|
|
%post
|
|
|
|
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
|
|
|
|
|
|
|
|
%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
|
2009-02-25 10:17:59 +00:00
|
|
|
* 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
|
|
|
|
|
2008-03-31 19:54:49 +00:00
|
|
|
* 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)
|
2008-03-02 18:48:06 +00:00
|
|
|
|
2008-03-31 19:54:49 +00:00
|
|
|
* 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-02-19 16:17:54 +00:00
|
|
|
|
2007-07-09 20:57:29 +00:00
|
|
|
* Mon Jul 09 2007 Christian Nolte <ch.nolte at noltec.org> - 0.1.5.52-11
|
|
|
|
- Updated to latest upstream version
|
|
|
|
|
2007-03-21 19:42:38 +00:00
|
|
|
* Wed Mar 21 2007 Christian Nolte <ch.nolte at noltec.org> - 0.1.5-8
|
|
|
|
- latest patches (storesearchurls, webquerypubmedmultiplequeries,
|
|
|
|
xslhtmlexport)
|
|
|
|
|
2006-12-05 22:13:07 +00:00
|
|
|
* 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)
|
|
|
|
|
2006-10-29 14:27:00 +00:00
|
|
|
* Sun Oct 29 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.5-2
|
|
|
|
- latest released patches (filteredselection,gcc4.2,viewdocument)
|
|
|
|
|
2006-10-18 12:05:17 +00:00
|
|
|
* Wed Oct 18 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.5-1
|
|
|
|
- Update to 0.1.5
|
|
|
|
|
2006-09-15 07:04:54 +00:00
|
|
|
* Fri Sep 15 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.4-2
|
|
|
|
- Rebuild for FC6
|
|
|
|
|
2006-04-27 18:53:10 +00:00
|
|
|
* Wed Apr 27 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.4-1
|
|
|
|
- Update to the version 0.1.4
|
2006-03-01 12:57:32 +00:00
|
|
|
|
2006-01-12 08:03:21 +00:00
|
|
|
* 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
|