forked from huskyproject/fidoconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fidoconf.spec
52 lines (40 loc) · 959 Bytes
/
fidoconf.spec
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
%define reldate 20170513
%define reltype C
# may be one of: C (current), R (release), S (stable)
Name: fidoconf
Version: 1.9.%{reldate}%{reltype}
Release: 1
Group: Libraries/FTN
Summary: Common FTN configuration library
URL: http://husky.sf.net
License: GPL
Requires: perl >= 5.8.8
BuildRequires: huskylib >= 1.9, smapi >= 2.5
Source: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Common FTN configuration library for the Husky Project software.
%package utils
Group: Libraries/FTN
Summary: Utilities for %{name}
%description utils
Utilities for configuration library of the Husky Project software.
%summary
%prep
%setup -q -n %{name}
%build
make
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
chmod -R a+rX,u+w,go-w %{buildroot}
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_includedir}/%{name}/*
%{_libdir}/*.a
%files utils
%defattr(-,root,root)
%{_bindir}/*