-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathgrig.spec.in
58 lines (48 loc) · 1.21 KB
/
grig.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
# grig.spec
#
# Copyright (c) 2001-2004 Alexandru Csete <csete@users.sourceforge.net>
#
%define name grig
%define version @VERSION@
%define release 1
# required items
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Group: Application/Communication
Prefix: /usr
BuildRoot: /var/tmp/%{name}-%{version}
Summary: Graphical user interface for the Ham Radio Control Libraries
Vendor: Alexandru Csete <csete@users.sourceforge.net>
URL: http://groundstation.sourceforge.net/
Packager: Alexandru Csete <csete@users.sourceforge.net>
Source: %{name}-%{version}.tar.gz
%description
Grig is a graphical user interface for the ham radio control libraries (hamlib).
It can be used to control any amateur radio equipment which is supported by
hamlib.
%prep
%setup -q
%build
export RPM_OPT_FLAGS="-O2 -march=i386"
export CFLAGS="-O2"
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog
/usr/bin/grig
/usr/share/grig/pixmaps/*.png
/usr/share/man/man1/grig.1.gz
%changelog
* Tue Aug 16 2005 Alexandru Csete
- Fix erroneous pixmap directories.
* Thu Oct 21 2004 Alexandru Csete
- Initial spec file.