]> git.pld-linux.org Git - packages/enlightenment.git/blob - enlightenment.spec
e5327b6fae23a5e4664b52897a83d5e5ba7e5aea
[packages/enlightenment.git] / enlightenment.spec
1 Summary:        Enlightenment Window Manager
2 Summary(pl):    X Window menad¿er - Enlightenment  
3 Name:           enlightenment
4 Version:        0.16.5
5 Release:        4
6 License:        GPL
7 Group:          X11/Window Managers
8 Group(de):      X11/Fenstermanager
9 Group(es):      X11/Administraadores De Ventanas
10 Group(fr):      X11/Gestionnaires De Fenêtres
11 Group(pl):      X11/Zarz±dcy Okien
12 Source0:        ftp://ftp.enlightenment.org/pub/enlightenment/enlightenment/%{name}-%{version}.tar.gz
13 Source1:        %{name}.desktop
14 Source2:        %{name}.RunWM
15 Source3:        %{name}.wm_style
16 Patch0:         %{name}-config-path.patch
17 Patch1:         %{name}-makefile_fix.patch
18 Patch2:         %{name}-ac_am_fixes.patch
19 Patch3:         %{name}-use_sys_snprintf.patch
20 URL:            http://www.enlightenment.org/
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  esound-devel >= 0.2.13
24 BuildRequires:  fnlib-devel
25 BuildRequires:  freetype1-devel
26 BuildRequires:  gettext-devel 
27 BuildRequires:  gtk+-devel >= 1.2.1
28 BuildRequires:  imlib-devel >= 1.9.8
29 BuildRequires:  libghttp-devel
30 BuildRequires:  libjpeg-devel
31 BuildRequires:  libpng >= 1.0.8
32 BuildRequires:  libtiff-devel
33 BuildRequires:  libtool
34 BuildRequires:  libungif-devel
35 BuildRequires:  zlib-devel
36 Requires:       xinitrc >= 3.0
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %define         _prefix         /usr/X11R6
40 %define         _mandir         %{_prefix}/man
41 %define         _wmpropsdir     %{_datadir}/wm-properties
42 %define         _sysconfdir     /etc/X11/enlightenment
43
44 %description
45 Enlightenment is a Windowmanager for X-Windows that is designed to be
46 powerful, extensible, configurable and able to be really good looking.
47
48 %description -l pl
49 Enlightenment jest najpotê¿niejszym i najpiêkniejszym
50 window-menad¿erem jaki kiedykolwiek zosta³ stworzony dla Linuxa ;)
51
52 %prep
53 %setup  -q
54 %patch0 -p1
55 %patch1 -p1
56 %patch2 -p1
57 %patch3 -p1
58
59 %build
60 libtoolize --copy --force
61 gettextize --copy --force
62 aclocal
63 autoconf
64 rm -f missing
65 automake -a -c
66 CFLAGS="-I%{_includedir}/freetype %{rpmcflags}"
67 %configure \
68         --enable-sound=yes
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},/etc/sysconfig/wmstyle}
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
80 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
81 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
82
83 gzip -9nf AUTHORS README NEWS
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 %doc *.gz
93 %config %{_sysconfdir}
94 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
95 /etc/sysconfig/wmstyle/*.names
96 %attr(755,root,root) %{_bindir}/*
97 %{_datadir}/enlightenment
98 %{_wmpropsdir}/*
99 %{_mandir}/man1/*
This page took 0.032193 seconds and 2 git commands to generate.