Package metromap: 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 121 122 123 124 125 126 127 128 129 | Name: metromap Version: 0.1.4 Release: alt2 Summary: Metro (subway) navigator License: GPLv2 Group: Office Url: http://metromap.antex.ru Source: %url/%name-%version.tar.bz2 Packager: Michael Shigorin <mike@altlinux.org> BuildArch: noarch BuildRequires: python-devel >= %_python_version # FIXME: not exactly elegant Requires: %name-map-Moscow = %version %description A simple pygtk+2 program to help finding paths through metropolitan (subway) routes. %define metromap_subpackage() \ %package map-%1 \ Summary: metro map for %2 \ Group: Office \ Requires: %name = %version-%release \ AutoReqProv: no \ \ %description map-%1 \ This package contains metro map for %2 city. \ \ %files map-%1 \ %_datadir/%name/data/%{1}* %define space %nil %nil %metromap_subpackage Berlin Berlin %metromap_subpackage Kiev Kiev %metromap_subpackage London London %metromap_subpackage Moscow Moscow %metromap_subpackage New-York New%{space}York %metromap_subpackage Paris Paris %metromap_subpackage Petersburg St.%{space}Petersburg %define python_libdir %_libdir/python%_python_version %define python_site_packages_dir %python_libdir/site-packages %prep %setup rm -f modules/MapDisplayGC.py* rm -rf tests find -type f -print0 -name '*.py' | xargs -r0 sed -ri 's,/usr/bin/python,&2,' sed -i 's,python,python2,' locale/Makefile %build mv data/Peter{,s}burg.pmz %install make install DESTDIR=%buildroot%prefix %find_lang %name %files -f %name.lang %_bindir/* %dir %_datadir/%name %dir %_datadir/%name/data %dir %_datadir/%name/modules/ %_datadir/%name/modules/* %_desktopdir/%name.desktop %_liconsdir/%name.png %doc doc/AUTHORS doc/NEWS doc/README doc/README.data doc/TODO %changelog * Sat May 02 2020 Michael Shigorin <mike@altlinux.org> 0.1.4-alt2 - avoid forbidden python dependency - minor spec cleanup * Tue Feb 14 2012 Michael Shigorin <mike@altlinux.org> 0.1.4-alt1 - 0.1.4: + python-2.7 fixes + updated map-{Moscow,Petersburg,Kiev} + thx upstream for notification ;-) - major spec cleanup (thx raorn@ for ruby-dbi.spec again) - renamed Peterburg data file to Petersburg * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.1.3-alt1.1 - Rebuild with Python-2.7 * Sat Sep 24 2011 Michael Shigorin <mike@altlinux.org> 0.1.3-alt1 - 0.1.3 + added New York and Paris * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.1.2-alt5.1 - Rebuilt with python 2.6 * Thu Jul 23 2009 Michael Shigorin <mike@altlinux.org> 0.1.2-alt5 - applied repocop patch * Sat Dec 06 2008 Michael Shigorin <mike@altlinux.org> 0.1.2-alt4 - added Packager: * Thu Dec 04 2008 Michael Shigorin <mike@altlinux.org> 0.1.2-alt3 - applied repocop patch * Sun May 04 2008 Michael Shigorin <mike@altlinux.org> 0.1.2-alt2 - added %_datadir/%name/modules/ to package filelist (thx at@) * Tue Feb 12 2008 Michael Shigorin <mike@altlinux.org> 0.1.2-alt1 - 0.1.2 * Sat Jan 26 2008 Grigory Batalov <bga@altlinux.ru> 0.1.2-alt0.pre3.1.1 - Rebuilt with python-2.5. * Sat Dec 29 2007 Eugene V. Horohorin <genix@altlinux.ru> 0.1.2-alt0.pre3.1 - 0.1.2pre3 * Tue Jan 16 2007 Michael Shigorin <mike@altlinux.org> 0.1.1-alt2 - changed menu group to "Office" (#10662) - added Packager: - spec cleanup - s/Peterburg/Petersburg/ - added freedesktop menu instead of debian's one * Sun Aug 14 2005 Eugene V. Horohorin <genix@altlinux.ru> 0.1.1-alt1 - new version * Sun Jun 19 2005 Eugene V. Horohorin <genix@altlinux.ru> 0.0.9-alt1 - initial build for Sisyphus. |