File: tv.spec.in

package info (click to toggle)
treeviewx 0.5.1%2Bgit20100823.7e4d0e9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 2,688 kB
  • sloc: cpp: 14,362; xml: 82; makefile: 66
file content (57 lines) | stat: -rwxr-xr-x 1,011 bytes parent folder | download | duplicates (9)
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
53
54
55
56
57
%define name tv
%define version @VERSION@
%define release 1

Summary: TreeView X.
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/%{name}-%{version}.tar.gz
Vendor: Roderic D. M. Page
URL: http://darwin.zoology.gla.ac.uk/~rpage/treeviewx/
License: GPL
Group: Sciences/Biology
BuildRoot: %{_builddir}/%{name}-buildroot
Prefix: %{_prefix}
Requires: wxGTK >= 2.4.0
BuildRequires: wxGTK-devel >= 2.4.0


%description
Phylogenetic tree viewer.


%prep
%setup -q

%build
if [ -x ./configure ]; then
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
else
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%{_bindir}/*





%changelog
* Wed May 21 2003 R. D. M. Page
- First draft of the spec file