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