Resolves:rh#880294- package does not follow naming guidelines
This commit is contained in:
parent
e4717ea833
commit
206daf402d
@ -1,11 +1,9 @@
|
|||||||
%global upstreamid 20111229
|
|
||||||
%global upstream_version 0.7.0
|
|
||||||
|
|
||||||
Name: hyphen-pa
|
Name: hyphen-pa
|
||||||
Summary: Punjabi hyphenation rules
|
Summary: Punjabi hyphenation rules
|
||||||
Version: 0.%{upstreamid}
|
Epoch: 1
|
||||||
Release: 2%{?dist}
|
Version: 0.7.0
|
||||||
Source: http://download.savannah.gnu.org/releases/smc/hyphenation/patterns/%{name}-%{upstream_version}.tar.bz2
|
Release: 1%{?dist}
|
||||||
|
Source: http://download.savannah.gnu.org/releases/smc/hyphenation/patterns/%{name}-%{version}.tar.bz2
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://wiki.smc.org.in
|
URL: http://wiki.smc.org.in
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
@ -16,15 +14,15 @@ Requires: hyphen
|
|||||||
Punjabi hyphenation rules.
|
Punjabi hyphenation rules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{upstream_version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
mkdir -p %{buildroot}/%{_datadir}/hyphen
|
||||||
install -m644 -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
install -m644 -p *.dic %{buildroot}/%{_datadir}/hyphen
|
||||||
|
|
||||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
pushd %{buildroot}/%{_datadir}/hyphen/
|
||||||
pa_IN_aliases="pa_PK"
|
pa_IN_aliases="pa_PK"
|
||||||
for lang in $pa_IN_aliases; do
|
for lang in $pa_IN_aliases; do
|
||||||
ln -s hyph_pa_IN.dic hyph_$lang.dic
|
ln -s hyph_pa_IN.dic hyph_$lang.dic
|
||||||
@ -36,6 +34,9 @@ popd
|
|||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 27 2012 Parag <pnemade AT redhat DOT com> - 0.7.0-1
|
||||||
|
- Resolves:rh#880294- package does not follow naming guidelines
|
||||||
|
|
||||||
* Wed Nov 21 2012 Parag <pnemade AT redhat DOT com> - 0.20111229-2
|
* Wed Nov 21 2012 Parag <pnemade AT redhat DOT com> - 0.20111229-2
|
||||||
- Add %%doc files
|
- Add %%doc files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user