Group :: Comunicações
RPM: wxdialer
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: wxdialer
Version: 0.2.1
Release: alt5
Summary: A phone dialer written in wxPython
Summary(ru_RU.KOI8-R): ðÒÏÇÒÁÍÍÁ ÎÁÂÏÒÁ ÎÏÍÅÒÁ, ÎÁÐÉÓÁÎÎÁÑ ÎÁ wxPython
License: GPL
Group: Communications
Url: http://wxdialer.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: wxDialer-%version.tar.bz2
Source1: %name.png
Patch: wxDialer-%version-etersoft.patch
Patch1: %name-gettext.patch
BuildArchitectures: noarch
# Automatically added by buildreq on Mon Jun 28 2004
BuildRequires: python-base python-modules-encodings
Requires: python = %__python_version
BuildPreReq: python-devel >= %__python_version
%set_python_req_method "strict"
%define installdir %_libdir/python%__python_version/tools
%description
wxDialer is a simple and easy to use dialer program, roughly based on the win9x
program 'dialer.exe' - all it does is allow you to make and receive calls on
your modem. A microphone is required, and it is suggested that you also have
headphones instead of using your speakers to prevent any nasty feedback. A
telephone headset, naturally, is best for this.
%description -l ru_RU.KOI8-R
wxDialer - ÜÔÏ ÐÒÏÓÔÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÎÁÂÏÒÁ ÎÏÍÅÒÁ ÞÅÒÅÚ ÍÏÄÅÍ. ÷Ó£, ÞÔÏ ÏÎÁ
ÄÅÌÁÅÔ - ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ÄÅÌÁÔØ É ÐÒÉÎÉÍÁÔØ Ú×ÏÎËÉ ÞÅÒÅÚ ÍÏÄÅÍ. ÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ
ÍÉËÒÏÆÏÎ, É ÔÁË ÖÅ ÐÒÅÄÐÏÌÁÇÁÅÔÓÑ, ÞÔÏ ×Ù ÉÓÐÏÌØÚÕÅÔÅ ÎÁÕÛÎÉËÉ ×ÍÅÓÔÏ ËÏÌÏÎÏË,
ÞÔÏÂÙ ÉÚÂÅÖÁÔØ ×ÏÚÎÉËÎÏ×ÅÎÉÑ ÜÆÆÅËÔÁ ÏÂÒÁÔÎÏÊ Ó×ÑÚÉ. ôÅÌÅÆÏÎÎÁÑ ÇÁÒÎÉÔÕÒÁ - ÌÕÞÛÉÊ
×ÁÒÉÁÎÔ ÄÌÑ ÜÔÏÇÏ.
%prep
%setup -n wxDialer-%version
%patch -p1
%patch1
#mv ru.po ru.tmp && cat ru.tmp | sed "s|KOI8-R|UTF-8|g" | iconv -f koi8-r -t utf8 > ru.po
%build
%make
%install
%makeinstall
%__install -d %buildroot%_bindir
%__install -D -m0755 wxDialer.py %buildroot%installdir/%name.py
ln -s %installdir/%name.py %buildroot%_bindir/%name
%__install -D -m644 %SOURCE1 %buildroot%_iconsdir/%name.png
%__install -d -m 0755 %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name):command="%name" \
needs="x11" \
section="Applications/Communications" \
title="wxDialer" \
longtitle="A phone dialer written in wxPython" \
genericname="Phone dialer" \
icon="%name.png"
EOF
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc README TODO
%_bindir/*
%_menudir/%name
%_iconsdir/*
%installdir/%name.py
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.2.1
Release: alt5
Summary: A phone dialer written in wxPython
Summary(ru_RU.KOI8-R): ðÒÏÇÒÁÍÍÁ ÎÁÂÏÒÁ ÎÏÍÅÒÁ, ÎÁÐÉÓÁÎÎÁÑ ÎÁ wxPython
License: GPL
Group: Communications
Url: http://wxdialer.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: wxDialer-%version.tar.bz2
Source1: %name.png
Patch: wxDialer-%version-etersoft.patch
Patch1: %name-gettext.patch
BuildArchitectures: noarch
# Automatically added by buildreq on Mon Jun 28 2004
BuildRequires: python-base python-modules-encodings
Requires: python = %__python_version
BuildPreReq: python-devel >= %__python_version
%set_python_req_method "strict"
%define installdir %_libdir/python%__python_version/tools
%description
wxDialer is a simple and easy to use dialer program, roughly based on the win9x
program 'dialer.exe' - all it does is allow you to make and receive calls on
your modem. A microphone is required, and it is suggested that you also have
headphones instead of using your speakers to prevent any nasty feedback. A
telephone headset, naturally, is best for this.
%description -l ru_RU.KOI8-R
wxDialer - ÜÔÏ ÐÒÏÓÔÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÎÁÂÏÒÁ ÎÏÍÅÒÁ ÞÅÒÅÚ ÍÏÄÅÍ. ÷Ó£, ÞÔÏ ÏÎÁ
ÄÅÌÁÅÔ - ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ÄÅÌÁÔØ É ÐÒÉÎÉÍÁÔØ Ú×ÏÎËÉ ÞÅÒÅÚ ÍÏÄÅÍ. ÷ÁÍ ÐÏÔÒÅÂÕÅÔÓÑ
ÍÉËÒÏÆÏÎ, É ÔÁË ÖÅ ÐÒÅÄÐÏÌÁÇÁÅÔÓÑ, ÞÔÏ ×Ù ÉÓÐÏÌØÚÕÅÔÅ ÎÁÕÛÎÉËÉ ×ÍÅÓÔÏ ËÏÌÏÎÏË,
ÞÔÏÂÙ ÉÚÂÅÖÁÔØ ×ÏÚÎÉËÎÏ×ÅÎÉÑ ÜÆÆÅËÔÁ ÏÂÒÁÔÎÏÊ Ó×ÑÚÉ. ôÅÌÅÆÏÎÎÁÑ ÇÁÒÎÉÔÕÒÁ - ÌÕÞÛÉÊ
×ÁÒÉÁÎÔ ÄÌÑ ÜÔÏÇÏ.
%prep
%setup -n wxDialer-%version
%patch -p1
%patch1
#mv ru.po ru.tmp && cat ru.tmp | sed "s|KOI8-R|UTF-8|g" | iconv -f koi8-r -t utf8 > ru.po
%build
%make
%install
%makeinstall
%__install -d %buildroot%_bindir
%__install -D -m0755 wxDialer.py %buildroot%installdir/%name.py
ln -s %installdir/%name.py %buildroot%_bindir/%name
%__install -D -m644 %SOURCE1 %buildroot%_iconsdir/%name.png
%__install -d -m 0755 %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name):command="%name" \
needs="x11" \
section="Applications/Communications" \
title="wxDialer" \
longtitle="A phone dialer written in wxPython" \
genericname="Phone dialer" \
icon="%name.png"
EOF
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%doc README TODO
%_bindir/*
%_menudir/%name
%_iconsdir/*
%installdir/%name.py
%changelog
…
Todas as alterações você pod ver aqui