diff --git a/.gitignore b/.gitignore index 3301c2a..17e6a31 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /tiled-qt-0.8.1.tar.gz /tiled-qt-0.9.0.tar.gz +/tiled-qt-0.9.1.tar.gz diff --git a/sources b/sources index 79fc85a..188ad81 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2e21a54ff17e34b49b8a330cc8b657e tiled-qt-0.9.0.tar.gz +d032b18e0ff7d5a4a843a1ac93a9f638 tiled-qt-0.9.1.tar.gz diff --git a/tiled.spec b/tiled.spec index 7eb974d..419db15 100644 --- a/tiled.spec +++ b/tiled.spec @@ -1,5 +1,5 @@ Name: tiled -Version: 0.9.0 +Version: 0.9.1 Release: 1%{?dist} Summary: Tiled Map Editor # tiled itself is GPLv2+, libtiled and tmxviewer are BSD @@ -43,25 +43,44 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop # Removed development file (this version does not install headers anyway) rm %{buildroot}/%{_libdir}/lib%{name}.so -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post +/sbin/ldconfig +/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +/sbin/ldconfig +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + %files -f %{name}.lang %doc AUTHORS NEWS README.md COPYING LICENSE.GPL LICENSE.BSD +%{_bindir}/automappingconverter %{_bindir}/%{name} %{_bindir}/tmxrasterizer %{_bindir}/tmxviewer %{_datadir}/applications/%{name}.desktop -%{_datadir}/%{name}/images +%{_datadir}/icons/hicolor/16x16/apps/tiled.png +%{_datadir}/icons/hicolor/32x32/apps/tiled.png +%{_datadir}/icons/hicolor/scalable/apps/tiled.svg %dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/translations %{_libdir}/lib%{name}.so.* %{_libdir}/%{name} +%{_mandir}/man1/automappingconverter.1* %{_mandir}/man1/%{name}.1* -%{_mandir}/man1/tmxviewer.1* %{_mandir}/man1/tmxrasterizer.1* +%{_mandir}/man1/tmxviewer.1* %changelog +* Sat Jul 27 2013 Erik Schilling 0.9.1-1 +- New upstream release 0.9.1 + * Sat Jan 12 2013 Erik Schilling 0.9.0-1 - New upstream release 0.9.0 - Dropped now obsolete patches and files