From 77e88295ddef8daa420cc62e096c214f403d6b79 Mon Sep 17 00:00:00 2001 From: Aleksandra Bookwar Date: Sat, 12 Nov 2011 01:57:19 +0100 Subject: [PATCH] Doc directory fixed --- minetest.spec | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/minetest.spec b/minetest.spec index e040ac9..5c35534 100644 --- a/minetest.spec +++ b/minetest.spec @@ -4,7 +4,7 @@ Name: minetest Version: 0.3.1 -Release: 1.git%{gitcommit}%{?dist}.R +Release: 2.git%{gitcommit}%{?dist}.R Summary: An InfiniMiner/Minecraft inspired game Group: Amusements/Games @@ -44,14 +44,18 @@ cp %{name}-icon.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps # Add desktop file desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} + +#Move doc directory back to the sources + +mkdir __doc +mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/* __doc +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name} %find_lang %{name} - %clean rm -rf $RPM_BUILD_ROOT - %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -72,21 +76,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}-icon.svg -%{_docdir}/%{name} - - -%doc doc/changelog.txt doc/gpl-2.0.txt doc/mapformat.txt doc/protocol.txt +%doc README.txt doc/changelog.txt doc/gpl-2.0.txt doc/mapformat.txt doc/protocol.txt %changelog +* Sat Nov 12 2011 Aleksandra Bookwar - 0.3.1-2.gitbc0e5c0.R +- Fixed doc directories + * Wed Nov 9 2011 Aleksandra Bookwar - 0.3.1-1.gitbc0e5c0.R -- Update to stable 0.3.1 version. +- Update to stable 0.3.1 version * Thu Nov 3 2011 Aleksandra Bookwar - 0.3.0-1.gitf65d157.R -- Update to stable 0.3.0 version. +- Update to stable 0.3.0 version * Fri Sep 30 2011 Aleksandra Bookwar - 0.2.20110922_2-2.git960009d -- Desktop file and icon. +- Desktop file and icon * Fri Sep 30 2011 Aleksandra Bookwar - 0.2.20110922_2-1.git960009d -- Basic build of the current stable version. +- Basic build of the current stable version