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