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