]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- release 3: 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:        3
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. All of them made by
68 Marko Macek: gtk2, metal2, motif, nice, warp3, warp4, win95
69
70 %description themes-base -l pl
71 Standardowy zestaw tematów dla IceWM'a, dostarczany wraz nim.
72 Wszystkie stworzone przez Marko Macek: gtk2, metal2, motif, nice,
73 warp3, warp4, win95
74
75 %prep -q
76 %setup -q
77 %patch0 -p1
78 %patch1 -p1
79
80 cd lib/icons
81 tar -xvf %{SOURCE3}
82 cd ../../
83
84 %build
85 export LDFLAGS
86 %configure \
87         --prefix=%{_prefix} \
88         --with-cfgdir=%{_sysconfdir} \
89         --with-docdir=%{_docdir} \
90         --with-gnome \
91         --with-gnome-menus \
92         --with-i18n \
93         --with-imlib \
94         --with-shape \
95         --with-sm \
96         --enable-antialiasing \
97         --enable-gradients \
98         --enable-guievents \
99         --enable-nls \
100         --enable-xfreetype 
101
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_applnkdir}/Settings/IceWM,%{_wmstyledir}}
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT
110
111 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
112 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
113 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/keys
114 install lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/menu
115 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/preferences
116 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}toolbar
117 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/winoptions
118 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.sh
119 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.names
120
121
122 #mv -f %{_libdir}/X11/icewm/icons/* %{_pixmapsdir}/icewm/
123 #rm -rf %{_libdir}/X11/icewm/icons
124 #ln -s %{_pixmapsdir}/icewm $RPM_BUILD_ROOT%{_libdir}/X11/icewm/icons
125
126 gzip -9nf BUGS CHANGES FAQ PLATFORMS README TODO icewm.lsm
127
128 %find_lang %{name}
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %files -f %{name}.lang
134 %defattr(644,root,root,755)
135 %doc *.gz doc/*.*ml
136 %attr(755,root,root) %{_bindir}/*
137 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*
138 %dir %{_applnkdir}/Settings/IceWM
139 %{_applnkdir}/Settings/IceWM/.directory
140 %{_wmpropsdir}/*
141 %dir %{_libdir}/X11/icewm
142 %{_libdir}/X11/icewm/icons
143 %{_libdir}/X11/icewm/ledclock
144 %{_libdir}/X11/icewm/mailbox
145 %{_libdir}/X11/icewm/taskbar
146 %dir %{_libdir}/X11/icewm/themes
147 %{_libdir}/X11/icewm/themes/Infadel2
148 %attr(755,root,root)/etc/sysconfig/wmstyle/IceWM.sh
149 %attr(644,root,root)/etc/sysconfig/wmstyle/IceWM.names
150
151 %files themes-base
152 %defattr(644,root,root,755)
153 %{_libdir}/X11/icewm/themes/gtk2
154 %{_libdir}/X11/icewm/themes/metal2
155 %{_libdir}/X11/icewm/themes/motif
156 %{_libdir}/X11/icewm/themes/nice
157 %{_libdir}/X11/icewm/themes/warp3
158 %{_libdir}/X11/icewm/themes/warp4
159 %{_libdir}/X11/icewm/themes/win95
This page took 0.074137 seconds and 4 git commands to generate.