-
Notifications
You must be signed in to change notification settings - Fork 5
/
cwdaemon.spec.in
65 lines (57 loc) · 1.55 KB
/
cwdaemon.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
# cwdaemon.spec
#
# Copyright (C) 2003 - 2004 Joop Stakenborg pg4i@amsat.org
# Copyright (C) 2012 - 2024 Kamil Ignacak <acerion@wp.pl>
#
%define name cwdaemon
%define version @VERSION@
%define release 1
# required items
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Group: Daemons
Prefix: /usr
BuildRoot: /var/tmp/%{name}-%{version}
Summary: Morse daemon for the parallel or serial port
Vendor: Kamil Ignacak <acerion@wp.pl>
URL: http://cwdaemon.sourceforge.net/
Packager: Kamil Ignacak <acerion@wp.pl>
Source: %{name}-%{version}.tar.gz
%description
Cwdaemon is a small daemon which uses the pc parallel or serial port
and a simple transistor switch to output morse code to a transmitter
from a text message sent to it via the udp internet protocol.
%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/sbin/cwdaemon
/usr/share/man/man8/cwdaemon.8.gz
/usr/share/cwdaemon/README
/usr/share/cwdaemon/parallelport_circuit.ps
/usr/share/cwdaemon/serialport_circuit.ps
/usr/share/cwdaemon/parallelport_circuit.jpg
/usr/share/cwdaemon/serialport_circuit.jpg
/usr/share/cwdaemon/cwtest.sh
/usr/share/cwdaemon/cwsetup.sh
/usr/share/cwdaemon/cwtest.c
/usr/share/cwdaemon/cwdaemon.png
%changelog
* Sat Jan 18 2003 Joop Stakenborg
- Initial spec file
* Tue Jul 03 2012 Kamil Ignacak
- Updating the file after taking the project over by new maintainer.