]> git.pld-linux.org Git - packages/enlightenment.git/blob - enlightenment.spec
- removed wmstyle/enlightenment.sh, it does nothing
[packages/enlightenment.git] / enlightenment.spec
1 # TODO:
2 #       - fix attempts to use bogus path (differentiate absolute and relative
3 #         pathnames)
4 #       - fix applnk submenu handling (for Ra)
5 #       - use the translated (locale dependent) script menu generating (???)
6 #
7 Summary:        Enlightenment Window Manager
8 Summary(pl):    Zarz±dca okien X - Enlightenment
9 Name:           enlightenment
10 Version:        0.16.6
11 Release:        3
12 License:        GPL
13 Group:          X11/Window Managers
14 Source0:        http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
15 # Source0-md5:  fa1b5f062cd2ba005eb555c358450deb
16 Source1:        %{name}.desktop
17 Source4:        %{name}-xsession.desktop
18 Patch0:         %{name}-config-path.patch
19 Patch1:         %{name}-makefile_fix.patch
20 Patch2:         %{name}-ac_am_fixes.patch
21 Patch3:         %{name}-use_sys_snprintf.patch
22 Patch4:         %{name}-pl.patch
23 URL:            http://enlightenment.org/
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  esound-devel >= 0.2.13
27 BuildRequires:  fnlib-devel
28 BuildRequires:  freetype1-devel
29 BuildRequires:  gettext-devel
30 BuildRequires:  gtk+-devel >= 1.2.1
31 BuildRequires:  imlib-devel >= 1.9.8
32 BuildRequires:  libghttp-devel
33 BuildRequires:  libjpeg-devel
34 BuildRequires:  libpng >= 1.0.8
35 BuildRequires:  libtiff-devel
36 BuildRequires:  libtool
37 BuildRequires:  libungif-devel
38 BuildRequires:  zlib-devel
39 Requires:       xinitrc-ng
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %define         _wmpropsdir     /usr/share/wm-properties
43 %define         _sysconfdir     /etc/X11/enlightenment
44
45 %description
46 Enlightenment is a Windowmanager for X Window that is designed to be
47 powerful, extensible, configurable and able to be really good looking.
48
49 %description -l pl
50 Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
51 jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
52
53 %prep
54 %setup  -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59
60 %build
61 rm -f missing
62 %{__libtoolize}
63 %{__gettextize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 CFLAGS="-I%{_includedir}/freetype %{rpmcflags}"
68 %configure \
69         --enable-sound=yes
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
81 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
82
83 %find_lang %{name}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS README NEWS
91 %config %{_sysconfdir}
92 %attr(755,root,root) %{_bindir}/*
93 %dir %{_datadir}/enlightenment
94 %{_datadir}/enlightenment/[!s]*
95 %attr(755,root,root) %{_datadir}/enlightenment/scripts
96 %{_datadir}/xsessions/%{name}.desktop
97 %{_wmpropsdir}/*
98 %{_mandir}/man1/*
This page took 0.074134 seconds and 4 git commands to generate.