74 lines
1.9 KiB
RPMSpec
74 lines
1.9 KiB
RPMSpec
Name: xdx
|
|
Version: 2.4
|
|
Release: 2%{?dist}
|
|
Summary: DX-cluster tcp/ip client for amateur radio
|
|
|
|
Group: Applications/Communications
|
|
License: GPLv2+
|
|
URL: http://pg4i.chronos.org.uk/linux/%{name}.html
|
|
Source0: http://pg4i.chronos.org.uk/download/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: pkgconfig, gtk2-devel, gettext, desktop-file-utils
|
|
#Requires:
|
|
|
|
%description
|
|
Xdx is a client to connect to a DX-cluster. Dx messages will be displayed
|
|
in a list, announcements will go to a text display.
|
|
|
|
As well as the usual functions, if you have hamlib installed it can control
|
|
the radio and set the frequency simply by double clicking a DX-spot
|
|
(using rigctl).
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%find_lang %{name}
|
|
|
|
desktop-file-install --vendor fedora --delete-original \
|
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
--remove-category Application \
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/Xdx.desktop
|
|
|
|
#don't include backup file in package
|
|
rm -f `find $RPM_BUILD_ROOT -name *~`
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc README AUTHORS ChangeLog COPYING NEWS
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/man/man1/%{name}.1.gz
|
|
|
|
|
|
%changelog
|
|
* Thu Feb 28 2008 Robert 'Bob' Jensen <bob@bobjensen.com> 2.4-2
|
|
- Submit for review
|
|
|
|
* Tue Dec 05 2007 Robert 'Bob' Jensen <bob@bobjensen.com> 2.4-1
|
|
- Upstream update
|
|
|
|
* Thu Nov 22 2007 Sindre Pedersen Bjørdal <foolish@guezz.net> 2.3-2
|
|
- Update License to GPLv2+
|
|
- Add gettext dependency
|
|
- Add desktop-file-utils shebang
|
|
- Don't include backup files
|
|
|
|
* Tue Nov 20 2007 Robert 'Bob' Jensen <bob@bobjensen.com> 2.3-1
|
|
- Initial SPEC
|
|
|