Package manaworld: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-macros-fedora-compat BuildRequires: gcc-c++ # END SourceDeps(oneline) Name: manaworld Version: 0.5.2 Release: alt5_9 Summary: 2D MMORPG world Group: Games/Other License: GPLv2+ URL: http://themanaworld.org Source0: http://downloads.sourceforge.net/themanaworld/The%%20Mana%%20World/%{version}/tmw-%{version}.tar.bz2 Patch0: manaworld-removeflagoverride.patch Requires: fonts-ttf-dejavu BuildRequires: libguichan-devel >= 0.8.1 desktop-file-utils libphysfs-devel BuildRequires: curl-devel libxml2-devel libpng-devel BuildRequires: libSDL_image-devel libSDL_mixer-devel libSDL_net-devel libSDL_ttf-devel BuildRequires: libSDL_gfx-devel gzip ctest cmake gettext Source44: import.info Patch55: manaworld-DSO-X11.patch Patch33: tmw-0.5.2-gcc11.patch %description The Mana World (TMW) is a serious effort to create an innovative free and open source MMORPG. TMW uses 2D graphics and aims to create a large and diverse interactive world. %prep %setup -q -c -n tmw-%{version} %patch0 -p0 %patch55 -p0 %patch33 -p1 %build %{fedora_cmake} %install make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ --vendor fedora \ --dir $RPM_BUILD_ROOT/%{_datadir}/applications/ \ --delete-original \ --remove-category=Application \ --add-category=RolePlaying \ $RPM_BUILD_ROOT%{_datadir}/applications/mana.desktop mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/mana.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps rmdir $RPM_BUILD_ROOT%{_datadir}/pixmaps # Use system fonts instead of bundled fonts rm -f $RPM_BUILD_ROOT%{_datadir}/mana/data/fonts/*.ttf ln -s %{_datadir}/fonts/ttf/dejavu/DejaVuSans.ttf $RPM_BUILD_ROOT%{_datadir}/mana/data/fonts/dejavusans.ttf ln -s %{_datadir}/fonts/ttf/dejavu/DejaVuSans-Bold.ttf $RPM_BUILD_ROOT%{_datadir}/mana/data/fonts/dejavusans-bold.ttf mkdir -p $RPM_BUILD_ROOT%{_datadir}/man/man6 gzip -c docs/mana.6 > $RPM_BUILD_ROOT%{_datadir}/man/man6/mana.6.gz %find_lang mana %files -f mana.lang %{_bindir}/mana %{_datadir}/mana %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/32x32/apps/*.png %{_mandir}/man6/*.* %doc AUTHORS COPYING NEWS README docs/*.txt %changelog * Fri Sep 24 2021 Igor Vlasenko <viy@altlinux.org> 0.5.2-alt5_9 - NMU: fixed build with g++11 * Tue Mar 05 2019 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt4_9 - rebuild with new libpng * Wed Jun 10 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.5.2-alt3_9.1.1 - Rebuilt for gcc5 C++11 ABI. * Thu Dec 04 2014 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt3_9.1 - rebuild with new SDL * Fri Oct 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.2-alt2_9.1 - Rebuilt with libpng15 * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt2_9 - update to new release by fcimport * Wed May 09 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt2_8 - update to new release by fcimport * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt2_6 - rebuild with fixed sourcedep analyser (#27020) * Sat Jan 21 2012 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt1_6 - update to new release by fcimport * Mon Dec 19 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt1_5 - update to new release by fcimport * Tue Nov 08 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt1_4 - update to new release by fcimport * Thu Jul 28 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt1_3 - update to new release by fcimport * Fri Jul 15 2011 Igor Vlasenko <viy@altlinux.ru> 0.5.2-alt1_2 - update to new release by fcimport * Fri Mar 25 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.0.29.1-alt1_4.1 - Rebuilt with libphysfs 2.0.2 * Thu Feb 17 2011 Igor Vlasenko <viy@altlinux.ru> 0.0.29.1-alt1_4 - converted from Fedora by srpmconvert script |