[wbfs-manager] Initial Import (684429)
Dave Riches
dcr226 at fedoraproject.org
Thu May 12 17:51:59 UTC 2011
commit 868b35bc9c5b2f230bc99c1f553542732a8caeb5
Author: Dave Riches <dcr226 at fedoraproject.org>
Date: Thu May 12 18:51:22 2011 +0100
Initial Import (684429)
sources | 1 +
wbfs-gtk.desktop | 9 +++++++++
wbfs-manager.patch | 14 ++++++++++++++
wbfs-manager.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
4 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/sources b/sources
index e69de29..48c6ed3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b5379f2dcdf21699f0b3012c14fbf1a8 linux-wbfs-manager-0.1.12.tar.gz
diff --git a/wbfs-gtk.desktop b/wbfs-gtk.desktop
new file mode 100644
index 0000000..9373b91
--- /dev/null
+++ b/wbfs-gtk.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=WBFS Manager
+GenericName=WBFS File Manager
+Comment=manipulate wbfs files and partitions
+Exec=wbfs_gtk
+Icon=
+Terminal=false
+Type=Application
+Categories=System;
diff --git a/wbfs-manager.patch b/wbfs-manager.patch
new file mode 100644
index 0000000..25732ff
--- /dev/null
+++ b/wbfs-manager.patch
@@ -0,0 +1,14 @@
+diff -rU4 linux-wbfs-manager/Makefile linux-wbfs-manager.old/Makefile
+--- linux-wbfs-manager/Makefile 2010-11-02 00:27:55.000000000 +0000
++++ linux-wbfs-manager.old/Makefile 2011-04-07 17:05:22.227153804 +0100
+@@ -9,9 +9,9 @@
+ CFLAGS += -Wall
+ CPPFLAGS += -DLARGE_FILES -D_FILE_OFFSET_BITS=64
+ CPPFLAGS += -Ilibwbfs -I.
+ CPPFLAGS := $(CPPFLAGS) $(shell pkg-config --cflags gmodule-export-2.0 libglade-2.0)
+-LDFLAGS ?= -s
++LDFLAGS ?=
+
+ OBJS = wbfs_gtk.o libwbfs_os.o wbfs_ops.o message.o app_state.o devices.o progress.o list_dir.o $(foreach f,$(LIBWBFS_OBJS),libwbfs/$(f))
+ LIBWBFS_OBJS = libwbfs.o libwbfs_unix.o wiidisc.o rijndael.o
+ LDLIBS := $(shell pkg-config --libs gmodule-export-2.0 libglade-2.0)
diff --git a/wbfs-manager.spec b/wbfs-manager.spec
new file mode 100644
index 0000000..8476fe9
--- /dev/null
+++ b/wbfs-manager.spec
@@ -0,0 +1,43 @@
+Summary: A WBFS manager for Linux using GTK+
+Name: wbfs-manager
+Version: 0.1.12
+Release: 1%{?dist}
+License: GPLv2
+Group: Applications/File
+Url: http://code.google.com/p/linux-wbfs-manager/
+Source0: http://linux-wbfs-manager.googlecode.com/files/linux-wbfs-manager-%{version}.tar.gz
+Source1: wbfs-gtk.desktop
+Patch1: wbfs-manager.patch
+BuildRequires: libglade2-devel desktop-file-utils
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+This is yet another graphic WBFS (Wii Backup File System) manager
+for Linux. It uses libwbfs from Kwiirk and caristat
+(available from the authors at
+http://github.com/kwiirk/wbfs/tree/master).
+
+%prep
+%setup -q -n linux-%{name}
+%patch1 -p1
+
+%build
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}%{_bindir}/
+cp -p wbfs_gtk %{buildroot}%{_bindir}/
+desktop-file-install \
+--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
+%{SOURCE1}
+
+%files
+%defattr(-,root,root)
+%{_bindir}/wbfs_gtk
+%{_datadir}/applications/wbfs-gtk.desktop
+
+%changelog
+* Sat Mar 12 2011 Dave Riches - 0.1.12-1
+- Packaged for fedora
+
More information about the scm-commits
mailing list