summaryrefslogtreecommitdiffstats
path: root/rpmtools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpmtools.spec')
-rw-r--r--rpmtools.spec33
1 files changed, 33 insertions, 0 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
new file mode 100644
index 0000000..97d9082
--- /dev/null
+++ b/rpmtools.spec
@@ -0,0 +1,33 @@
+Name: rpmtools
+Version: 1.0
+Release: 1%{?dist}
+Summary: Local RPM toolkit
+
+Group: Development/System
+License: None
+URL: http://localhost
+Source0: http://localhost/rpmtools-%{version}.tar.gz
+
+Requires: fedora-packager
+
+%description
+Local RPM tools
+
+%prep
+tar cvzf rpmtools-%{version}.tar.gz scripts --exclude-vcs --transform='s|^scripts/|rpmtools-%{version}/|'
+md5sum rpmtools-%{version}.tar.gz > sources
+%setup -q
+
+%build
+
+%install
+mkdir -p %{buildroot}/%{_bindir}
+install -m 755 * %{buildroot}/%{_bindir}
+
+%files
+%{_bindir}/*
+
+%changelog
+* Thu Feb 21 2013 Viktor Hercinger <vhercing@redhat.com> - 1.0.0-1
+- build-spec added
+- make-repo added