-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinkpulp-quota.spec
40 lines (31 loc) · 937 Bytes
/
inkpulp-quota.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
Name: inkpulp-quota
Version: 1.0.2
Release: 1%{?dist}
Summary: A quota checking tool for PaperCut servers.
Group: Applications/System
License: GPL
URL: UNKNOWN
Source0: inkpulp-quota-1.0.2.tar.gz
#BuildRequires:
#Requires:
%description
InkPulp-Quota (ipq) is a very simple tool that
allows Linux users to query their remaining
quota on PaperCut servers from the command line.
%prep
%setup -q
%build
%install
mkdir -p ${RPM_BUILD_ROOT}/etc
mkdir -p ${RPM_BUILD_ROOT}/usr/share/inkpulp-quota
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
cp inkpulp-quota.yml ${RPM_BUILD_ROOT}/etc/
cp inkpulp-quota.pyo ${RPM_BUILD_ROOT}/usr/share/inkpulp-quota/
cp inkpulp-quota.sh ${RPM_BUILD_ROOT}/usr/share/inkpulp-quota/
ln -s /usr/share/inkpulp-quota/inkpulp-quota.sh ${RPM_BUILD_ROOT}/usr/bin/ipq
%files
%config /etc/inkpulp-quota.yml
/usr/share/inkpulp-quota/inkpulp-quota.pyo
/usr/share/inkpulp-quota/inkpulp-quota.sh
/usr/bin/ipq
%changelog