]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- release 5
[packages/icewm.git] / icewm.spec
1 Summary:        IceWM X11 Window Manager
2 Summary(pl):    IceWM - Mened¿er okienek X11
3 Name:           icewm
4 Version:        1.0.7
5 Release:        5
6 License:        GPL
7 Group:          X11/Window Managers
8 Group(es):      X11/Administraadores De Ventanas
9 Group(fr):      X11/Gestionnaires De Fenêtres
10 Group(pl):      X11/Zarz±dcy Okien
11 Source0:        ftp://download.sourceforge.net/pub/sourceforge/icewm/%{name}-%{version}-7.tar.bz2
12 Source1:        IceWM.desktop
13 Patch0:         icewm-DESTDIR.patch
14 Patch1:         %{name}-time.patch
15 URL:            http://www.icewm.org/
16 BuildRequires:  autoconf
17 BuildRequires:  imlib-devel
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libpng >= 1.0.8
20 BuildRequires:  libtiff-devel
21 BuildRequires:  libungif-devel
22 BuildRequires:  XFree86-devel
23 BuildRequires:  zlib-devel
24 BuildRequires:  gnome-libs-devel
25 BuildRequires:  libstdc++-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _prefix         /usr/X11R6
29 %define         _sysconfdir     /etc
30 %define         _wmpropsdir     %{_datadir}/wm-properties
31
32 %description
33 Window Manager for X Window System. Can emulate the look of
34 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
35 the above systems. Features multiple workspaces, opaque move/resize,
36 task bar, window list, mailbox status, digital clock. Fast and small.
37
38 %description -l pl
39 Mened¿er okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
40 3,4, MWM. Mened¿er ten próbuje wybraæ najlepsze cechy dostêpne w
41 powy¿szych ¶rodowiskach, jak: wiele jednocze¶nie obecnych przestrzeni
42 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
43 Jest przy tym ma³y i szybki.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p1
49
50 %build
51 autoconf
52 %configure \
53         --with-shape \
54         --with-sm \
55         --with-imlib \
56         --with-gnome \
57         --with-gnome-menus \
58         --with-i18n \
59         --enable-nls \
60         --enable-guievents \
61         --with-imlib 
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
73 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/keys
74 install lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/menu
75 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/toolbar
76 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/preferences
77 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/winoptions
78
79 gzip -9nf README CHANGES TODO BUGS
80
81 %find_lang %{name}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
89 %doc {README,CHANGES,TODO,BUGS}.gz doc/*.html
90 %attr(755,root,root) %{_bindir}/*
91 %dir %{_libdir}/X11/icewm
92 %{_libdir}/X11/icewm/*
93 %{_wmpropsdir}/*
This page took 0.512838 seconds and 4 git commands to generate.