]> git.pld-linux.org Git - packages/e16.git/blame_incremental - e16.spec
- updated gettext BR
[packages/e16.git] / e16.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with gnome2 # build with support for GNOME2 wm-properties
4#
5Summary: Enlightenment Window Manager
6Summary(pl.UTF-8): Zarządca okien X - Enlightenment
7Summary(de.UTF-8): Enlightenment ist ein Window Manager für X
8Name: e16
9Version: 0.16.8.2
10Release: 0.1
11License: BSD
12Group: X11/Window Managers
13Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
14# Source0-md5: 03c0ffd785957a61af40e4d6d045c9b5
15Source1: %{name}.desktop
16Source2: %{name}-xsession.desktop
17Source3: %{name}-e_gen_menu
18Source4: %{name}-e_check_menu
19Patch0: %{name}-edirconf.patch
20Patch1: %{name}-ac_am_fixes.patch
21Patch2: %{name}-pl.patch
22Patch3: %{name}-check_menus.patch
23Patch4: %{name}-winter-i18n.patch
24URL: http://enlightenment.org/
25BuildRequires: XFree86
26BuildRequires: autoconf
27BuildRequires: automake
28BuildRequires: esound-devel >= 0.2.17
29BuildRequires: fnlib-devel
30BuildRequires: freetype-devel
31BuildRequires: gettext-tools
32BuildRequires: giflib-devel
33BuildRequires: gtk+-devel >= 1.2.1
34BuildRequires: iconv
35BuildRequires: imlib2-devel >= 1.2.2
36BuildRequires: libghttp-devel
37BuildRequires: libjpeg-devel
38BuildRequires: libpng >= 1.0.8
39BuildRequires: libtiff-devel
40BuildRequires: libtool
41BuildRequires: zlib-devel
42Requires: ImageMagick-coder-png
43Requires: vfmg >= 0.9.95
44Obsoletes: enlightenment <= 0.16.7.2
45Conflicts: filesystem < 3.0-20
46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48%define _wmpropsdir /usr/share/gnome/wm-properties
49%define _sysconfdir /etc/X11/%{name}
50
51%description
52Enlightenment is a Windowmanager for X Window that is designed to be
53powerful, extensible, configurable and able to be really good looking.
54
55%description -l pl.UTF-8
56Enlightenment jest najpotężniejszym i najpiękniejszym zarządcą okien
57jaki kiedykolwiek został stworzony dla Linuksa ;)
58
59%description -l de.UTF-8
60Enlightenment ist ein Window Manager für X. Sein Designziel ist es, so
61konfigurierbar wie nur möglich in den Bereichen Aussehen und Bedienung
62zu sein. Das derzeitige Design von Enlightenment steuert darauf hin,
63ein "vernünftiger" Desktop zu werden, das bedeutet, es verwaltet
64Anwendungsfenster, zudem wird in der Lage sein, Anwendungen zu starten
65und Dateien zu verwalten.
66
67%prep
68%setup -q
69%patch0 -p1
70%patch1 -p1
71#%%patch2 -p1 XXX: needs update
72%patch3 -p1
73mkdir themes/winter
74tar -C themes/winter -zxf themes/winter.etheme
75%patch4 -p1
76rm themes/winter/fonts.cfg.*
77
78mv -f po/{no,nb}.po
79rm po/*.gmo
80
81%build
82rm -f missing
83%{__libtoolize}
84%{__gettextize}
85%{__aclocal}
86%{__autoconf}
87%{__autoheader}
88%{__automake}
89export LOCALEDIR=%{_datadir}/locale
90%configure \
91 --enable-sound=yes
92
93# regenerate gmo files
94%{__make} -C po update-gmo
95%{__make}
96
97%install
98rm -rf $RPM_BUILD_ROOT
99install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
100
101%{__make} install \
102 DESTDIR=$RPM_BUILD_ROOT
103
104%{?with_gnome2:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
105install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
106install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/e_gen_menu
107install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts/e_check_menu
108
109%find_lang %{name}
110
111%clean
112rm -rf $RPM_BUILD_ROOT
113
114%files -f %{name}.lang
115%defattr(644,root,root,755)
116%doc AUTHORS README NEWS
117%config %{_sysconfdir}
118%attr(755,root,root) %{_bindir}/*
119%dir %{_datadir}/%{name}
120%{_datadir}/%{name}/[!s]*
121%dir %{_datadir}/%{name}/scripts
122%attr(755,root,root) %{_datadir}/%{name}/scripts/*
123%{_datadir}/xsessions/%{name}.desktop
124%{?with_gnome2:%{_wmpropsdir}/*}
This page took 0.090175 seconds and 5 git commands to generate.