Author: belegdol
Update of /cvs/free/rpms/lxdream/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25880
Modified Files:
lxdream.spec
Removed Files:
lxdream.desktop
Log Message:
* Thu Jul 09 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.1-1
- Updated to 0.9.1
- Dropped the sanerconfig patch
- Conditionalised the ExclusiveArch line
- Dropped the icon conversion, upstream now ships a png one
- Dropped hicolor-icon-theme from Requires
- Dropped the desktop file, upstream now ships it as well
- Added SDL-devel and lirc-devel to BuildRequires
Index: lxdream.spec
===================================================================
RCS file: /cvs/free/rpms/lxdream/F-11/lxdream.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- lxdream.spec 9 Jul 2009 20:50:39 -0000 1.12
+++ lxdream.spec 10 Jul 2009 08:11:27 -0000 1.13
@@ -8,16 +8,15 @@
# Actual source URL is:
http://www.lxdream.org/count.php?file=%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
Source1: README.fedora
-Source2: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: esound-devel
BuildRequires: gettext
BuildRequires: gtk2-devel
-BuildRequires: ImageMagick
BuildRequires: libGL-devel
+BuildRequires: lirc-devel
BuildRequires: pulseaudio-libs-devel
-Requires: hicolor-icon-theme
+BuildRequires: SDL-devel
# there should be a {ix86} instead of i386 in the ExclusiveArch line but
# that would make plague build the package for athlon, i386, i586 and i686 :-/
%if 0%{?fedora} >= 11
@@ -35,57 +34,40 @@
%prep
%setup -q
+#Fix the desktop file
+sed -i "s/Categories=Game;Emulator/Categories=Game;Emulator;/" lxdream.desktop
+
%build
%configure
make %{?_smp_mflags}
-# Create icon
-convert -scale 128 pixmaps/dcemu.gif %{name}.png
-
-
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
-mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
-install -pm0644 %{name}.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
install -pm0644 %{SOURCE1} README.fedora
+#Validate the desktop file
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/lxdream.desktop
+
#Find locales
%find_lang %{name}
-desktop-file-install --vendor "" \
- --dir %{buildroot}%{_datadir}/applications \
- %{SOURCE2}
-
%clean
rm -rf %{buildroot}
-%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-
-
%files -f %{name}.lang
%defattr(-,root,root,-)
-%{_bindir}/%{name}
-%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
-%{_datadir}/applications/%{name}.desktop
-%{_mandir}/man1/%{name}.1*
+%{_bindir}/lxdream
+%{_libdir}/lxdream
+%{_datadir}/applications/lxdream.desktop
+%{_mandir}/man1/lxdream.1*
%{_datadir}/pixmaps/lxdream
-%config(noreplace) %{_sysconfdir}/%{name}rc
+%{_datadir}/pixmaps/lxdream.png
+%config(noreplace) %{_sysconfdir}/lxdreamrc
%doc COPYING ChangeLog README.fedora
@@ -94,6 +76,10 @@
- Updated to 0.9.1
- Dropped the sanerconfig patch
- Conditionalised the ExclusiveArch line
+- Dropped the icon conversion, upstream now ships a png one
+- Dropped hicolor-icon-theme from Requires
+- Dropped the desktop file, upstream now ships it as well
+- Added SDL-devel and lirc-devel to BuildRequires
* Sun Apr 12 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9-3
- s/i386/i586/ in ExclusiveArch for F11
--- lxdream.desktop DELETED ---