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