]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- changed %configure options:
[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:        6
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         --enable-i18n \
85         --enable-guievents \
86         --enable-xfreetype \
87         --with-gnome-menus \
88         --with-imlib
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT{%{_wmstyledir},%{_applnkdir}/Settings/IceWM,%{_wmpropsdir}}
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
100 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
101 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/keys
102 install lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/menu
103 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/preferences
104 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/toolbar
105 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/winoptions
106 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.sh
107 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.names
108
109
110 #mv -f %{_libdir}/X11/icewm/icons/* %{_pixmapsdir}/icewm/
111 #rm -rf %{_libdir}/X11/icewm/icons
112 #ln -s %{_pixmapsdir}/icewm $RPM_BUILD_ROOT%{_libdir}/X11/icewm/icons
113
114 gzip -9nf BUGS CHANGES FAQ PLATFORMS README TODO icewm.lsm
115
116 %find_lang %{name}
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files -f %{name}.lang
122 %defattr(644,root,root,755)
123 %doc *.gz doc/*.*ml
124 %attr(755,root,root) %{_bindir}/*
125 %dir %{_sysconfdir}
126 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*
127 %dir %{_applnkdir}/Settings/IceWM
128 %{_applnkdir}/Settings/IceWM/.directory
129 %{_wmpropsdir}/*
130 %dir %{_libdir}/X11/icewm
131 %{_libdir}/X11/icewm/icons
132 %{_libdir}/X11/icewm/ledclock
133 %{_libdir}/X11/icewm/mailbox
134 %{_libdir}/X11/icewm/taskbar
135 %dir %{_libdir}/X11/icewm/themes
136 %{_libdir}/X11/icewm/themes/Infadel2
137 %attr(755,root,root) %{_wmstyledir}/IceWM.sh
138 %attr(644,root,root) %{_wmstyledir}/IceWM.names
139
140 %files themes-base
141 %defattr(644,root,root,755)
142 %{_libdir}/X11/icewm/themes/gtk2
143 %{_libdir}/X11/icewm/themes/metal2
144 %{_libdir}/X11/icewm/themes/motif
145 %{_libdir}/X11/icewm/themes/nice
146 %{_libdir}/X11/icewm/themes/warp3
147 %{_libdir}/X11/icewm/themes/warp4
148 %{_libdir}/X11/icewm/themes/win95
This page took 0.09947 seconds and 4 git commands to generate.