2f29f21
Name:           stardict-dic-hi
2f29f21
Version:        3.0.1
2f29f21
Release:        4%{?dist}
2f29f21
Summary:        Hindi dictionary for stardict
2f29f21
2f29f21
Group:          Applications/System
2f29f21
License:        GPL+
2f29f21
URL:            http://stardict.sourceforge.net/
2f29f21
# URL http://ltrc.iiit.net/downloads/shabdanjali-stardict/shabdanjali-fedora.tgz
2f29f21
# usage: source generate-tarball.sh <version> <org-source-tarball> <initial-name-of-new-tarball>
2f29f21
# usage example: source generate-tarball.sh 3.0.1 shabdanjali-fedora.tgz shabdanjali-fedora
2f29f21
Source0:        shabdanjali-fedora-3.0.1-nobinary.tar.gz
2f29f21
Source1:        generate-tarball.sh
2f29f21
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2f29f21
Requires:       stardict
2f29f21
BuildArch:      noarch
2f29f21
2f29f21
%description
2f29f21
Hindi dictionary for stardict. The actual dictionary comes from
2f29f21
http://www.iiit.net/ltrc/Dictionaries/gen_eng_hin_hlp.html and Sriram
2f29f21
Chaudhry has converted it to a form usable by stardict.
2f29f21
2f29f21
2f29f21
%prep
2f29f21
%setup -q -n shabdanjali-fedora
2f29f21
2f29f21
2f29f21
%build
2f29f21
# Empty build
2f29f21
2f29f21
2f29f21
%install
2f29f21
rm -rf $RPM_BUILD_ROOT
2f29f21
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/stardict/dic
2f29f21
cp -p -rf shabdanjali* ${RPM_BUILD_ROOT}%{_datadir}/stardict/dic/
2f29f21
2f29f21
chmod 644 README
2f29f21
2f29f21
%clean
2f29f21
rm -rf $RPM_BUILD_ROOT
2f29f21
2f29f21
2f29f21
%files
2f29f21
%defattr(-,root,root,-)
2f29f21
%doc README
2f29f21
%{_datadir}/stardict/dic/*
2f29f21
2f29f21
2f29f21
%changelog
2f29f21
* Thu Jan 30 2009 Rakesh Pandit <rakesh@fedoraproject.org> 3.0.1-4
2f29f21
- Saving timestamp with -p.
2f29f21
2f29f21
* Thu Jan 30 2009 Rakesh Pandit <rakesh@fedoraproject.org> 3.0.1-3
2f29f21
- Added usage details for generate script
2f29f21
2f29f21
* Thu Jan 08 2009 Rakesh Pandit <rakesh@fedoraproject.org> 3.0.1-2
2f29f21
- Fixed the actual source link. Removed the binary rpm of no use inside
2f29f21
- tarball. Fixed the URL also.
2f29f21
2f29f21
* Sat Dec 06 2008 Rakesh Pandit <rakesh@fedoraproject.org> 3.0.1-1
2f29f21
- Initial build