Compare commits

..

5 commits

Author SHA1 Message Date
Fedora Release Engineering
b52b45a3f6 dist-git conversion 2010-07-29 15:16:17 +00:00
Bill Nottingham
c6e53d59fc Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:16:30 +00:00
Michael Thomas
d36e652da8 - License tag clarification
- Use better download URL
2007-08-23 01:32:49 +00:00
Michael Thomas
f2b4d380f2 Update to 1.1.0 2007-02-08 01:07:04 +00:00
Jeremy Katz
9286ad2b79 Initialize branch FC-6 for wfut 2006-10-23 19:28:10 +00:00
6 changed files with 111 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
WFUT-1.1.0.tar.gz

View file

@ -1 +0,0 @@
Not updated or needed these days. ember uses libwfut instead and that's the only world forge client we have.

1
sources Normal file
View file

@ -0,0 +1 @@
72bed202a37f2aaee536a6264a4957f2 WFUT-1.1.0.tar.gz

12
wfut.desktop Normal file
View file

@ -0,0 +1,12 @@
[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

BIN
wfut.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

97
wfut.spec Normal file
View file

@ -0,0 +1,97 @@
Name: wfut
Version: 1.1.0
Release: 2%{?dist}
Summary: Software updater tool for WorldForge applications
Group: Development/Libraries
License: GPL+
URL: http://www.worldforge.org
Source0: http://downloads.sourceforge.net/worldforge/WFUT-1.1.0.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-%{version}
%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 \
%{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
- License tag clarification
- Use better download URL
* Wed Feb 7 2007 Wart <wart at kobold dot ort> 1.1.0-1
- Update to 1.1.0
- Upstream moved sources to SourceForge
* 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