forked from ptesarik/makedumpfile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makedumpfile.spec
50 lines (42 loc) · 1.2 KB
/
makedumpfile.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
Name: makedumpfile
Summary: makedumpfile package
Version: 1.5.9
Release: 1
Group: Applications/Text
License: GPL
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Distribution: Linux 2.6 or greater
Packager: Atsushi Kumagai <[email protected]>
ExclusiveOS: Linux
ExclusiveArch: i386 ia64 ppc ppc64 ppc64pseries ppc64iseries x86_64
Buildroot: %{_tmppath}/%{name}-root
BuildRequires: zlib-devel elfutils-devel-static
%description
makedumpfile package.
%prep
%setup
%build
make
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/etc
mkdir -p %{buildroot}/usr/share/man/man5
mkdir -p %{buildroot}/usr/share/man/man8
mkdir -p %{buildroot}/usr/share/%{name}-%{version}/eppic-scripts/
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
/etc/makedumpfile.conf.sample
/usr/sbin/makedumpfile
/usr/sbin/makedumpfile-R.pl
/usr/share/man/man5/makedumpfile.conf.5.gz
/usr/share/man/man8/makedumpfile.8.gz
/usr/share/%{name}-%{version}/eppic_scripts/
%changelog
* Wed Dec 18 2013 Atsushi Kumagai <[email protected]>
- reflect the changing of installation directory.
* Fri Aug 21 2008 Ken'ichi Ohmichi <[email protected]>
- initial release.