Репозиторий Sisyphus
Последнее обновление: 20 августа 2019 | Пакетов: 17342 | Посещений: 14671145
en ru br
Репозитории ALT
S:0.1.4-alt1
5.1: 0.1.2-alt5
4.1: 0.1.2-alt1
4.0: 0.1.1-alt2
3.0: 0.1.1-alt1
www.altlinux.org/Changes

Группа :: Офис
Пакет: metromap

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define beta %nil

Name: metromap
Version: 0.1.3
Release: alt1.1

Summary: Metro (subway) navigator
License: GPL
Group: Office

Url: http://metromap.antex.ru
Source: %url/%name-%version%beta.tar.bz2
Packager: Michael Shigorin <mike at altlinux.org>

BuildArch: noarch
BuildRequires: python-devel >= %_python_version

Requires: %name-map-Moscow = %version

%description
A simple pygtk+2 program for finding paths in metro (subway) maps.

%package map-Moscow
Summary: metro map for Moscow
Group: Office
Requires: %name = %version

%description map-Moscow
metro map for Moscow

%package map-Petersburg
Summary: metro map for Petersburg
Group: Office
Requires: %name = %version

%description map-Petersburg
metro map for Petersburg

%package map-London
Summary: metro map for London
Group: Office
Requires: %name = %version

%description map-London
metro map for London

%package map-Berlin
Summary: metro map for Berlin
Group: Office
Requires: %name = %version

%description map-Berlin
metro map for Berlin

%package map-Kiev
Summary: metro map for Kiev
Group: Office
Requires: %name = %version

%description map-Kiev
metro map for Kiev

%package map-New-York
Summary: metro map for New York
Group: Office
Requires: %name = %version

%description map-New-York
metro map for New York

%package map-Paris
Summary: metro map for Paris
Group: Office
Requires: %name = %version

%description map-Paris
metro map for Paris

%define python_libdir %_libdir/python%_python_version
%define python_site_packages_dir %python_libdir/site-packages

%prep
%setup -n %name-%version%beta
rm -f modules/MapDisplayGC.py*
rm -rf tests

%build
make install DESTDIR=%buildroot%prefix
%find_lang %name

# Menu

mkdir -p %buildroot%_desktopdir
cat << EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Name=MetroMap
GenericName=Metro (subway) navigation
Exec=metromap
Icon=metromap
Type=Application
Terminal=false
Categories=Gtk;Utility;Office;
EOF

%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

%files map-Moscow
%_datadir/%name/data/Moscow*

%files map-Petersburg
%_datadir/%name/data/Peterburg*

%files map-London
%_datadir/%name/data/London*

%files map-Berlin
%_datadir/%name/data/Berlin*

%files map-Kiev
%_datadir/%name/data/Kiev*

%files map-New-York
%_datadir/%name/data/New-York*

%files map-Paris
%_datadir/%name/data/Paris*

# TODO:

# - recall and use the proper parametrized macro (mind the "-")

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin