Blob Blame History Raw
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Summary: Langpacks plugin for yum
Name: yum-langpacks
Version: 0.3.0
Release: 4%{?dist}
License: GPLv2+
Group: Development/Tools
Source0: https://fedorahosted.org/releases/y/u/%{name}/%{name}-%{version}.tar.gz
URL: https://fedorahosted.org/yum-langpacks/
BuildArch: noarch
BuildRequires: python-setuptools
Requires: yum >= 3.0
Patch1: 460f50548587f692499daae9e38e5c17c85fa078.patch
Patch2: 59965b7104d76fb032a57650ec0d1e126ece88f1.patch
Patch3: 553615e.patch

%description
Yum-langpacks is a plugin for YUM that looks for langpacks for your native
language for packages you install.

%prep
%setup -q
# upstream patches
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build

%install
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT

%files
%doc README COPYING
%{python_sitelib}/*
%{_prefix}/lib/yum-plugins/langpacks.py*
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/langpacks.conf

%changelog
* Mon Nov 19 2012 Jens Petersen <petersen@redhat.com> - 0.3.0-4
- update source and project urls
- minor spec cleanup

* Tue Sep 25 2012 Bill Nottingham <notting@redhat.com> - 0.3.0-3
- fix traceback on groupremove (#858175)

* Mon Aug 13 2012 Bill Nottingham <notting@redhat.com> - 0.3.0-2
- fix groupinstall of langonly groups (#840885)
- fix plugin type for use in yumex, elsewhere (#847502)

* Wed Aug 08 2012 Bill Nottingham <notting@redhat.com> - 0.3.0-1
- add langinstall/langremove/langlist commands (#840885)

* Thu Jun 21 2012 Bill Nottingham <notting@redhat.com> - 0.2.5-1
- don't exit on XML errors (#825811, #830739, <zpavlas@redhat.com>)

* Thu Dec 15 2011 Bill Nottingham <notting@redhat.com> - 0.2.4-2
- fix bad interaction with -C (#758574, <zpavlas@redhat.com>)

* Wed Oct 26 2011 Bill Nottingham <notting@redhat.com> - 0.2.4-1
- don't crash when there are no groups (#749108)

* Mon Oct 24 2011 Bill Nottingham <notting@redhat.com> - 0.2.3-1
- use compressed group metadata where possible (#748186)

* Mon Mar 14 2011 Bill Nottingham <notting@redhat.com> - 0.2.2-1
- don't match in-progress updates as removals (#684817)

* Fri Mar 11 2011 Bill Nottingham <notting@redhat.com> - 0.2.1-1
- fix it to work on provides, not just names (#681747)

* Tue Mar 08 2011 Bill Nottingham <notting@redhat.com> - 0.2.0-1
- update to new version that works on metadata (#681747, #682114)

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Sat Apr 24 2010 James Antill <james.antill@redhat.com> - 0.1.5-2
- Fix the problems where langpacks could delete the system.
- Resolves: bug#585424
- Register the package name, for yum history etc.

* Thu Mar 11 2010 Jens Petersen <petersen@redhat.com> - 0.1.5-1
- fixes and improvements from James Antill (#571845):
  - Move print's => yum logger uses.
  - Move tsinfo ops to real install/remove ops, so deps will be solved
  - Handles erase properly.
  - Doesn't force upgrade langpacks on upgrades/downgrades/etc.
  - Doesn't try to install multiple versions of langpacks. (#569352)
  - Move from d.has_key(v) to "v in d", as py3 removes the former.

* Tue Dec  8 2009 Jens Petersen <petersen@redhat.com> - 0.1.4-2
- fix source url (#536737)
- drop python requires (#536737)
- drop buildroot and cleaning of buildroot (#536737)
- use global (#536737)

* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.1.4-1
- BR python-setuptools (#536737)
- remove shebang from langpacks.py (#536737)

* Wed Nov 11 2009 Jens Petersen <petersen@redhat.com> - 0.1.3-1
- initial package (#433512)