-
Notifications
You must be signed in to change notification settings - Fork 0
/
gmfsk.spec.in
84 lines (68 loc) · 1.95 KB
/
gmfsk.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# gmfsk.spec
#
%define name gmfsk
%define version @VERSION@
%define release 1
%define skreq @SCROLLKEEPER_BUILD_REQUIRED@
Summary: Gnome MFSK, RTTY, THROB, PSK31, MT63 and HELLSCHREIBER terminal
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: Applications/Communications
Source: ftp://ftp.hes.iki.fi/pub/ham/unix/linux/hfmodems/%{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-root
BuildRequires: scrollkeeper >= %skreq
BuildRequires: hamlib-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: fftw2-devel
%description
gMFSK is a terminal program for MFSK, RTTY, THROB, PSK31, MT63
and HELLSCHREIBER.
%prep
%setup -q
%build
%configure --enable-hamlib
make
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
mkdir -p %{_datadir}/pixmaps
mkdir -p %{_datadir}/fonts
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING-DOCS ChangeLog INSTALL NEWS README
%{_bindir}/%{name}
%{_datadir}/pixmaps/%{name}
%{_datadir}/fonts/feldhell
%{_datadir}/omf/%{name}
%{_datadir}/gnome/help/%{name}
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_sysconfdir}/gconf/schemas/%{name}.schemas
%post
if which scrollkeeper-update >/dev/null 2>&1; then
echo "Doing scrollkeeper update."
scrollkeeper-update -q -o %{_datadir}/omf/%{name}
fi
if which gconftool-2 >/dev/null 2>&1; then
echo "Installing gconf schema."
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null
fi
%postun
if which scrollkeeper-update >/dev/null 2>&1; then
scrollkeeper-update -q
fi
%changelog
* Mon Jul 14 2003 Tomi Manninen <[email protected]>
- Added gconf stuff
%changelog
* Fri May 30 2003 Tomi Manninen <[email protected]>
- Updated for version 0.5.1
* Sat Apr 28 2001 Tomi Manninen <[email protected]>
- Create.