Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
This commit is contained in:
parent
4cead6e415
commit
c88a717ad3
@ -1,15 +1,14 @@
|
|||||||
Name: hyphen-it
|
Name: hyphen-it
|
||||||
Summary: Italian hyphenation rules
|
Summary: Italian hyphenation rules
|
||||||
%define upstreamid 20071127
|
%global upstreamid 20071127
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_it_IT.zip
|
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_it_IT.zip
|
||||||
Group: Applications/Text
|
|
||||||
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
|
Supplements: (hyphen and langpacks-it)
|
||||||
Provides: hyphen-la = 0.%{upstreamid}-3%{?dist}
|
Provides: hyphen-la = 0.%{upstreamid}-3%{?dist}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -22,7 +21,6 @@ chmod -x *
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
cp -p hyph_it_IT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
cp -p hyph_it_IT.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
||||||
@ -33,15 +31,16 @@ for lang in $it_IT_aliases; do
|
|||||||
ln -s hyph_it_IT.dic "hyph_"$lang".dic"
|
ln -s hyph_it_IT.dic "hyph_"$lang".dic"
|
||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README_hyph_it_IT.txt
|
%doc README_hyph_it_IT.txt
|
||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20071127-14
|
||||||
|
- Add Supplements: tag for langpacks naming guidelines
|
||||||
|
- Clean the specfile to follow current packaging guidelines
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20071127-13
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20071127-13
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user