Репозиторий Sisyphus
Последнее обновление: 26 сентября 2017 | Пакетов: 17913 | Посещений: 10042555
en ru br
Репозитории ALT

Группа :: Коммуникации
Пакет: cqrlog

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

Name: cqrlog
Version: 2.1.0
Release: alt1
Summary: An amateur radio contact logging program

Group: Communications
License: GPLv2
URL: http://www.cqrlog.com/
Source0: %name-%version.tar
# VCS: https://github.com/ok2cqr/cqrlog

Patch0: cqrlog-install.patch

BuildRequires: fpc >= 2.6.4
BuildRequires: lazarus
BuildRequires: hamlib-devel
BuildRequires: libssl-devel
BuildRequires: desktop-file-utils

Requires: mariadb-server
Requires: trustedqsl
Requires:       hamlib

%description
CQRLOG is an advanced ham radio logger based on MySQL database. Provides
radio control based on hamlib libraries (currently support of 140+ radio
types and models), DX cluster connection, QRZ callbook (web version), a
grayliner, internal QSL manager database support and a most accurate
country resolution algorithm based on country tables developed by OK1RR.
CQRLOG is intended for daily general logging of HF, CW & SSB contacts
and strongly focused on easy operation and maintenance.

%prep
%setup -q
%patch0 -p1

chmod -x src/*.pas \
        voice_keyer/voice_keyer.sh

%build
%make_build

%install
%makeinstall_std

find %buildroot%_datadir/%name -name \*.txt | xargs subst 's/\r//'
subst 's/\r//' %buildroot%_datadir/%name/ctyfiles/CountryDel.tab
subst 's/\r//' %buildroot%_datadir/%name/ctyfiles/MASTER.SCP

iconv -f iso8859-1 -t utf-8 %buildroot%_datadir/%name/ctyfiles/eqsl.txt > eqsl.txt.conv && /bin/mv -f eqsl.txt.conv %buildroot%_datadir/%name/ctyfiles/eqsl.txt

rm -rf %buildroot%_datadir/%name/cqrlog-apparmor-fix
# Move icons to appropriate places
for i in 32 48 64 128 256; do
install -Dm 0644 %buildroot%_iconsdir/%name/${i}x${i}/%name.png %buildroot%_iconsdir/hicolor/${i}x${i}/apps/%name.png
done
rm -rf %buildroot%_iconsdir/%name

%files
%doc README.md src/AUTHORS src/CHANGELOG src/README src/COPYING
%_bindir/%name
%_datadir/%name/
%_desktopdir/%name.desktop
%_pixmapsdir/%name/
%_man1dir/%name.1.*
%_iconsdir/hicolor/*/apps/%name.png

%changelog

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

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