File: tqsllib.spec.in

package info (click to toggle)
tqsllib 2.0-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,460 kB
  • ctags: 1,081
  • sloc: sh: 8,309; cpp: 7,980; xml: 4,068; makefile: 102
file content (68 lines) | stat: -rw-r--r-- 1,559 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
63
64
65
66
67
68
Summary: The TrustedQSL library
Name: tqsllib
Version: @VERSION@
Release: 2
Copyright: Custom BSD-like
Group: Development/Libraries
Source: tqsllib-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Requires: openssl expat zlib
BuildPrereq: openssl-devel expat-devel zlib-devel

%package devel
Summary: The TrustedQSL Library development tools
Group: System/Libraries

%description
The TrustedQSL library is used for generating digitally signed
QSO records (records of Amateur Radio contacts). This package
contains the library and configuration files needed to run
TrustedQSL applications.

%description devel
The TrustedQSL library is used for generating digitally signed
QSO records (records of Amateur Radio contacts). This package
contains the header files needed to build TrustedQSL applications
as well as a static tqsllib library and API documentation.

%prep
%setup -q -n tqsllib-%{version}

%build
# use --disable-docs because RPM handles docs itself
./configure --prefix=/usr --disable-docs
make

%install
make DESTDIR=$RPM_BUILD_ROOT install-strip

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc LICENSE ChangeLog

/usr/lib/libtqsllib.so
/usr/lib/libtqsllib.so.1
/usr/lib/libtqsllib.so.1.0.0
/usr/share/tqsl/config.xml
/usr/bin/dumptqsldata

%files devel
%defattr(-,root,root)
%doc LICENSE ChangeLog doxygen/html

/usr/lib/libtqsllib.a
/usr/lib/libtqsllib.la
/usr/include/tqsllib.h
/usr/include/tqslerrno.h
/usr/include/cabrillo.h
/usr/include/adif.h
/usr/include/tqslconvert.h

%post
/sbin/ldconfig

%postun
/sbin/ldconfig