[kbibtex] - Scriptlets revised - Use description from upstream REAMDE
cheeselee
cheeselee at fedoraproject.org
Fri Jun 24 19:52:20 UTC 2011
commit 2b9366d42f1eb0f0ebca108b507147b1cb8b0895
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Sat Jun 25 03:52:36 2011 +0800
- Scriptlets revised
- Use description from upstream REAMDE
kbibtex.spec | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/kbibtex.spec b/kbibtex.spec
index a7d34f6..a562aac 100644
--- a/kbibtex.spec
+++ b/kbibtex.spec
@@ -1,6 +1,6 @@
Name: kbibtex
Version: 0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A BibTeX editor for KDE
Group: Applications/Editors
@@ -13,7 +13,8 @@ BuildRequires: poppler-qt4-devel
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
%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.
%prep
%setup -q
@@ -38,22 +39,19 @@ desktop-file-install \
/sbin/ldconfig
update-mime-database %{_datadir}/mime &> /dev/null || :
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
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
/sbin/ldconfig
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null ||:
if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
-gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%doc LICENSE README
@@ -69,6 +67,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%{_mandir}/man1/%{name}.1.*
%changelog
+* Sat Jun 25 2011 Robin Lee <cheeselee at fedoraproject.org> - 0.3-2
+- Scriptlets revised
+- Use description from upstream REAMDE
+
* Sat Jun 25 2011 Robin Lee <cheeselee at fedoraproject.org> - 0.3-1
- Update to 0.3
- BR: cmake kdelibs-devel poppler-qt4-devel added, kdelibs3-devel removed
More information about the scm-commits
mailing list