]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- more macros used
[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
31 %define         _wmpropsdir     %{_datadir}/wm-properties
32 %define         _localesdir     %{_prefix}/share/locale
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 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 %build
53 autoconf
54 %configure \
55         --with-shape \
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}
70 %{__install} -d $RPM_BUILD_ROOT%{_prefix}/share/applnk/Settings/IceWM
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
76 %{__install} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
77 %{__install} lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/keys
78 %{__install} lib/menu $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/menu
79 %{__install} lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/toolbar
80 %{__install} lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/preferences
81 %{__install} lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/icewm/winoptions
82
83 gzip -9nf README CHANGES TODO BUGS COPYING FAQ INSTALL icewm.lsm PLATFORMS VERSION
84
85 %find_lang %{name}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
93 %doc *.gz doc/*.*ml
94 %attr(755,root,root) %{_bindir}/*
95 %attr(644,root,root)
96 %dir %{_applnkdir}/Settings/IceWM
97 %{_applnkdir}/Settings/IceWM/.directory
98 %{_wmpropsdir}/*
99 #%{_localesdir}/*
100 %dir %{_libdir}/X11/icewm
101 %{_libdir}/X11/icewm/*
This page took 0.073196 seconds and 3 git commands to generate.