rpms/springlobby/F-10 springlobby.spec,NONE,1.1
Aurelien Bompard
abompard at fedoraproject.org
Wed Mar 18 06:48:30 UTC 2009
- Previous message (by thread): rpms/spring-maps-default/devel sources, 1.1, 1.2 Comet_Catcher_Redux.sd7, 1.1, NONE Sands_of_War_v2.sd7, 1.1, NONE SmallDivide.sd7, 1.1, NONE
- Next message (by thread): rpms/spring-maps-default/devel .cvsignore,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: abompard
Update of /cvs/pkgs/rpms/springlobby/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14161
Added Files:
springlobby.spec
Log Message:
forgot the spec file...
--- NEW FILE springlobby.spec ---
Name: springlobby
Version: 0.0.1.10429
Release: 4%{?dist}
Summary: A lobby client for the spring RTS game engine
Group: Amusements/Games
# License clarification: http://springlobby.info/issues/show/810
License: GPLv3
URL: http://springlobby.info
Source0: http://www.springlobby.info/tarballs/springlobby-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: wxGTK-devel, rb_libtorrent-devel
BuildRequires: SDL-devel, SDL_sound-devel, SDL_mixer-devel
BuildRequires: pkgconfig, desktop-file-utils, gettext
# There are other "lobbies" for spring, make a virtual-provides
Provides: spring-lobby = %{version}-%{release}
Requires: hicolor-icon-theme
# Springlobby is completely useless without the spring package
Requires: spring
# Spring does not build on PPC, exclude it here too
ExcludeArch: ppc ppc64
%description
SpringLobby is a free cross-platform lobby client for the Spring RTS project.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Handled in %%doc
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/
# Fix Icon entry
sed -i -e 's/^Icon=\(.*\).svg/Icon=\1/g' \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
# Move icon to the Freedesktop directory
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS NEWS README COPYING THANKS
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%changelog
* Mon Mar 16 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10429-4
- fix license tag
* Mon Mar 16 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10429-3
- new scriptlets for the icon cache
- require hicolor-icon-theme
* Sun Mar 15 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10429-2
- drop the version in the buildrequires
- don't package ChangeLog as %%doc
* Sun Mar 15 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10429-1
- version 10429
* Wed Feb 25 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10425-1
- version 10425
- drop both patches (merged upstream)
* Tue Feb 03 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10393-1
- version 10393
- add patch to detect libunitsync.so properly
- drop workaround for rhbz#478589
- require spring
- add patch to fix gettext detection on x86_64
* Sat Jan 17 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10387-1
- version 10387
- remove vendor from the desktop file
* Thu Jan 01 2009 Aurelien Bompard <abompard at fedoraproject.org> 0.0.1.10372-1
- initial package
- Previous message (by thread): rpms/spring-maps-default/devel sources, 1.1, 1.2 Comet_Catcher_Redux.sd7, 1.1, NONE Sands_of_War_v2.sd7, 1.1, NONE SmallDivide.sd7, 1.1, NONE
- Next message (by thread): rpms/spring-maps-default/devel .cvsignore,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list