Upstream has new sources, new build for it
This commit is contained in:
parent
4f4ecbba26
commit
9ee430d65c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
hunspell-bn-0.04.tar.bz2
|
||||
/hunspell-bn-0.06.tar.bz2
|
||||
/bn_in.1.0.0.tar.gz
|
||||
|
@ -1,13 +1,11 @@
|
||||
%define upstreamver 0.06
|
||||
|
||||
Name: hunspell-bn
|
||||
Summary: Bengali hunspell dictionaries
|
||||
Version: %{upstreamver}
|
||||
Release: 4%{?dist}
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
Group: Applications/Text
|
||||
Source: http://sourceforge.net/projects/bengalinux/files/bengali-spellcheck/%{name}-%{version}.tar.bz2
|
||||
URL: http://ankur.org.bd/wiki
|
||||
Source: http://anishpatil.fedorapeople.org/bn_in.%{version}.tar.gz
|
||||
URL: https://gitorious.org/hunspell_dictionaries
|
||||
License: GPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
@ -17,39 +15,25 @@ Requires: hunspell
|
||||
Bengali hunspell dictionaries.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{upstreamver}
|
||||
chmod -x bn.aff bn.dic COPYING Copyright README
|
||||
chmod -x doc/README
|
||||
mv bn.aff bn_BD.aff
|
||||
mv bn.dic bn_BD.dic
|
||||
%setup -q -c -n bn_IN
|
||||
|
||||
# Convert to utf-8
|
||||
for file in Copyright doc/README; do
|
||||
iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
|
||||
touch -r $file $file.new && \
|
||||
mv $file.new $file
|
||||
done
|
||||
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p bn_IN/*.dic bn_IN/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
bn_BD_aliases="bn_IN"
|
||||
for lang in $bn_BD_aliases; do
|
||||
ln -s bn_BD.aff $lang.aff
|
||||
ln -s bn_BD.dic $lang.dic
|
||||
done
|
||||
popd
|
||||
|
||||
%files
|
||||
%doc doc/README COPYING Copyright
|
||||
%doc bn_IN/README bn_IN/COPYING bn_IN/Copyright
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Sat May 17 2014 Anish Patil<apatil@redhat.com> - 1:1.0.0-1
|
||||
- Upstream has changed and built with new tarball
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.06-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user