]> git.pld-linux.org Git - packages/e16.git/blob - e16.spec
- remove Ra note, cosmetics
[packages/e16.git] / e16.spec
1 Summary:        Enlightenment Window Manager
2 Summary(pl):    Zarz±dca okien X - Enlightenment
3 Name:           enlightenment
4 Version:        0.16.7.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Window Managers
8 Source0:        http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
9 # Source0-md5:  1439839c3023914a62f8254cc31085fc
10 # Source0-size: 1791137
11 Source1:        %{name}.desktop
12 Source2:        %{name}-xsession.desktop
13 Source3:        %{name}-winter.etheme.i18n
14 Source4:        %{name}-e_gen_menu
15 Source5:        %{name}-e_check_menu
16 Patch0:         %{name}-edirconf.patch 
17 Patch1:         %{name}-ac_am_fixes.patch
18 Patch2:         %{name}-pl.patch
19 Patch3:         %{name}-no_eng_config.patch
20 Patch4:         %{name}-check_menus.patch
21 URL:            http://enlightenment.org/
22 BuildRequires:  XFree86
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  esound-devel >= 0.2.13
26 BuildRequires:  fnlib-devel
27 BuildRequires:  freetype-devel
28 BuildRequires:  gettext-devel
29 BuildRequires:  gtk+-devel >= 1.2.1
30 BuildRequires:  iconv
31 BuildRequires:  imlib2-devel
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:       vfmg >= 0.9.18-4
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 # tar-gziped text files !?!
60 ( cd config
61 for LANG_FILE in ja ko pl; do
62         mkdir $LANG_FILE
63         cd $LANG_FILE
64         tar -zxvf ../config.$LANG_FILE
65         cd ..
66 done )
67 %patch3 -p1
68 %patch4 -p1
69 for FILE in actionclasses.cfg keybindings.cfg keybindings.gmc.cfg \
70                 keybindings.nogmc.cfg menus.cfg; do
71         iconv -f EUC-JP -t UTF-8 config/ja/$FILE.ja > \
72                 config/ja/$FILE.ja_JP.UTF-8
73         iconv -f EUC-KR -t UTF-8 config/ko/$FILE.ko > \
74                 config/ko/$FILE.ko_KR.UTF-8
75         iconv -f ISO-8859-2 -t UTF-8 config/pl/$FILE.pl > \
76                 config/pl/$FILE.pl_PL.UTF-8
77 done    # it helps, but UTF-8 still isn't working correctly
78
79 mv -f po/{no,nb}.po
80 rm po/*.gmo
81
82 cp %{SOURCE3} themes/winter.etheme.i18n
83
84 %build
85 rm -f missing
86 %{__libtoolize}
87 %{__gettextize}
88 %{__aclocal}
89 %{__autoconf}
90 %{__autoheader}
91 %{__automake}
92 export LOCALEDIR=%{_datadir}/locale
93 %configure \
94         --enable-sound=yes
95
96 # regenerate gmo files
97 %{__make} dist
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
108 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
109 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_gen_menu
110 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_check_menu
111
112 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/enlightenment/X11
113
114 %find_lang %{name}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS README NEWS
122 %config %{_sysconfdir}
123 %attr(755,root,root) %{_bindir}/*
124 %dir %{_datadir}/enlightenment
125 %{_datadir}/enlightenment/[!s]*
126 %attr(755,root,root) %{_datadir}/enlightenment/scripts
127 %{_datadir}/xsessions/%{name}.desktop
128 %{_wmpropsdir}/*
129 %{_mandir}/man1/*
This page took 0.08841 seconds and 3 git commands to generate.