Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37398460
en ru br
Репозитории ALT

Группа :: Система/Интернационализация
Пакет: qgoogletranslator

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

Name: qgoogletranslator
Version: 1.2.1
Release: alt2.1
Summary: Qt gui for google translate based on ajax api
License: GPLv3
Group: System/Internationalization
URL: http://code.google.com/p/qgt/

Source: %name-%version.tar
Patch: qgoogletranslator-1.2.1-alt-glibc-2.16.patch

BuildRequires: gcc-c++ libqt4-devel
BuildRequires: cmake

Packager: Andrey Cherepanov <cas at altlinux.org>

%description
Description: dictionary lookup program, based on translate.google.com site
* Translation of selection buffer contents (by key press or automatically)
* Show up translation result in tool tip, main window and system tray
* Support for pronouncing feature
* Proxy support
* Reserved words (words, excluded from translation)
* Translation history
* Input language autodetection


%prep
%setup -q
%patch -p2
subst "s,/usr/local,%buildroot/usr/,g" ./CMakeLists.txt
subst "s,X11_LIBRARIES},X11_LIBRARIES} X11,g" ./CMakeLists.txt

%build
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS='%optflags' \
-DCMAKE_CXX_FLAGS='%optflags'
%make VERBOSE=1

%install
cd build
make install DESTDIR=%buildroot

%files
%_bindir/%name
%dir %_datadir/%name
%dir %_datadir/%name/l10n
%_datadir/%name/*
%_datadir/pixmaps/%name.png
%_datadir/applications/%name.desktop

%changelog

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

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