spec cleanup

This commit is contained in:
Parag Nemade 2012-02-28 11:30:12 +05:30
parent 7aa40a7cca
commit c1fb7cef4b

View File

@ -1,11 +1,10 @@
Name: hunspell-hi Name: hunspell-hi
Summary: Hindi hunspell dictionaries Summary: Hindi hunspell dictionaries
Version: 20050726 Version: 20050726
Release: 8%{?dist} Release: 9%{?dist}
Source: http://hunspell.sourceforge.net/hi-demo.tar.gz Source: http://hunspell.sourceforge.net/hi-demo.tar.gz
Group: Applications/Text Group: Applications/Text
URL: http://hunspell.sourceforge.net URL: http://hunspell.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ License: GPLv2+
BuildArch: noarch BuildArch: noarch
@ -22,21 +21,19 @@ mv hi/Copyright.utf8 hi/Copyright
%build %build
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
mv hi/hi.dic hi/hi_IN.dic mv hi/hi.dic hi/hi_IN.dic
mv hi/hi.aff hi/hi_IN.aff mv hi/hi.aff hi/hi_IN.aff
cp -p hi/*.dic hi/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p hi/*.dic hi/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc hi/README hi/COPYING hi/Copyright %doc hi/README hi/COPYING hi/Copyright
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Tue Feb 28 2012 Parag <pnemade AT redhat DOT com> - 20050726-9
- spec cleanup
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20050726-8 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20050726-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild