rpms/wfut/devel wfut.desktop, NONE, 1.1 wfut.png, NONE, 1.1 wfut.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Thomas (wart) fedora-extras-commits at redhat.com
Mon Sep 4 01:32:20 UTC 2006


Author: wart

Update of /cvs/extras/rpms/wfut/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10039/devel

Modified Files:
	.cvsignore sources 
Added Files:
	wfut.desktop wfut.png wfut.spec 
Log Message:
auto-import wfut-1.0-3 on branch devel from wfut-1.0-3.src.rpm


--- NEW FILE wfut.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=wfut
GenericName=WorldForge media updater
Comment=Update the WorldForge media
Exec=wfut
Icon=wfut.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Application;Game;
Version=1.0


--- NEW FILE wfut.spec ---
Name:           wfut
Version:        1.0
Release:        3%{?dist}
Summary:        Software updater tool for WorldForge applications

Group:          Development/Libraries
License:        GPL
URL:            http://www.worldforge.org
Source0:        http://white.worldforge.org/downloads/WFUT/srcs/WFUT-1.0-SNAPSHOT-src.tar.gz
Source1:        wfut.desktop
Source2:        wfut.png
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-java desktop-file-utils

%description
Software updater tool for WorldForge applications.


%prep
%setup -q -n WFUT-1.0-SNAPSHOT


%build
# This should be compiling to native code now, making the JAR
# override unnecessary.  Leave it in for now as a reminder of
# how to use it with gcc's jar program.
JAR=fastjar
export JAR
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# The start script checks for a native binary, and if not found, will
# try to use java + jar file instead.  But we are only building the
# native binary, so don't bother with this check.
mv $RPM_BUILD_ROOT%{_bindir}/wfut-bin $RPM_BUILD_ROOT%{_bindir}/wfut

desktop-file-install --vendor fedora                            \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications         \
        --add-category X-Fedora                                 \
        %{SOURCE1}

mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
install -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/

%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 TODO
%{_bindir}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png


%changelog
* Thu Aug 17 2006 Wart <wart at kobold dot ort> 1.0-3
- Remove unnecessary startup script.
- Added .desktop file

* Wed Aug 16 2006 Wart <wart at kobold dot ort> 1.0-2
- Removed BR: autoxxx which aren't needed anymore.

* Wed Aug 16 2006 Wart <wart at kobold dot ort> 1.0-1
- Update to latest WFUT public tarball.

* Tue Aug 15 2006 Wart <wart at kobold dot ort> 0.0.0-2
- Updated spec for FC5 and newer.  This no longer builds
  the WFUT.jar archive, but uses a native binary instead.

* Tue Jun 20 2006 Wart <wart at kobold dot ort> 0.0.0-1
- Initial package for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/wfut/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Sep 2006 01:31:51 -0000	1.1
+++ .cvsignore	4 Sep 2006 01:32:20 -0000	1.2
@@ -0,0 +1 @@
+WFUT-1.0-SNAPSHOT-src.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/wfut/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Sep 2006 01:31:51 -0000	1.1
+++ sources	4 Sep 2006 01:32:20 -0000	1.2
@@ -0,0 +1 @@
+23d40558c121d5c52917846a36d48b80  WFUT-1.0-SNAPSHOT-src.tar.gz




More information about the scm-commits mailing list