File: ida.spec

package info (click to toggle)
ida 0.12
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 712 kB
  • ctags: 1,027
  • sloc: ansic: 9,413; sh: 152; makefile: 103; perl: 12
file content (40 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
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
%define       prefix	/usr/X11R6

Name:         ida
Group:        Applications/Graphics
Autoreqprov:  on
Version:      0.12
Release:      0
Summary:      image viewer & editor
License:      GPL
Source:       http://bytesex.org/ida/%{name}_%{version}.tar.gz
Buildroot:    /var/tmp/root-%{name}-%{version}

%description
small & fast image viewer for X11.  Also has some editing
functions and a simple file browser.  motif-based.

%prep
%setup -q

%build
./configure --prefix=%{prefix}
make depend
make

%install
make DESTDIR="%{buildroot}" install
gzip %{buildroot}%{prefix}/man/man*/*
find %{buildroot} -type f -print	\
	| sed -e 's|%{buildroot}||'	\
	| grep -v '%{_docdir}'		\
	> rpmfiles

%files -f rpmfiles
%doc COPYING README TODO
%defattr(-,root,root)

%clean
if test "%{buildroot}" != ""; then
	rm -rf "%{buildroot}"
fi