rpms/greyhounds/F-8 greyhounds.desktop, NONE, 1.1 greyhounds.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Krzysztof Kurzawski (kurzawa) fedora-extras-commits at redhat.com
Tue Feb 19 16:46:51 UTC 2008


Author: kurzawa

Update of /cvs/pkgs/rpms/greyhounds/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7114/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	greyhounds.desktop greyhounds.spec 
Log Message:
import greyhounds 0.8-pre-alpha


--- NEW FILE greyhounds.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Greyhounds
GenericName=Greyhounds
Comment= Greyhounds is a greyhounds racing and breeding game
Comment[pl_PL]= Greyhounds to wyścigi i hodowla chartów
Exec=greyhounds
Icon=greyhounds
Terminal=false
Type=Application
Categories=Game;
GenericName[pl_PL]=Greyhounds


--- NEW FILE greyhounds.spec ---
Name:           greyhounds
Version:        0.8
Release:        0.3.prealpha%{?dist}
Summary:        Greyhounds is a greyhounds racing and breeding game
Summary(pl):    Greyhounds to wyścigi i hodowla chartów
Group:          Amusements/Games
License:        GPLv2
URL:            http://sourceforge.net/projects/byghound
Source0:        http://downloads.sourceforge.net/byghound/%{name}-%{version}-pre-alpha.tar.bz2
Source1:        %{name}.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  desktop-file-utils gtk2-devel ImageMagick
Requires:       hicolor-icon-theme

%description
Greyhounds is a greyhound racing and breeding game. Your goal is to
acquire fast and talented greyhounds and be successful with them in the
races; your two possibilities for doing so are breeding and trading.
Ultimately you should aim at winning the Champions' Trophy. You might
also consider establishing a record that lasts to the end of times a
worthy goal.

%description -l pl
Greyhounds to wyścigi i hodowla chartów. Twoim zadaniem jest zdobyć szybkie
i utalentowane charty i być zadowolonym z ich wyścigów; twoimi dwiema
możliwościami są hodowanie i handlowanie. Ostatecznie powinineś dążyć do
wygraia mistrzowskiego trofeum. Możesz również osiągać nowe rekordy
czasowe.

%prep
%setup -q -n %{name}-%{version}-pre-alpha

# Create icons and make appropriate dir structure
mkdir icons
for size in 16 22 24 32 36 48; do
  mkdir -p icons/${size}x${size}/apps
  convert pixmaps/logo.xpm -resize ${size}x${size} icons/${size}x${size}/apps/%{name}.png
done

# Convert doc to UTF-8
iconv --from=ISO-8859-1 --to=UTF-8 README > README.utf8
mv README.utf8 README

iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.utf8
mv AUTHORS.utf8 AUTHORS

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor
cp -pr icons/*x* $RPM_BUILD_ROOT%{_datadir}/icons/hicolor

# Desktop file
desktop-file-install --vendor="fedora"               \
  --dir=$RPM_BUILD_ROOT%{_datadir}/applications         \
  %{SOURCE1}

%clean
rm -rf $RPM_BUILD_ROOT

%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
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{_datadir}/applications/fedora-%{name}.desktop

%changelog
* Sat Feb 16 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.8-0.3.prealpha
- Correct license

* Sat Feb 16 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.8-0.3.prealpha
- Correct license
- Correct Source0

* Wed Feb 13 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.8-0.1.prealpha
- First release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/greyhounds/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Feb 2008 17:30:15 -0000	1.1
+++ .cvsignore	19 Feb 2008 16:46:04 -0000	1.2
@@ -0,0 +1 @@
+greyhounds-0.8-pre-alpha.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/greyhounds/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Feb 2008 17:30:15 -0000	1.1
+++ sources	19 Feb 2008 16:46:04 -0000	1.2
@@ -0,0 +1 @@
+57dd2731e05de80b04077e5e2396b1a8  greyhounds-0.8-pre-alpha.tar.bz2




More information about the fedora-extras-commits mailing list