]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- release 6.
[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.7
5 Release:        6
6 License:        GPL
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}-7.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
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
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 autoconf
53 %configure \
54         --with-shape \
55         --with-sm \
56         --with-imlib \
57         --with-gnome \
58         --with-gnome-menus \
59         --with-i18n \
60         --enable-nls \
61         --enable-guievents \
62         --with-imlib 
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 %{__install} -d $RPM_BUILD_ROOT%{_wmpropsdir}
69 %{__install} -d $RPM_BUILD_ROOT%{_prefix}/share/applnk/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%{_prefix}/share/applnk/Settings/IceWM/.directory
76 %{__install} lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/keys
77 %{__install} lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/menu
78 %{__install} lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/toolbar
79 %{__install} lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/preferences
80 %{__install} lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/winoptions
81
82 gzip -9nf README CHANGES TODO BUGS
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 {README,CHANGES,TODO,BUGS}.gz doc/*.html
93 %attr(755,root,root) %{_bindir}/*
94 %attr(644,root,root)
95 %dir %{_prefix}/share/applnk/Settings/IceWM
96 %{_prefix}/share/applnk/Settings/IceWM/.directory
97 %dir %{_libdir}/X11/icewm
98 %{_libdir}/X11/icewm/*
99 %{_wmpropsdir}/*
This page took 0.035765 seconds and 4 git commands to generate.