diff --git a/.cvsignore b/.cvsignore index e69de29..e1307d8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xdx-2.4.tar.gz diff --git a/sources b/sources index e69de29..26dadf3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9834e9759f7d6a0b7b2fe200020551d7 xdx-2.4.tar.gz diff --git a/xdx.spec b/xdx.spec new file mode 100644 index 0000000..3915d24 --- /dev/null +++ b/xdx.spec @@ -0,0 +1,74 @@ +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 2.4-2 +- Submit for review + +* Tue Dec 05 2007 Robert 'Bob' Jensen 2.4-1 +- Upstream update + +* Thu Nov 22 2007 Sindre Pedersen Bjørdal 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 2.3-1 +- Initial SPEC +