File: baycomepp.spec

package info (click to toggle)
baycomepp 0.10-15
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,896 kB
  • ctags: 3,195
  • sloc: ansic: 32,213; sh: 3,795; makefile: 482; sed: 93; perl: 31; asm: 18
file content (53 lines) | stat: -rw-r--r-- 1,376 bytes parent folder | download | duplicates (6)
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
# Note that this is NOT a relocatable package
%define ver      0.10
%define rel      1
%define prefix   /usr

Summary: Driver and diagnostic utilities for the Baycom EPP modem family
Name: baycomepp
Version: %ver
Release: %rel
Copyright: GPL
Group: Networking/Hamradio
Source: baycomepp-%{ver}.tar.gz
BuildRoot: /tmp/baycomepp-root
Packager: Thomas Sailer <sailer@ife.ee.ethz.ch>
Obsoletes: baycomfpga, eppconv
Requires: /sbin/ifconfig /sbin/route /sbin/arp

%description
This package contains the driver and diagnostic utilities
for the Baycom EPP modem family, specifically the
conventional EPP modem (using the IDT 7213x FIFO's) and
the EPPFLEX FPGA modem (using the Xilinx XCS10).

%prep
%setup

%build
mkdir obj
cd obj
../configure --prefix=%prefix --localstatedir=/var --enable-driver --enable-ppuser --enable-ppkdrv 
make

%install
rm -rf $RPM_BUILD_ROOT
cd obj
make prefix=$RPM_BUILD_ROOT%{prefix} install
install -g root -o root -m 0755 -d $RPM_BUILD_ROOT/var/run
install -g root -o root -m 0755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -g root -o root -m 0755 ../udriver/baycomepp.initscript $RPM_BUILD_ROOT/etc/rc.d/init.d/baycomepp

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)

%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{prefix}/sbin/*
%{prefix}/bin/*
%{prefix}/man/*/*
/var/run
%{prefix}/libexec/*
%config /etc/rc.d/init.d/baycomepp