mime scriptlets

epel8
Rex Dieter 11 years ago
parent d24e01c9a6
commit 12de7e5e76

@ -3,7 +3,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.1.0 Version: 5.1.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtCore Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtCore
License: GPLv2+ and GPLv2+ License: GPLv2+ and GPLv2+
@ -51,10 +51,19 @@ make %{?_smp_mflags} -C %{_target_platform}
%make_install -C %{_target_platform} %make_install -C %{_target_platform}
%find_lang kcoreaddons5_qt --with-qt --all-name %find_lang kcoreaddons5_qt --with-qt --all-name
%post -p /sbin/ldconfig %post
/sbin/ldconfig
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
%postun -p /sbin/ldconfig %postun
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi
%posttrans
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files -f kcoreaddons5_qt.lang %files -f kcoreaddons5_qt.lang
%doc COPYING.LIB README.md %doc COPYING.LIB README.md
@ -69,6 +78,9 @@ make %{?_smp_mflags} -C %{_target_platform}
%{_kf5_archdatadir}/mkspecs/modules/qt_KCoreAddons.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KCoreAddons.pri
%changelog %changelog
* Sat Aug 09 2014 Rex Dieter <rdieter@fedoraproject.org> 5.1.0-2
- mime scriptlets
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1 * Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
- KDE Frameworks 5.1.0 - KDE Frameworks 5.1.0

Loading…
Cancel
Save