Add Supplements: tag for langpacks naming guidelines

- Clean the specfile to follow current packaging guidelines
This commit is contained in:
Parag Nemade 2016-02-19 23:06:31 +05:30
parent 36d48a7382
commit f312676ce9

View File

@ -1,16 +1,15 @@
Name: hyphen-id Name: hyphen-id
Summary: Indonesian hyphenation rules Summary: Indonesian hyphenation rules
%define upstreamid 20040812 %global upstreamid 20040812
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 11%{?dist} Release: 12%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_id_ID.zip Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_id_ID.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: GPL+ License: GPL+
BuildArch: noarch BuildArch: noarch
Requires: hyphen Requires: hyphen
Supplements: (hyphen and langpacks-id)
%description %description
Indonesian hyphenation rules. Indonesian hyphenation rules.
@ -22,19 +21,19 @@ Indonesian hyphenation rules.
chmod -x * chmod -x *
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README_id_ID.txt %doc README_id_ID.txt
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20040812-12
- 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.20040812-11 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040812-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -65,5 +64,5 @@ rm -rf $RPM_BUILD_ROOT
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040812-2 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040812-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Jan 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20040812-1 * Mon Jan 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20040812-1
- initial version - initial version