- Scriptlets revised
- Use description from upstream REAMDE
This commit is contained in:
parent
fd90319760
commit
2b9366d42f
20
kbibtex.spec
20
kbibtex.spec
@ -1,6 +1,6 @@
|
|||||||
Name: kbibtex
|
Name: kbibtex
|
||||||
Version: 0.3
|
Version: 0.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A BibTeX editor for KDE
|
Summary: A BibTeX editor for KDE
|
||||||
|
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
@ -13,7 +13,8 @@ BuildRequires: poppler-qt4-devel
|
|||||||
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
|
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -38,22 +39,19 @@ desktop-file-install \
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
touch --no-create %{_datadir}/icons/hicolor || :
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
||||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||||
update-desktop-database &> /dev/null ||:
|
update-desktop-database &> /dev/null ||:
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
touch --no-create %{_datadir}/icons/hicolor || :
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE README
|
%doc LICENSE README
|
||||||
@ -69,6 +67,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Sat Jun 25 2011 Robin Lee <cheeselee@fedoraproject.org> - 0.3-1
|
||||||
- Update to 0.3
|
- Update to 0.3
|
||||||
- BR: cmake kdelibs-devel poppler-qt4-devel added, kdelibs3-devel removed
|
- BR: cmake kdelibs-devel poppler-qt4-devel added, kdelibs3-devel removed
|
||||||
|
Loading…
Reference in New Issue
Block a user