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