]> git.pld-linux.org Git - packages/e16.git/blob - e16.spec
- fix locale names (locale_names patch), restored plpatch, rel. 4
[packages/e16.git] / e16.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:        4
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 Patch5:         %{name}-locale_names.patch
24 URL:            http://enlightenment.org/
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRequires:  esound-devel >= 0.2.13
28 BuildRequires:  fnlib-devel
29 BuildRequires:  freetype1-devel
30 BuildRequires:  gettext-devel
31 BuildRequires:  gtk+-devel >= 1.2.1
32 BuildRequires:  imlib-devel >= 1.9.8
33 BuildRequires:  libghttp-devel
34 BuildRequires:  libjpeg-devel
35 BuildRequires:  libpng >= 1.0.8
36 BuildRequires:  libtiff-devel
37 BuildRequires:  libtool
38 BuildRequires:  libungif-devel
39 BuildRequires:  zlib-devel
40 Requires:       xinitrc-ng
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %define         _wmpropsdir     /usr/share/wm-properties
44 %define         _sysconfdir     /etc/X11/enlightenment
45
46 %description
47 Enlightenment is a Windowmanager for X Window that is designed to be
48 powerful, extensible, configurable and able to be really good looking.
49
50 %description -l pl
51 Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
52 jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
53
54 %prep
55 %setup  -q
56 %patch0 -p1
57 %patch1 -p1
58 %patch2 -p1
59 %patch3 -p1
60 %patch4 -p1
61 %patch5 -p1
62
63 mv -f po/{dk,da}.po
64 mv -f po/{no,nb}.po
65
66 %build
67 rm -f missing
68 %{__libtoolize}
69 %{__gettextize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__automake}
73 CFLAGS="-I%{_includedir}/freetype %{rpmcflags}"
74 %configure \
75         --enable-sound=yes
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
87 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
88
89 %find_lang %{name}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS README NEWS
97 %config %{_sysconfdir}
98 %attr(755,root,root) %{_bindir}/*
99 %dir %{_datadir}/enlightenment
100 %{_datadir}/enlightenment/[!s]*
101 %attr(755,root,root) %{_datadir}/enlightenment/scripts
102 %{_datadir}/xsessions/%{name}.desktop
103 %{_wmpropsdir}/*
104 %{_mandir}/man1/*
This page took 0.05078 seconds and 3 git commands to generate.