summaryrefslogtreecommitdiff
path: root/rpm/wm-icons.spec.in
blob: 3f46e10eba796c00787360013d152384348f8412 (plain)
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
58
59
60
61
62
63
64
#%define prefix %{_prefix}
%define prefix /usr

%define ver @VERSION@
%define rel 1
%define c_p --enable-all-sets
%define m_p CFLAGS="-O2"

%define _sourcedir /tmp

Summary:   Window Manager Icons, themable icon distribution
Name:      wm-icons
Version:   %{ver}
Release:   %{rel}
License:   GPL
Group:     X11/Window Managers
Source:    %{name}-%{version}.tar.gz
URL:       http://wm-icons.sourceforge.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager:  FVWM Themes Developers <fvwm-themes-devel@lists.sourceforge.net>
Autoreq:   1

#Requires:  perl >= 5.002
#Provides:  wm-icons

Docdir:    %{prefix}/share/doc

%description
The Window Manager Icons is an efficient icon distribution designed to
be standardized and configurable.  Includes several themed icon sets,
scripts and configurations for several window managers.

%prep
%setup

%build
./configure --prefix=%{prefix} --mandir='${prefix}'/share/man %{c_p}
make %{m_p}

%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} ROOT_PREFIX=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)

%doc AUTHORS COPYING INSTALL NEWS README TODO
%doc doc/FAQ doc/README.3dpixmaps doc/README.martys doc/README.penguins
%doc doc/icons.lst doc/wm-icons.lsm

%{prefix}/bin/*
%{prefix}/share/wm-icons
%{prefix}/share/icons/wm-icons
%{prefix}/share/man/*/*

%define date%(env LC_ALL=C date +"%a %b %d %Y")
%changelog
* %{date} Window Manager Icons Developers <wm-icons-devel@lists.sourceforge.net>
  - Auto building %{PACKAGE_VERSION}
* Sat Sep 07 2000 Mikhael Goikhman <migo@cpan.org>
  - First try at making the package