File: scrot.spec

package info (click to toggle)
scrot 0.8-13
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 600 kB
  • ctags: 193
  • sloc: ansic: 1,708; sh: 335; makefile: 26
file content (45 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (4)
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
%define name	scrot
%define ver	0.8
%define RELEASE 1
#%define rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define prefix	/usr

Name: %name
Summary:    Screen-shot capture using Imlib 2
Version: 	%ver
Release: 	%rel
Copyright: 	BSD
Group:		Applications/Graphics
Source: 	%{name}-%{ver}.tar.gz
Url: 		http://www.linuxbrit.co.uk
BuildRoot:	/var/tmp/%{name}-%{ver}-root
Docdir: 	%{prefix}/doc

%description
A nice and straightforward screen capture utility implementing the dynamic
loaders of imlib2.

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}

make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -fr $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{prefix} install

%files
%defattr(-, root, root)
%{prefix}/bin/*
%{prefix}/man/man1/*

%doc AUTHORS ChangeLog README TODO

%changelog
* Thu Oct 26 2000 Tom Gilbert <tom@linuxbrit.co.uk>
- created spec file