|
|
f1fd667 |
Name: xlog
|
|
|
f1fd667 |
Version: 1.7
|
|
|
e2ba7e8 |
Release: 4%{?dist}
|
|
|
f1fd667 |
Summary: Logging program for Hamradio Operators
|
|
|
f1fd667 |
|
|
|
f1fd667 |
Group: Applications/Communications
|
|
|
f1fd667 |
License: GPLv3
|
|
|
f1fd667 |
URL: http://pg4i.chronos.org.uk/linux/%{name}.html
|
|
|
f1fd667 |
Source0: http://pg4i.chronos.org.uk/download/%{name}-%{version}.tar.gz
|
|
|
f1fd667 |
Patch0: xlog-1.7-doc.patch
|
|
|
f1fd667 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f1fd667 |
#BuildRequires: pkgconfig
|
|
|
f1fd667 |
BuildRequires: gtk2-devel
|
|
|
f1fd667 |
BuildRequires: libgnomeprint22-devel
|
|
|
f1fd667 |
BuildRequires: hamlib-devel
|
|
|
f1fd667 |
BuildRequires: shared-mime-info
|
|
|
f1fd667 |
BuildRequires: gettext-devel
|
|
|
6647c0b |
BuildRequires: desktop-file-utils
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%description
|
|
|
f1fd667 |
xlog is a logging program for amateur radio operators. The log is stored
|
|
|
f1fd667 |
into a text file. QSO's are presented in a list. Items in the list can be
|
|
|
f1fd667 |
added, deleted or updated. For each contact, dxcc information is displayed
|
|
|
f1fd667 |
and bearings and distance is calculated, both short and long path.
|
|
|
f1fd667 |
xlog supports trlog, adif, cabrillo, edit, twlog and editest files.
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%prep
|
|
|
f1fd667 |
%setup -q
|
|
|
f1fd667 |
%patch0 -p1 -b doc
|
|
|
f1fd667 |
#fix bogus .desktop file
|
|
|
f1fd667 |
sed -i -e "s/ApplicationHamRadio/Application/g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.desktop
|
|
|
f1fd667 |
sed -i -e "s/.png//g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.desktop
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%build
|
|
|
f1fd667 |
#missing directory from package
|
|
|
f1fd667 |
mkdir m4
|
|
|
f1fd667 |
autoreconf -i -f
|
|
|
f1fd667 |
%configure --enable-hamlib
|
|
|
f1fd667 |
make %{?_smp_mflags}
|
|
|
f1fd667 |
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%install
|
|
|
f1fd667 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f1fd667 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%find_lang %{name}
|
|
|
f1fd667 |
|
|
|
f1fd667 |
desktop-file-install --vendor fedora --delete-original \
|
|
|
f1fd667 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
f1fd667 |
--remove-category Application \
|
|
|
f1fd667 |
$RPM_BUILD_ROOT%{_datadir}/applications/xlog.desktop
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%post
|
|
|
f1fd667 |
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%postun
|
|
|
f1fd667 |
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
f1fd667 |
|
|
|
f1fd667 |
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%clean
|
|
|
f1fd667 |
rm -rf $RPM_BUILD_ROOT
|
|
|
f1fd667 |
|
|
|
f1fd667 |
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%files -f %{name}.lang
|
|
|
f1fd667 |
%defattr(-,root,root,-)
|
|
|
f1fd667 |
%doc AUTHORS BUGS ChangeLog COPYING NEWS README data/doc/manual data/doc/manual.tex data/glabels/qsllabels.glabels
|
|
|
f1fd667 |
%{_bindir}/%{name}
|
|
|
e2ba7e8 |
%dir %{_datadir}/%{name}
|
|
|
f1fd667 |
%{_datadir}/%{name}/dxcc
|
|
|
f1fd667 |
%{_datadir}/pixmaps/*
|
|
|
f1fd667 |
%{_datadir}/icons/gnome-mime-text-x-%{name}.png
|
|
|
f1fd667 |
%{_datadir}/icons/%{name}-icon.png
|
|
|
f1fd667 |
%{_datadir}/applications/mimeinfo.cache
|
|
|
f1fd667 |
%{_datadir}/applications/*.desktop
|
|
|
f1fd667 |
%{_datadir}/mime/packages/*
|
|
|
f1fd667 |
%{_mandir}/man?/*
|
|
|
f1fd667 |
|
|
|
f1fd667 |
|
|
|
f1fd667 |
%changelog
|
|
|
e2ba7e8 |
* Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.7-4
|
|
|
e2ba7e8 |
- include /usr/share/xlog
|
|
|
e2ba7e8 |
|
|
|
e63e1bd |
* Sat Aug 23 2008 Lucian Langa <cooly@gnome.eu.org> - 1.7-3
|
|
|
e63e1bd |
- fix rh bug 458817
|
|
|
e63e1bd |
|
|
|
f1fd667 |
* Wed Jul 16 2008 Lucian Langa <cooly@gnome.eu.org> - 1.7-2
|
|
|
f1fd667 |
- Proper documentation packing
|
|
|
f1fd667 |
- Misc cleanups
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Thu Feb 28 2008 Robert 'Bob' Jensen 1.7-1
|
|
|
f1fd667 |
- Upstream Version bump
|
|
|
f1fd667 |
- Submit for review
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Mon Dec 10 2007 Robert 'Bob' Jensen 1.6.2-2
|
|
|
f1fd667 |
- SPEC file clean up
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Mon Dec 10 2007 Robert 'Bob' Jensen 1.6.2-1
|
|
|
f1fd667 |
- Upstream Version bump
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Thu Nov 28 2007 Robert 'Bob' Jensen 1.6.1-2
|
|
|
f1fd667 |
- License update
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Thu Nov 28 2007 Robert 'Bob' Jensen 1.6.1-1
|
|
|
f1fd667 |
- Upstream Version bump to solve License issue in wwl.c
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Thu Nov 22 2007 Sindre Pedersen Bjørdal <foolish@guezz.net> 1.6-3
|
|
|
f1fd667 |
- Fix mimeinfo scriptlet
|
|
|
f1fd667 |
- Add desktop-file-utils shebang
|
|
|
f1fd667 |
- Fix .desktop file
|
|
|
f1fd667 |
- Update files list
|
|
|
f1fd667 |
- Update license
|
|
|
f1fd667 |
- Add gettext and shared-mime-info BRs
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Thu Nov 22 2007 Robert 'Bob' Jensen 1.6-2
|
|
|
f1fd667 |
- Fix BRs
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Mon Nov 19 2007 Robert 'Bob' Jensen 1.6-1
|
|
|
f1fd667 |
- Current xlog 1.6 requires gtk+-2.0 >= 2.12.0
|
|
|
f1fd667 |
- Build xlog 1.5 for F7
|
|
|
f1fd667 |
|
|
|
f1fd667 |
* Mon Nov 19 2007 Robert 'Bob' Jensen 1.3.1-1
|
|
|
f1fd667 |
- Initial Fedora spec
|
|
|
f1fd667 |
- use Joop's spec from version 1.3.1 as a base
|