Compare commits
34 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bbc24f4a4 | ||
|
|
e8a0233bb3 | ||
|
|
520800d3bc | ||
|
|
99b3ade9c7 | ||
|
|
7cb30fb42d | ||
|
|
c2e94e3db8 | ||
|
|
0594afe231 | ||
|
|
5522293276 | ||
|
|
883d33f947 | ||
|
|
9990ed0abd | ||
|
|
0326a708f1 | ||
|
|
f2be3d3a90 | ||
|
|
18b189522e | ||
|
|
cd1f4fad88 | ||
|
|
51852e8b8e | ||
|
|
767037e993 | ||
|
|
0d78abc2ff | ||
|
|
510ab792c7 | ||
|
|
45d2e7dbe0 | ||
|
|
b68273541a | ||
|
|
d7d662d36f | ||
|
|
42e14def9e | ||
|
|
db07301083 | ||
|
|
bb05491397 | ||
|
|
571f5ed9eb | ||
|
|
44545d6ba2 | ||
|
|
788acf2545 | ||
|
|
712e89f8e0 | ||
|
|
88e955bbeb | ||
|
|
d0f216e491 | ||
|
|
dfcf815b8a | ||
|
|
15552a624f | ||
|
|
6b49cb34a4 | ||
| f9afa0605e |
6 changed files with 121 additions and 53 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
xgridloc-0.9.tar.gz
|
||||
/xgridloc-*.tar.bz2
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
dd31139da9668030b92533f24902e4b4 xgridloc-0.9.tar.gz
|
||||
SHA512 (xgridloc-1.8.4.tar.bz2) = 3ba04e0771cf390a7b7d4062175ade4a24c75325ab1226132f1918a31d78396e1f1157c63043a05888878338d87006011248608461430d06ab837be91af3fa68
|
||||
|
|
|
|||
16
xgridloc-configure-c99.patch
Normal file
16
xgridloc-configure-c99.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Include <unistd.h> for the _exit function, to avoid an implicit
|
||||
function declaration. An equivalent fix is already included in the
|
||||
ultimate gnulib/libintl upstream project.
|
||||
|
||||
diff --git a/m4/intdiv0.m4 b/m4/intdiv0.m4
|
||||
index 744b99ea8da87ca1..f5cbd3e944362697 100644
|
||||
--- a/m4/intdiv0.m4
|
||||
+++ b/m4/intdiv0.m4
|
||||
@@ -33,6 +33,7 @@ changequote([,])dnl
|
||||
[AC_LANG_SOURCE([[
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
static void
|
||||
sigfpe_handler (int sig)
|
||||
BIN
xgridloc.png
BIN
xgridloc.png
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB |
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/sh
|
||||
#Wrapper script for xgridloc to ensure that user configuration is present
|
||||
xgridlocbin="/usr/libexec/xgridloc-bin"
|
||||
#check if user configuration is present
|
||||
if [ ! -e ~/.xgridlocrc ]
|
||||
then
|
||||
echo "Creating user configuration file"
|
||||
cp /usr/share/xgridloc/xgridlocrc ~/.xgridlocrc
|
||||
fi
|
||||
#launch xgridloc
|
||||
echo "Please configure your serial device in the .xgridlocrc file in your users home directory"
|
||||
$xgridlocbin
|
||||
142
xgridloc.spec
142
xgridloc.spec
|
|
@ -1,74 +1,138 @@
|
|||
Name: xgridloc
|
||||
Version: 0.9
|
||||
Release: 26%{?dist}
|
||||
Version: 1.8.4
|
||||
Release: 14%{?dist}
|
||||
Summary: A GTK+ application for the calculation of Maidenhead QRA Locators
|
||||
|
||||
Group: Applications/Communications
|
||||
License: GPLv3
|
||||
URL: http://5b4az.chronos.org.uk/pages/locator.html
|
||||
# Automatically converted from old format: GPLv3 - review is highly recommended.
|
||||
License: GPL-3.0-only
|
||||
URL: https://www.qsl.net/5b4az/
|
||||
|
||||
Source0: https://www.qsl.net/5b4az/pkg/locator/%{name}/%{name}-%{version}.tar.bz2
|
||||
|
||||
Source0: http://5b4az.chronos.org.uk/pkg/locator/%{name}/%{name}-%{version}.tar.gz
|
||||
# desktop file
|
||||
Source1: %{name}.desktop
|
||||
# icon file
|
||||
Source2: %{name}.png
|
||||
# default config file wrapper script
|
||||
Source3: xgridloc.sh.in
|
||||
Patch0: xgridloc-configure-c99.patch
|
||||
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: gtk3-devel
|
||||
|
||||
%description
|
||||
xgridloc is a GTK+ graphical version of gridloc and performs the same basic
|
||||
functions for ham radio operators, but additionally it can use xplanet to
|
||||
xgridloc is a GTK+ graphical version of gridloc and performs the same basic
|
||||
functions for ham radio operators, but additionally it can use xplanet to
|
||||
display the home and DX locations and the great circle path between them.
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}
|
||||
sh autogen.sh
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure LDFLAGS="-lm"
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" PACKAGE_LIBS="$PACKAGE_LIBS -lm"
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
# no upstream .desktop or icon yet so we'll use a temporary one.
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
|
||||
cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps/
|
||||
ln -rs %{buildroot}%{_datadir}/%{name}/%{name}.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
|
||||
|
||||
# no upstream .desktop so we'll use a temporary one
|
||||
desktop-file-install \
|
||||
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
|
||||
# --vendor="fedora" obsolete per new package guidelines.
|
||||
--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||
|
||||
# install default user configuration file
|
||||
install -p -D -m 0644 $RPM_BUILD_DIR/%{name}/default/.xgridlocrc $RPM_BUILD_ROOT%{_datadir}/%{name}/xgridlocrc
|
||||
|
||||
# move original binary to libexecdir
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
|
||||
mv $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{_libexecdir}/%{name}-bin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||
|
||||
# install wrapper script
|
||||
install -p -D -m 0755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/xgridloc
|
||||
|
||||
%files
|
||||
%doc AUTHORS NEWS README doc/%{name}.html COPYING
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_libexecdir}/%{name}-bin
|
||||
%doc AUTHORS NEWS README doc/%{name}.html
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/%{name}/xgridlocrc
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/pixmaps/%{name}.svg
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 1.8.4-10
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jan 11 2023 Florian Weimer <fweimer@redhat.com> - 1.8.4-5
|
||||
- Port configure script to C99 (#2160018)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Jul 19 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.4-1
|
||||
- New version
|
||||
Resolves: rhbz#1983096
|
||||
|
||||
* Sun Jul 11 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.3-2
|
||||
- Installed .glade file and icon system wide
|
||||
|
||||
* Thu Jul 8 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.3-1
|
||||
- New version
|
||||
- Simplified the SPEC file
|
||||
|
||||
* Wed Jul 7 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 1.8.2-32
|
||||
- Fixed no_home patch
|
||||
Resolves: rhbz#1965709
|
||||
- SPEC file cleanup
|
||||
|
||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Aug 29 2019 Richard Shaw <hobbes1069@gmail.com> - 1.8.2-1
|
||||
- Update to 1.8.2.
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue