Name: gnome-common Version: 2.28.0 Release: 1 Summary: Useful things common to building gnome packages from scratch Group: Development/Tools License: GPLv2 URL: http://developer.gnome.org Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.28/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: pkg-config %description This package contains sample files that should be used to develop pretty much every GNOME application. The programs included here are not needed for running gnome apps or building ones from distributed tarballs. They are only useful for compiling from CVS sources or when developing the build infrastructure for a GNOME application. %prep %setup -q %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} cp doc-build/README doc-README # No sense making a doc subdir in the rpm pkg for one file. cp doc/usage.txt usage.txt %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc doc-README README COPYING usage.txt ChangeLog %{_bindir}/* %{_datadir}/aclocal/* %{_datadir}/%{name} %changelog * Mon Nov 30 2009 Michael Perzl - 2.28.0-1 - first version for AIX V5.1 and higher