%define project_name fred-db %define our_version 2.35.0 %define our_release rc1_8_g2d4052c Name: %{project_name} Version: %{our_version} Release: %{?our_release}%{!?our_release:1}%{?dist} Summary: FRED - database structure Group: Applications/Utils License: GPL URL: http://fred.nic.cz Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: postgresql-server BuildRequires: autoconf, automake %description FRED (Free Registry for Enum and Domain) is free registry system for managing domain registrations. This package contains scripts for createing database structure in postgresql database %prep %setup -q %build autoreconf -vfi %configure --prefix=/usr %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/sbin/fred-dbmanager /usr/share/fred-db/upgrades/* /usr/share/fred-db/structure.sql %changelog * Sat Jan 19 2007 Jaromir Talir - Architecture changed to noarch