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