%define name fakejava %define version 1.4.2 %define release 1 Vendor: danno Packager: danno Distribution: dannoOS URL: http://www.internet2.edu BuildArchitectures: noarch Summary: A fake package so that rpm thinks we have "java" Name: %{name} Version: %{version} Release: %{release} Group: internet2 Source: %{name}-%{version}.tar.gz BuildRoot: /tmp/%{name}-%{version} License: GPL Provides: java = %{version} Provides: jre = %{version} Provides: jaas = %{version} Provides: jsse = %{version} Provides: j2sdk = %{version} Provides: j2re = %{version} %description A fake package so that rpm thinks we have "java" %prep %setup %build %install %clean #/bin/rm fakejava-install-a-file-for-me %files #%defattr(0755,root,root) #/fakejava-install-a-second-file %pre %post %preun %postun %changelog