Keep 'current' mouseover package.
[rpmdepsize.git] / rpmdepsize.spec.in
1 # @configure_input@
2
3 Name:           @PACKAGE_NAME@
4 Version:        @PACKAGE_VERSION@
5 Release:        1%{?dist}
6 Summary:        Visualize RPM dependencies
7
8 Group:          Development/Libraries
9 License:        GPLv2+
10 URL:            http://et.redhat.com/~rjones/rpmdepsize/
11 Source0:        http://et.redhat.com/~rjones/rpmdepsize/files/%{name}-%{version}.tar.gz
12 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildRequires:  ocaml >= 3.10.0
15 BuildRequires:  ocaml-findlib-devel
16 BuildRequires:  ocaml-extlib-devel
17 BuildRequires:  ocaml-sexplib-devel
18 BuildRequires:  ocaml-lablgtk-devel >= 2.10.1
19 BuildRequires:  ocaml-camlp4-devel
20
21 # The program embeds a python script, which has these requirements:
22 Requires:       python
23 Requires:       yum >= 3.2.21
24
25
26 %description
27 rpmdepsize is an interactive graphical tool for visualizing the size
28 of RPM dependencies.
29
30 It's useful for shaming RPMs that have too many dependencies or pull
31 in large amounts of data because of indirect dependencies.
32
33
34 %prep
35 %setup -q
36
37
38 %build
39 %{configure}
40 make
41
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 make install DESTDIR=$RPM_BUILD_ROOT
46
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51
52 %files
53 %defattr(-,root,root,-)
54 %doc COPYING README
55 %{_bindir}/rpmdepsize
56
57
58 %changelog
59 * Fri Mar 27 2009 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-1
60 - Initial RPM release.