[fedup/f17] initial import
Will Woods
wwoods at fedoraproject.org
Thu Nov 1 15:21:42 UTC 2012
commit e89286d3d4183fcdaf979d2ec946756a5c2b06e5
Author: Will Woods <wwoods at redhat.com>
Date: Thu Nov 1 11:20:20 2012 -0400
initial import
.gitignore | 1 +
fedup.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ad73725 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fedup-0.7.tar.xz
diff --git a/fedup.spec b/fedup.spec
new file mode 100644
index 0000000..aa87d99
--- /dev/null
+++ b/fedup.spec
@@ -0,0 +1,50 @@
+Name: fedup
+Version: 0.7
+Release: 1%{?dist}
+Summary: The Fedora Upgrade tool
+
+License: GPLv2+
+URL: https://github.com/wgwoods/fedup
+Source0: https://github.com/downloads/wgwoods/fedup/%{name}-%{version}.tar.xz
+
+BuildRequires: python2-devel
+Requires: systemd
+BuildArch: noarch
+
+%description
+fedup is the Fedora Upgrade tool.
+
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+make install-systemd DESTDIR=$RPM_BUILD_ROOT
+
+
+%files
+%doc README.asciidoc TODO COPYING
+# systemd stuff
+%{_unitdir}/system-upgrade.target
+%{_unitdir}/upgrade-prep.service
+%{_unitdir}/upgrade-switch-root.service
+%{_unitdir}/upgrade-switch-root.target
+%{_unitdir}/../upgrade-prep.sh
+# python library
+%{python_sitelib}/fedup*
+# binaries
+%{_bindir}/fedup-cli
+
+#TODO - finish and package gtk-based GUI
+#files gtk
+#{_bindir}/fedup-gtk
+#{_datadir}/fedup/ui
+
+%changelog
+* Wed Oct 24 2012 Will Woods <wwoods at redhat.com> 0.7-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..2a5ae00 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ba0771c10426e7fa1e28aa1670bbd429 fedup-0.7.tar.xz
More information about the scm-commits
mailing list