initial import
This commit is contained in:
parent
2f19cce855
commit
9107829ba5
@ -0,0 +1 @@
|
||||
ibp-0.21.tgz
|
11
ibp.desktop
Normal file
11
ibp.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=ibp
|
||||
GenericName=ibp
|
||||
Comment=A tool to show which IBP beacons is transmitting
|
||||
Exec=ibp
|
||||
Icon=ibp
|
||||
Terminal=true
|
||||
Type=Application
|
||||
Categories=HamRadio;
|
||||
Version=1.0
|
65
ibp.spec
Normal file
65
ibp.spec
Normal file
@ -0,0 +1,65 @@
|
||||
Name: ibp
|
||||
Version: 0.21
|
||||
Release: 1%{?dist}
|
||||
Summary: A tool to show which IBP beacons are transmitting
|
||||
|
||||
Group: Applications/Communications
|
||||
License: GPLv2
|
||||
URL: http://wwwhome.cs.utwente.nl/~ptdeboer/ham/ibp.html
|
||||
Source0: http://wwwhome.cs.utwente.nl/~ptdeboer/ham/ibp-0.21.tgz
|
||||
Source1: ibp.desktop
|
||||
Source2: ibp.png
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: imake, ncurses-devel, libX11-devel, desktop-file-utils
|
||||
#Requires:
|
||||
|
||||
%description
|
||||
The International Beacon Project is a set of 18 amateur (ham) radio
|
||||
transmitters around the world, each of which transmit every 3 minutes on a set
|
||||
of 5 short-wave frequencies. This allows short-wave radio users to quickly
|
||||
assess the current worldwide propagation conditions.
|
||||
Much more information can be found on http://www.ncdxf.org/beacons.html
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
xmkmf
|
||||
|
||||
|
||||
%build
|
||||
make -e CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 -p ibp %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
gzip ibp.1
|
||||
install -m 644 -p ibp.1.gz %{buildroot}%{_mandir}/man1
|
||||
# no upstream .desktop or icon yet
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps/
|
||||
cp %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
desktop-file-install \
|
||||
--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_bindir}/ibp
|
||||
%{_mandir}/man1/ibp.1.gz
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Sep 21 2008 Lucian Langa <cooly@gnome.eu.org> - 0.21-1
|
||||
- initial specfile
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user