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