rpms/teg/F-8 fedora-teg.desktop, NONE, 1.1 teg.spec, NONE, 1.1 teg_libxml.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

josef radinger (cheese) fedora-extras-commits at redhat.com
Wed Dec 5 16:48:35 UTC 2007


Author: cheese

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

Modified Files:
	.cvsignore sources 
Added Files:
	fedora-teg.desktop teg.spec teg_libxml.patch 
Log Message:
initial for F-8



--- NEW FILE fedora-teg.desktop ---
[Desktop Entry]
Name=T.E.G. client
Name[es]=Cliente T.E.G.
Name[de]=T.E.G. Client
Comment=Tenes Empanadas Graciela client
Comment[es]=Cliente del Tenes Empanadas Graciela
Comment[de]=Client für Tenes Empanadas Graciela
Exec=tegclient
Icon=teg
Terminal=false
Type=Application
Categories=Game;StrategyGame;
Encoding=UTF-8
X-Desktop-File-Install-Version=0.12


--- NEW FILE teg.spec ---
Name:           teg
Version:        0.11.2
Release:        10%{?dist}
Summary:        Turn based strategy game
Group:          Amusements/Games
License:        GPLv2
URL:            http://teg.sourceforge.net/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Source1:        fedora-teg.desktop
Patch0:         teg_libxml.patch
#Patch1:         teg_themes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  tidy pkgconfig glib2-devel libxml2-devel libgnomeui-devel
BuildRequires:  gettext
BuildRequires:  perl(XML::Parser)
BuildRequires: desktop-file-utils
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2

%description
Tenes Empanadas Graciela is a clone of Plan Táctico y Estratégico de la 
Guerra ,a turn based strategy game. Some rules are different.

%prep
%setup -q 
%patch0 -p1
#%patch1 -p1
for file in AUTHORS COPYING README TODO PEOPLE ChangeLog; do
    iconv -f iso8859-1 -t utf-8 < $file > $file.$$
    mv -f $file.$$  $file
done

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/gconf.xml.defaults
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps/hicolor/48x48/apps/
mv -f $RPM_BUILD_ROOT/%{_datadir}/pixmaps/teg_icono.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/hicolor/48x48/apps/teg.png
rm -rf $RPM_BUILD_ROOT/%{_datadir}/gnome/apps/Games/teg.desktop
desktop-file-install --vendor="fedora"               \
  --dir=$RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1}

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README TODO PEOPLE ChangeLog
%{_bindir}/tegrobot
%{_bindir}/tegclient
%{_bindir}/tegserver
%{_datadir}/pixmaps/teg_pix/
%{_datadir}/pixmaps/hicolor/48x48/apps/teg.png
%{_datadir}/gnome/help/teg/
%{_datadir}/applications/fedora-teg.desktop
%{_sysconfdir}/gconf/schemas/teg.schemas
      
%pre
if [ "$1" -gt 1 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
    %{_sysconfdir}/gconf/schemas/teg.schemas >/dev/null || :
fi

%preun
if [ "$1" -eq 0 ]; then
    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    gconftool-2 --makefile-uninstall-rule \
    %{_sysconfdir}/gconf/schemas/teg.schemas > /dev/null || :
fi  

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
  %{_sysconfdir}/gconf/schemas/teg.schemas > /dev/null || :
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


%changelog
* Sat Nov 24 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-10
- disable additional themes

* Sat Nov 24 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-9
- move desktop-icon to /usr/share/icons/hicolor/48x48/apps/teg.png
- added scripts for updateing icon-cache

* Wed Nov 21 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-8
- enable more themes

* Tue Nov 20 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-7
- "install -p" as option at installing
- "cleaner" files-section
- correct sourceforge-link

* Sat Nov 17 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-6
- reenable schemas
- buildrequires for desktop-file-utils
- use desktopfile-install
- own directories
- more files in doc

* Sat Oct 14 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-5
- better Summary, added TODO to docs
- add full path to sources
- correct perl-dependency
- new desktop.file
- no more use of makeinstall-macro
- todo:
- desktop.file gets installed correct now

* Sat Sep 14 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-4
- removed "macro" from changelog
- Correct License-Tag to GPLv2
- better spec-file

* Sat Aug 25 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-3
- desktop-file
- addded post postun macros
- added some deps

* Mon Aug 06 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-2
- encode description in utf-8 
- remove /etc/gconf-files (as life-files dont seem to get incorporated by rpms)

* Mon Aug 06 2007 josef radinger <cheese at nosuchhost.net> 
- 0.11.2-1
- initial version 


teg_libxml.patch:

--- NEW FILE teg_libxml.patch ---
--- teg-0.11.2/client/gui-gnome/Makefile.in.orig	2007-03-15 01:45:36.000000000 +0100
+++ teg-0.11.2/client/gui-gnome/Makefile.in	2007-08-06 16:11:19.000000000 +0200
@@ -283,6 +283,7 @@
 noinst_LIBRARIES = libguiclient.a
 INCLUDES = \
 	$(TEG_LIBGNOME_CFLAGS)				\
+	$(XML_CFLAGS)					\
 	-I$(srcdir)/..					\
 	-I$(top_srcdir)/common				\
 	-I../../intl					\


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/teg/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Nov 2007 19:42:03 -0000	1.1
+++ .cvsignore	5 Dec 2007 16:48:03 -0000	1.2
@@ -0,0 +1 @@
+teg-0.11.2.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/teg/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Nov 2007 19:42:03 -0000	1.1
+++ sources	5 Dec 2007 16:48:03 -0000	1.2
@@ -0,0 +1 @@
+880c18eb586c4642fe14e6b41e8a642f  teg-0.11.2.tar.bz2




More information about the fedora-extras-commits mailing list