]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- release 7.
[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 URL:            http://www.icewm.org/
24 BuildRequires:  XFree86-devel
25 BuildRequires:  autoconf
26 BuildRequires:  esound-devel
27 BuildRequires:  gnome-libs-devel
28 BuildRequires:  imlib-devel
29 BuildRequires:  libjpeg-devel
30 BuildRequires:  libpng >= 1.0.8
31 BuildRequires:  libstdc++-devel
32 BuildRequires:  libtiff-devel
33 BuildRequires:  libungif-devel
34 BuildRequires:  zlib-devel
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         _prefix         /usr/X11R6
38 %define         _sysconfdir     /etc/X11/icewm/
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 Group(de):      Themen
59 Group(pl):      Motywy
60 Requires:       icewm
61
62 %description themes-base
63 Standard pack of themes delivered with icewm.
64 All of them made by Marko Macek:
65 gtk2, metal2, motif, nice, warp3, warp4, win95
66
67 %description themes-base -l pl
68 Standardowy zestaw tematów dla IceWM'a, dostarczany wraz nim.
69 Wszystkie stworzone przez Marko Macek:
70 gtk2, metal2, motif, nice, warp3, warp4, win95
71
72 %prep -q
73 %setup -q
74 %patch0 -p1
75 %patch1 -p1
76 %patch2 -p1
77
78 cd lib/icons
79 tar -xvf %{SOURCE3}
80 cd ../../
81
82 %build
83 %{__autoconf}
84 %configure \
85         --with-shape \
86         --with-docdir=/usr/share/doc \
87         --with-cfgdir=%{_sysconfdir} \
88         --with-sm \
89         --with-imlib \
90         --with-gnome \
91         --with-gnome-menus \
92         --with-i18n \
93         --enable-nls \
94         --enable-guievents \
95         --with-imlib
96
97 %{__make}
98
99 %install
100 %{__rm} -rf $RPM_BUILD_ROOT
101 %{__install} -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_applnkdir}/Settings/IceWM}
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
106 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
107 %{__install} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
108 %{__install} lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/keys
109 %{__install} lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/menu
110 %{__install} lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}toolbar
111 %{__install} lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/preferences
112 %{__install} lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/winoptions
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 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*
126 %dir %{_applnkdir}/Settings/IceWM
127 %{_applnkdir}/Settings/IceWM/.directory
128 %{_wmpropsdir}/*
129 %dir %{_libdir}/X11/icewm
130 %{_libdir}/X11/icewm/icons
131 %{_libdir}/X11/icewm/ledclock
132 %{_libdir}/X11/icewm/mailbox
133 %{_libdir}/X11/icewm/taskbar
134 %dir %{_libdir}/X11/icewm/themes
135 %{_libdir}/X11/icewm/themes/Infadel2
136
137 %files themes-base
138 %defattr(644,root,root,755)
139 %{_libdir}/X11/icewm/themes/gtk2
140 %{_libdir}/X11/icewm/themes/metal2
141 %{_libdir}/X11/icewm/themes/motif
142 %{_libdir}/X11/icewm/themes/nice
143 %{_libdir}/X11/icewm/themes/warp3
144 %{_libdir}/X11/icewm/themes/warp4
145 %{_libdir}/X11/icewm/themes/win95
This page took 0.074969 seconds and 4 git commands to generate.