File: cwdaemon.spec.in

package info (click to toggle)
cwdaemon 0.9.5-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 888 kB
  • sloc: sh: 3,535; ansic: 1,835; makefile: 51
file content (62 lines) | stat: -rw-r--r-- 1,449 bytes parent folder | download | duplicates (5)
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
# cwdaemon.spec
#
# Copyright (c) 2003 -2004 Joop Stakenborg pg4i@amsat.org
#
%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: Joop Stakenborg <pg4i@amsat.org>
URL: http://www.qsl.net/pg4i/linux/cwdaemon.html
Packager: Joop Stakenborg <pg4i@amsat.org>
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