-
Notifications
You must be signed in to change notification settings - Fork 15
/
rpm.spec.in
51 lines (43 loc) · 942 Bytes
/
rpm.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
Name: @PACKAGE@
Summary: Free LZH archive tool
Version: @VERSION@
Release: 1
Source: https://github.com/downloads/fragglet/@PACKAGE@/@PACKAGE@-@[email protected]
URL: https://fragglet.github.io/lhasa/
Group: Applications/Archiving
BuildRoot: /var/tmp/@PACKAGE@-buildroot
License: ISC license
Packager: Simon Howard <@PACKAGE_BUGREPORT@>
Prefix: %{_prefix}
Autoreq: 0
%description
%(cat README)
See @PACKAGE_URL@ for more information.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--localstatedir=/var/lib \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc %{_mandir}/man1/*
/usr/bin/*
/usr/lib*/*
/usr/include/*/*