]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- replaces icewm-menu.patch
[packages/icewm.git] / icewm.spec
1 #
2 # TODO:
3 # - make a PLD-theme - default :]
4 # - bigger menu-file
5 #
6 Summary:        IceWM X11 Window Manager
7 Summary(pl):    IceWM - mened¿er okienek X11
8 Name:           icewm
9 Version:        1.0.9
10 Release:        6
11 License:        LGPL
12 Group:          X11/Window Managers
13 Source0:        ftp://download.sourceforge.net/pub/sourceforge/icewm/%{name}-%{version}-2.tar.bz2
14 Source1:        IceWM.desktop
15 Source2:        %{name}.directory
16 Source3:        ftp://download.sourceforge.net/pub/sourceforge/icewm/iceicons-0.6.tar.gz
17 Source4:        IceWM.RunWM
18 Source5:        IceWM.wm_style
19 Patch0:         %{name}-DESTDIR.patch
20 Patch1:         %{name}-menu.patch
21 URL:            http://www.icewm.org/
22 BuildRequires:  XFree86-devel
23 BuildRequires:  esound-devel
24 BuildRequires:  gnome-libs-devel
25 BuildRequires:  imlib-devel
26 BuildRequires:  libstdc++-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _prefix         /usr/X11R6
30 %define         _sysconfdir     /etc/X11/icewm
31 %define         _wmstyledir     /etc/sysconfig/wmstyle
32 %define         _wmpropsdir     %{_datadir}/wm-properties
33
34 %description
35 Window Manager for X Window System. Can emulate the look of
36 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
37 the above systems. Features multiple workspaces, opaque move/resize,
38 task bar, window list, mailbox status, digital clock. Fast and small.
39
40 %description -l pl
41 Mened¿er okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
42 3,4, MWM. Mened¿er ten próbuje wybraæ najlepsze cechy dostêpne w
43 powy¿szych ¶rodowiskach, jak: wiele jednocze¶nie obecnych przestrzeni
44 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
45 Jest przy tym ma³y i szybki.
46
47 %package themes-base
48 Summary:        Pack of themes for IceWM
49 Summary(pl):    Zestaw tematów dla IceWM
50 Group:          Themes
51 Requires:       icewm
52
53 %description themes-base
54 Standard pack of themes delivered with IceWM. All of them made by
55 Marko Macek: gtk2, metal2, motif, nice, warp3, warp4, win95
56
57 %description themes-base -l pl
58 Standardowy zestaw tematów dla IceWMa, dostarczany wraz nim. Wszystkie
59 stworzone przez Marko Macek: gtk2, metal2, motif, nice, warp3, warp4,
60 win95
61
62 %prep -q
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66
67 cd lib/icons
68 tar -zxf %{SOURCE3}
69 cd ../../
70
71 %build
72 export LDFLAGS
73 %configure \
74         --prefix=%{_prefix} \
75         --with-cfgdir=%{_sysconfdir} \
76         --with-docdir=%{_docdir} \
77         --enable-i18n \
78         --enable-guievents \
79         --enable-xfreetype \
80         --with-gnome-menus \
81         --with-imlib
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT{%{_wmstyledir},%{_pixmapsdir}/icewm} \
87         $RPM_BUILD_ROOT{%{_applnkdir}/Settings/IceWM,%{_wmpropsdir}}
88
89 %{__make} install DESTDIR=$RPM_BUILD_ROOT
90
91 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
92 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
93 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/keys
94 install lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/menu
95 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/preferences
96 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/toolbar
97 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/winoptions
98 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.sh
99 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.names
100
101 mv -f $RPM_BUILD_ROOT%{_libdir}/X11/icewm/icons/* $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
102 rm -rf $RPM_BUILD_ROOT%{_libdir}/X11/icewm/icons
103 ln -s %{_pixmapsdir}/icewm $RPM_BUILD_ROOT%{_libdir}/X11/icewm/icons
104
105 gzip -9nf BUGS CHANGES FAQ PLATFORMS README TODO icewm.lsm
106
107 %find_lang %{name}
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %doc *.gz doc/*.*ml
115 %attr(755,root,root) %{_bindir}/*
116 %dir %{_sysconfdir}
117 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*
118 %dir %{_applnkdir}/Settings/IceWM
119 %{_applnkdir}/Settings/IceWM/.directory
120 %{_wmpropsdir}/*
121 %{_pixmapsdir}/icewm
122 %dir %{_libdir}/X11/icewm
123 %{_libdir}/X11/icewm/icons
124 %{_libdir}/X11/icewm/ledclock
125 %{_libdir}/X11/icewm/mailbox
126 %{_libdir}/X11/icewm/taskbar
127 %dir %{_libdir}/X11/icewm/themes
128 %{_libdir}/X11/icewm/themes/Infadel2
129 %attr(755,root,root) %{_wmstyledir}/IceWM.sh
130 %attr(644,root,root) %{_wmstyledir}/IceWM.names
131
132 %files themes-base
133 %defattr(644,root,root,755)
134 %{_libdir}/X11/icewm/themes/gtk2
135 %{_libdir}/X11/icewm/themes/metal2
136 %{_libdir}/X11/icewm/themes/motif
137 %{_libdir}/X11/icewm/themes/nice
138 %{_libdir}/X11/icewm/themes/warp3
139 %{_libdir}/X11/icewm/themes/warp4
140 %{_libdir}/X11/icewm/themes/win95
This page took 0.213445 seconds and 3 git commands to generate.