a194aa0
# TODO: enable pulseaudio support
a194aa0
a447a5d
Summary:       The Enlightenment window manager, DR16
a447a5d
Name:          e16
4ec6a8a
Version:       1.0.2
55622b3
Release:       1%{?dist}
a447a5d
License:       MIT with advertising and GPLv2+
a447a5d
Group:         User Interface/Desktops
a447a5d
URL:           http://www.enlightenment.org/
4ec6a8a
Source0:       http://downloads.sourceforge.net/enlightenment/e16-%{version}.tar.gz
4ec6a8a
Patch0:        e16-1.0.2-dso.patch  
a447a5d
BuildRequires: imlib2-devel freetype-devel xorg-x11-xbitmaps
a447a5d
BuildRequires: esound-devel alsa-lib-devel audiofile-devel
a447a5d
BuildRequires: libXrandr-devel libSM-devel xorg-x11-proto-devel
a447a5d
BuildRequires: libXfixes-devel libXrender-devel libXdamage-devel
a447a5d
BuildRequires: libXcomposite-devel libXft-devel libXxf86vm-devel
55622b3
BuildRequires: pango-devel dbus-devel desktop-file-utils
72d059d
Requires:      dejavu-sans-fonts
a447a5d
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a447a5d
a447a5d
%description
a447a5d
Enlightenment is a window manager for the X Window System that is
a447a5d
designed to be powerful, extensible, configurable and pretty darned
a447a5d
good looking! It is one of the more graphically intense window
a447a5d
managers.
a447a5d
a447a5d
Enlightenment goes beyond managing windows by providing a useful and
a447a5d
appealing graphical shell from which to work. It is open in design and
a447a5d
instead of dictating a policy, allows the user to define their own
a447a5d
policy, down to every last detail.
a447a5d
a447a5d
This package will install the Enlightenment window manager, development
a447a5d
release 16.
a447a5d
a447a5d
%prep
a447a5d
%setup -q
4ec6a8a
%patch0 -p1
a447a5d
a447a5d
%build
55622b3
%configure --enable-pango   \
55622b3
           --enable-mans    \
55622b3
           --enable-modules \
55622b3
           --enable-visibility-hiding
a447a5d
%{__make} %{?_smp_mflags}
a447a5d
for f in ChangeLog AUTHORS ; do
a447a5d
    mv $f $f.iso88591
a447a5d
    iconv -o $f -f iso88591 -t utf8 $f.iso88591
a447a5d
    rm -f $f.iso88591
a447a5d
done
a447a5d
a447a5d
%install
a447a5d
%{__rm} -rf %{buildroot}
a447a5d
%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
a447a5d
%{__rm} -f %{buildroot}%{_libdir}/%{name}/libhack*.{a,la} 
a447a5d
%{__chmod} 0644 %{buildroot}%{_datadir}/%{name}/themes/winter/ABOUT/MAIN
6e43e47
6bdc01a
# Vera -> DejaVu
6bdc01a
%{__rm} -f %{buildroot}%{_datadir}/%{name}/fonts/COPYRIGHT.Vera
6bdc01a
%{__rm} -f %{buildroot}%{_datadir}/%{name}/fonts/*.ttf
6bdc01a
%{__ln_s}  ../../fonts/dejavu/DejaVuSans.ttf %{buildroot}%{_datadir}/%{name}/fonts/normal.ttf
6bdc01a
%{__ln_s}  ../../fonts/dejavu/DejaVuSans-Bold.ttf %{buildroot}%{_datadir}/%{name}/fonts/bold.ttf
6e43e47
55622b3
# Remove unwanted files
55622b3
find %{buildroot}%{_libdir}/e16 -name lib*.la -delete
55622b3
%{__rm} -rf %{buildroot}%{_datadir}/doc/%{name}
55622b3
55622b3
# Desktop file
55622b3
%{__rm} -f %{buildroot}%{_datadir}/applications/%{name}.desktop
55622b3
%{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \
55622b3
    %{buildroot}%{_datadir}/applications/%{name}.desktop 
55622b3
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
55622b3
    %{buildroot}%{_datadir}/applications/%{name}.desktop 
55622b3
a447a5d
%find_lang %{name}
a447a5d
a447a5d
%clean
a447a5d
%{__rm} -rf %{buildroot}
a447a5d
a447a5d
%files -f %{name}.lang
a447a5d
%defattr(-, root, root, -) 
55622b3
%doc AUTHORS ChangeLog COMPLIANCE COPYING TODO 
4ec6a8a
%doc docs/e16.html
a447a5d
%{_bindir}/e*
a447a5d
%{_bindir}/starte16
237d647
%dir %{_libdir}/%{name}
55622b3
%{_libdir}/%{name}/lib*.so
a447a5d
%{_datadir}/%{name}
a447a5d
%{_datadir}/xsessions/*
55622b3
%{_datadir}/applications/%{name}.desktop
55622b3
%{_mandir}/man1/%{name}.1*
a447a5d
a447a5d
%changelog
4ec6a8a
* Sun Feb 14 2010 Terje Rosten <terjeros@phys.ntnu.no> - 1.0.2-1
4ec6a8a
- 1.0.2
4ec6a8a
- Add DSO patch
4ec6a8a
55622b3
* Mon Dec 07 2009 Terje Rosten <terjeros@phys.ntnu.no> - 1.0.1-1
55622b3
- 1.0.1
55622b3
e01f22e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.8.15-3
e01f22e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e01f22e
72d059d
* Mon Feb 23 2009 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.15-2
72d059d
- More font work
72d059d
6bdc01a
* Thu Jan  8 2009 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.15-1
6bdc01a
- 0.16.8.15
6bdc01a
ede90ea
* Sun Dec 28 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.14-4
ede90ea
- Various hacks (fonts dir, %%pretrans) to make update smooth
ede90ea
6e43e47
* Sat Dec 27 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.14-3
6e43e47
- Use Dejavu fonts
6e43e47
237d647
* Thu Dec 25 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.14-2
237d647
- Fix bz #473646
237d647
- Move font req.
237d647
dd4a455
* Fri Aug 22 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.14-1
dd4a455
- 0.16.8.14
dd4a455
72d020c
* Fri May  2 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.13-2
72d020c
- Rebuild
72d020c
a194aa0
* Fri May  2 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.13-1
72d020c
- 0.16.8.13
a194aa0
a447a5d
* Tue Mar 27 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.12-3
a447a5d
- Disable dbus
a447a5d
a447a5d
* Mon Mar 24 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.12-2
a447a5d
- Really fix license
a447a5d
a447a5d
* Sun Mar 23 2008 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.12-1
a447a5d
- 0.16.8.12
a447a5d
- fix license (thanks spot and kevin!)
a447a5d
- enable dbus and pango
a447a5d
- simplity setup and modify desc
a447a5d
- try to preserve timestamps
a447a5d
a447a5d
* Wed Oct 17 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.10-1
a447a5d
- 0.16.8.10
a447a5d
- libhack has moved to e16 subdir
a447a5d
a447a5d
* Mon Sep 17 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.9-2
a447a5d
- Add GPLv2+ to license
a447a5d
- Add some X devel package to buildreq
a447a5d
- Fix encoding on ChangeLog and AUTHORS
a447a5d
- Use fonts included in bitstream-vera-fonts
a447a5d
a447a5d
* Mon Aug 20 2007 Terje Rosten <terjeros@phys.ntnu.no> - 0.16.8.9-1
a447a5d
- Initial build (based on upstream spec, thanks!)