Extracted from hello-test.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Mon, 20 Aug 2007 10:43:52 +0000 (12:43 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Mon, 20 Aug 2007 10:43:52 +0000 (12:43 +0200)
tests/data/SPECS/hello.spec [new file with mode: 0644]

diff --git a/tests/data/SPECS/hello.spec b/tests/data/SPECS/hello.spec
new file mode 100644 (file)
index 0000000..4e72770
--- /dev/null
@@ -0,0 +1,54 @@
+Summary: hello -- hello, world rpm
+Name: hello
+Version: 1.0
+Release: 1
+Group: Utilities
+License: GPL
+Distribution: RPM test suite.
+Vendor: Red Hat Software
+Packager: Red Hat Software <bugs@redhat.com>
+URL: http://www.redhat.com
+Source0: hello-1.0.tar.gz
+Excludearch: lsi
+Excludeos: cpm
+Provides: hi
+Conflicts: goodbye
+Obsoletes: howdy
+Prefix: /usr
+BuildRoot: /var/tmp/hello-root
+
+%description
+Simple rpm demonstration.
+
+%prep
+%setup -q
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/usr/local/bin
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+
+%post
+
+%preun
+
+%postun
+
+%files
+%defattr(-,root,root)
+%doc   FAQ
+#%readme README
+#%license COPYING
+%attr(0751,root,root)  /usr/local/bin/hello
+
+%changelog
+* Tue Oct 20 1998 Jeff Johnson <jbj@redhat.com>
+- create.