diff options
Diffstat (limited to 'tests/data/SPECS/hello.spec')
-rw-r--r-- | tests/data/SPECS/hello.spec | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/data/SPECS/hello.spec b/tests/data/SPECS/hello.spec new file mode 100644 index 0000000..066388f --- /dev/null +++ b/tests/data/SPECS/hello.spec @@ -0,0 +1,56 @@ +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 +Patch0: hello-1.0-modernize.patch +Excludearch: lsi +Excludeos: cpm +Provides: hi +Conflicts: goodbye +Obsoletes: howdy +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Simple rpm demonstration. + +%prep +%setup -q +%patch0 -p1 -b .modernize + +%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. |