]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
5e9e76d719e6ca67606cf7abe1fb2588a4aa8af2
[packages/icewm.git] / icewm.spec
1 Summary:        IceWM X11 Window Manager
2 Summary(pl):    IceWM - Mened¿er okienek X11
3 Name:           icewm
4 Version:        1.0.8
5 Release:        1
6 License:        LGPL
7 Group:          X11/Window Managers
8 Group(es):      X11/Administraadores De Ventanas
9 Group(fr):      X11/Gestionnaires De Fenêtres
10 Group(pl):      X11/Zarz±dcy Okien
11 Source0:        ftp://download.sourceforge.net/pub/sourceforge/icewm/%{name}-%{version}-4.tar.bz2
12 Source1:        IceWM.desktop
13 Source2:        %{name}.directory
14 Patch0:         icewm-DESTDIR.patch
15 Patch1:         %{name}-time.patch
16 URL:            http://www.icewm.org/
17 BuildRequires:  autoconf
18 BuildRequires:  imlib-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng >= 1.0.8
21 BuildRequires:  libtiff-devel
22 BuildRequires:  libungif-devel
23 BuildRequires:  XFree86-devel
24 BuildRequires:  zlib-devel
25 BuildRequires:  gnome-libs-devel
26 BuildRequires:  libstdc++-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _prefix         /usr/X11R6
30 %define         _sysconfdir     /etc/X11/icewm/
31 %define         _wmpropsdir     %{_datadir}/wm-properties
32
33 %description
34 Window Manager for X Window System. Can emulate the look of
35 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
36 the above systems. Features multiple workspaces, opaque move/resize,
37 task bar, window list, mailbox status, digital clock. Fast and small.
38
39 %description -l pl
40 Mened¿er okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
41 3,4, MWM. Mened¿er ten próbuje wybraæ najlepsze cechy dostêpne w
42 powy¿szych ¶rodowiskach, jak: wiele jednocze¶nie obecnych przestrzeni
43 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
44 Jest przy tym ma³y i szybki.
45
46 %prep -q
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 autoconf
53 %configure \
54         --with-shape \
55         --with-docdir=/usr/share/doc \
56         --with-sm \
57         --with-imlib \
58         --with-gnome \
59         --with-gnome-menus \
60         --with-i18n \
61         --enable-nls \
62         --enable-guievents \
63         --with-imlib 
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 %{__install} -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_applnkdir}/Settings/IceWM}
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
75 %{__install} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
76 %{__install} lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/keys
77 %{__install} lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/menu
78 %{__install} lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}toolbar
79 %{__install} lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/preferences
80 %{__install} lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/winoptions
81
82 gzip -9nf README CHANGES TODO BUGS FAQ icewm.lsm PLATFORMS
83
84 %find_lang %{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
92 %doc *.gz doc/*.*ml
93 %attr(755,root,root) %{_bindir}/*
94 %attr(644,root,root)
95 %dir %{_applnkdir}/Settings/IceWM
96 %{_applnkdir}/Settings/IceWM/.directory
97 %{_wmpropsdir}/*
98 %dir %{_libdir}/X11/icewm
99 %{_libdir}/X11/icewm/*
This page took 0.052868 seconds and 2 git commands to generate.