%define name abispell-LOCALE_SHORTPLATFORM %define version VERSION %define release RELEASE %define prefix /usr %define ABIPREFIX %{prefix}/share Name: %{name} Summary: LOCALE(LOCALE_SHORT) dictionary. Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.gz Group: Applications/Publishing URL: http://www.abisource.com/ BuildRoot: /var/tmp/%{name}-%{version}-buildroot Copyright: GPL Prefix: %{prefix} #Icon: Packager: Gabriel Gerhardsson Distribution: RedHat 7.x Contrib # No requirements #Requires: %description LOCALE(LOCALE_SHORT) dictionary for use with AbiWord. %prep rm -rf $RPM_BUILD_DIR/%{name}-%{version} mkdir $RPM_BUILD_DIR/%{name}-%{version} cd %{name}-%{version} tar zxvf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz %build #Nothing needs to be done %install # Copies all ispell dictionaries mkdir -p $RPM_BUILD_ROOT%{ABIPREFIX}/AbiSuite/dictionary cp $RPM_BUILD_DIR/%{name}-%{version}/* $RPM_BUILD_ROOT%{ABIPREFIX}/AbiSuite/dictionary/ # Remove duplicate Little* entry /bin/rm -f $RPM_BUILD_ROOT%{ABIPREFIX}/AbiSuite/dictionary/Little* %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name} $RPM_BUILD_DIR/%{name}-%{version} %files %defattr(-,root,root) %{ABIPREFIX}/AbiSuite/dictionary/* %changelog * Wed Aug 29 2001 Gabriel Gerhardsson - Slimmed down %description. * Tue Aug 28 2001 Gabriel Gerhardsson - Changes packagename fron "abiword-dictionary" to "abispell". - Readded all the different variants of packages (e.g. de-CH, de-DE, de-AT, etc) * Mon Aug 27 2001 Gabriel Gerhardsson - Changes in prepararation for script-usage. e.g. "macros" here and there. * Mon Aug 27 2001 Gabriel Gerhardsson - Cleaned up a bit. - Stopped my previous tar-silliness. * Mon Aug 27 2001 Gabriel Gerhardsson - Initial experimentation