Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > d2191e8defdcbe2facc3eac949513a49 > files > 4

ede-1.2-4mdv2010.1.src.rpm

%define	name	ede
%define	version	1.2
%define	release	%mkrel 4

Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
Source0: 	http://ovh.dl.sourceforge.net/sourceforge/ede/%{name}-%{version}.tar.gz
Patch0:		ede-1.0.4-exclude-unused-progs.patch
Patch2:		ede-mandriva-menufixes.patch
Summary:	The core programs for the Equinox Desktop Environment
URL: 		http://ede.sourceforge.net/
License: 	GPLv2+
Group: 		Graphical desktop/Other

BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	efltk-devel autoconf libx11-devel libxext-devel xft2-devel libpng-devel libjpeg-devel

%description
Equinox Desktop Environment (EDE) is desktop environment - the piece of
software that enables you to launch applications in a convenient way,
show what windows you have opened, manages icons and background of your
desktop, etc. This core package provides panel with tasklist, clock,
load status; icon manager that take care of your icons on background,
control panel for easy access to your settings, sound volume control, 
color configuration, panel configuration, menu editor, icons configuration, 
tips, time/date and timezone configuration, fast file search tool and of 
course window manager that manages your windows with config utility.

%prep
%setup -q -n %{name}
%patch0 -p1
%patch2 -p1

%build
# delete a bunch of obsolete launchers
rm -f datas/programs-links/{Casino.desktop,dialup.desktop,ecdplayer.desktop,Mastermind.desktop,Netscape.desktop,Notepad.desktop,Qubix.desktop,sccalc.desktop,UNIX.desktop,UNIX-regular,desktop,Vnterm.desktop,WordPerfect.desktop,x11amp.desktop,xwpe.desktop}
rm -f datas/desktop-links/Internet.desktop

autoconf
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_datadir}}
%makeinstall LOCALEDIR=$RPM_BUILD_ROOT%{_datadir}/locale

# Mandriva specific stuff - add to wmsessions
mkdir -p %{buildroot}%{_sysconfdir}/X11/wmsession.d/
cat << EOF > %{buildroot}%{_sysconfdir}/X11/wmsession.d/08EDE
NAME=EDE
ICON=ede-wmsession.xpm
EXEC=%{_bindir}/startede
DESC=Equinox Lightweight desktop environment
SCRIPT:
exec %{_bindir}/startede
EOF

#(peroyvind): several locale files, find those automatically..
for i in e*; do %find_lang $i; done
echo "%%defattr (644, root, root, 755)" > %{name}.lang
cat *.lang|grep %%lang >> %{name}.lang

# AdamW 2007/06 - update DM config files per http://wiki.mandriva.com/en/Development/Howto/Wmsession

%post
%make_session

%postun
%make_session

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%config(noreplace) %{_sysconfdir}/X11/wmsession.d/08EDE
%{_bindir}/*
%{_datadir}/ede



%changelog
* Thu Sep 03 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.2-4mdv2010.0
+ Revision: 428528
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.2-3mdv2009.0
+ Revision: 244624
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Nov 27 2007 Adam Williamson <awilliamson@mandriva.org> 1.2-1mdv2008.1
+ Revision: 113532
- new release 1.2

* Mon Jul 02 2007 Adam Williamson <awilliamson@mandriva.org> 1.1-4mdv2008.0
+ Revision: 47304
- oops: correct graveman patch

* Sun Jul 01 2007 Adam Williamson <awilliamson@mandriva.org> 1.1-3mdv2008.0
+ Revision: 46853
- buildrequires libjpeg
- buildrequires libpng
- drop CD player menu entry
- replace gnome-mplayer with gmplayer
- replace serpentine with graveman
- more customization
- more customization

* Fri Jun 29 2007 Adam Williamson <awilliamson@mandriva.org> 1.1-2mdv2008.0
+ Revision: 45621
- update DM config files in %%post, update menu patch with many new tweaks

* Fri Jun 29 2007 Adam Williamson <awilliamson@mandriva.org> 1.1-1mdv2008.0
+ Revision: 45602
- add patch3 (fix x86-64 build)
- complete buildrequires
- no need for a manual require on libefltk
- new release 1.1


* Tue Apr 18 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.0.4-1mdk
- 1.0.4
- add locale
- update P0
- %%mkrel
- cleanups

* Tue Mar 01 2005 Lenny Cartier <lenny@mandrakesoft.coml> 1.0.2-1mdk
- from Vedran Ljubovic <vljubovic@smartnet.ba> : 
	- new build system in EDE
	- Better distro-independance
	- Patches merged upstream

* Fri Dec 17 2004 Vedran Ljubovic <vljubovic@smartnet.ba> 1.0.1.1-2
- Patch for GCC 3.4 and a possible typo
- Fix for prefix to make (code uses it and so a bunch of stuff doesn't work)
- Remove locale (doesn't seem to get made?)
- Some mandrake specific stuff

* Thu Jan 01 2004 nobody <nobody@nobody> 1.0.1.1-1
- Initial autogenerated release