File: grc.spec.old

package info (click to toggle)
grc 1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 216 kB
  • ctags: 90
  • sloc: python: 289; makefile: 39; sh: 35
file content (52 lines) | stat: -rw-r--r-- 1,321 bytes parent folder | download | duplicates (11)
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
# Note that this is NOT a relocatable package
%define ver      1.0
%define rel      1
%define prefix   /usr
%define confdir  /etc

Summary:   Generic Colouriser
Name:      grc
Version:   %ver
Release:   %rel
Copyright: GPL
Group:     Console/Utilities
Source:    grc_%{PACKAGE_VERSION}.tar.gz
URL:       http://melkor.dnp.fmph.uniba.sk/~garabik/grc.html
BuildRoot: %{_tmppath}/grc-%{PACKAGE_VERSION}-root
Packager:  Christian Zuckschwerdt <zany@triq.net>

%description
Generic Colouriser is yet another colouriser for beautifying your logfiles
or output of commands.

Authors:
--------
    Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk>

%prep
%setup

%install
rm -rf $RPM_BUILD_ROOT

install -d -m 755 $RPM_BUILD_ROOT%{prefix}/bin
install -m 755 grc $RPM_BUILD_ROOT%{prefix}/bin
install -m 755 grcat $RPM_BUILD_ROOT%{prefix}/bin
install -d -m 755 $RPM_BUILD_ROOT%{prefix}/share/grc
install -m 644 conf.* $RPM_BUILD_ROOT%{prefix}/share/grc
install -d -m 755 $RPM_BUILD_ROOT%{confdir}
install -m 755 grc.conf $RPM_BUILD_ROOT%{confdir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)

%doc CHANGES CREDITS README TODO Regexp.txt
%{prefix}/bin/*
%{prefix}/share/grc/*
%doc %{_mandir}/man1/*
%config /etc/*