rpms/kbibtex/devel kbibtex-qualifier.patch, NONE, 1.1 kbibtex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christian Nolte (noltec) fedora-extras-commits at redhat.com
Thu Jan 12 08:03:21 UTC 2006


Author: noltec

Update of /cvs/extras/rpms/kbibtex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5912/devel

Modified Files:
	.cvsignore sources 
Added Files:
	kbibtex-qualifier.patch kbibtex.spec 
Log Message:
auto-import kbibtex-0.1.3-3 on branch devel from kbibtex-0.1.3-3.src.rpm

kbibtex-qualifier.patch:

--- NEW FILE kbibtex-qualifier.patch ---
--- 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 );


--- NEW FILE kbibtex.spec ---
Name:		kbibtex
Version:	0.1.3
Release:	3%{?dist}
Summary:	A BibTeX editor for KDE  

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
Patch:		kbibtex-qualifier.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  kdebase-devel >= 3.3 libxslt-devel desktop-file-utils
#Requires:       
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description
KBibTeX is a BibTeX editor for KDE

%prep
%setup -q
%patch -p1 -b .qualifier


%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
#
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

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

%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
* 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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kbibtex/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Jan 2006 08:00:18 -0000	1.1
+++ .cvsignore	12 Jan 2006 08:03:21 -0000	1.2
@@ -0,0 +1 @@
+kbibtex-0.1.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kbibtex/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Jan 2006 08:00:18 -0000	1.1
+++ sources	12 Jan 2006 08:03:21 -0000	1.2
@@ -0,0 +1 @@
+ad603af9130ff1e0ad30ac618211bdc5  kbibtex-0.1.3.tar.bz2




More information about the scm-commits mailing list