Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ffa294b9f60a5c66879dda044ffb0f82 > files > 3

lxmed-20120515-2.mga3.src.rpm

Name:		lxmed
Version:	20120515
Release:	%mkrel 2
License:	GPLv3
Group:		Graphical desktop/Other
URL:		http://sourceforge.net/projects/lxmed
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1:	%{name}.sh
Summary:	LXDE Menu Editor

BuildArch:	noarch
Requires:	java

%description
lxmed is a small, simple, free, easy to use application 
that allows you to customize the LXDE menu.

lxmed is written in the Java programming language.


%prep
%setup -q -n %{name}

%build

%install
install -m755 %{SOURCE1} -D %{buildroot}%{_bindir}/%{name}
install -m644 content/LXMenuEditor.jar -D %{buildroot}/%{_datadir}/%{name}/LXMenuEditor.jar
install -m644 content/lxmed.png -D %{buildroot}/%{_iconsdir}/%{name}.png

mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Exec=lxmed
Icon=lxmed.png
Type=Application
Terminal=false
Name=LXDE Menu Editor
GenericName=LXDE Menu Editor
StartupNotify=false
Categories=Settings;DesktopSettings;X-LXDE-Settings;X-MandrivaLinux-System-Configuration-Other;
EOF

%files
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_iconsdir}/%{name}.png
%{_datadir}/applications/%{name}.desktop


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 20120515-2.mga3
+ Revision: 359177
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Oct 09 2012 solbu <solbu> 20120515-1.mga3
+ Revision: 303997
- imported package lxmed