Blame SPECS/nmstate.spec

06df61
%?python_enable_dependency_generator
06df61
%define srcname nmstate
06df61
%define libname libnmstate
06df61
06df61
Name:           nmstate
06df61
Version:        2.0.0
06df61
Release:        0.3.alpha2%{?dist}
06df61
Summary:        Declarative network manager API
06df61
License:        LGPLv2+
06df61
URL:            https://github.com/%{srcname}/%{srcname}
06df61
Source0:        %{url}/releases/download/v%{version}/%{srcname}-%{version}-alpha2.tar.gz
06df61
Source1:        %{url}/releases/download/v%{version}/%{srcname}-%{version}-alpha2.tar.gz.asc
06df61
Source2:        nmstate.gpg
06df61
BuildArch:      noarch
06df61
BuildRequires:  python3-devel
06df61
BuildRequires:  python3-setuptools
06df61
BuildRequires:  gnupg2
06df61
Requires:       python3-setuptools
06df61
Requires:       python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
06df61
06df61
%description
06df61
Nmstate is a library with an accompanying command line tool that manages host
06df61
networking settings in a declarative manner and aimed to satisfy enterprise
06df61
needs to manage host networking through a northbound declarative API and multi
06df61
provider support on the southbound.
06df61
06df61
06df61
%package -n python3-%{libname}
06df61
Summary:        nmstate Python 3 API library
06df61
Requires:       NetworkManager-libnm >= 1:1.26.0
06df61
# Use Recommends for NetworkManager because only access to NM DBus is required,
06df61
# but NM could be running on a different host
06df61
Recommends:     NetworkManager
06df61
# Avoid automatically generated profiles
06df61
Recommends:     NetworkManager-config-server
06df61
Recommends:     (nmstate-plugin-ovsdb if openvswitch)
06df61
# Use Suggests for NetworkManager-ovs and NetworkManager-team since it is only
06df61
# required for OVS and team support
06df61
Suggests:       NetworkManager-ovs
06df61
Suggests:       NetworkManager-team
06df61
# FIXME: Once upstream included nispor into requirement.txt, remove below line
06df61
Requires:       python3dist(nispor)
06df61
06df61
%package -n nmstate-plugin-ovsdb
06df61
Summary:        nmstate plugin for OVS database manipulation
06df61
Requires:       python3-%{libname} = %{?epoch:%{epoch}:}%{version}-%{release}
06df61
%if 0%{?rhel}
06df61
# The python-openvswitch rpm package is not in the same repo with nmstate,
06df61
# require only if openvswitch is installed.
06df61
Requires:       (python3dist(ovs) if openvswitch)
06df61
Recommends:     python3dist(ovs)
06df61
%else
06df61
Requires:       python3dist(ovs)
06df61
%endif
06df61
06df61
06df61
%description -n python3-%{libname}
06df61
This package contains the Python 3 library for Nmstate.
06df61
06df61
%description -n nmstate-plugin-ovsdb
06df61
This package contains the nmstate plugin for OVS database manipulation.
06df61
06df61
%prep
06df61
gpg2 --import --import-options import-export,import-minimal %{SOURCE2} > ./gpgkey-mantainers.gpg
06df61
gpgv2 --keyring ./gpgkey-mantainers.gpg %{SOURCE1} %{SOURCE0}
06df61
%setup -q
06df61
06df61
%build
06df61
%py3_build
06df61
06df61
%install
06df61
%py3_install
06df61
06df61
%files
06df61
%doc README.md
06df61
%doc examples/
06df61
%{_mandir}/man8/nmstatectl.8*
06df61
%{python3_sitelib}/nmstatectl
06df61
%{_bindir}/nmstatectl
06df61
06df61
%files -n python3-%{libname}
06df61
%license LICENSE
06df61
%{python3_sitelib}/%{libname}
06df61
%{python3_sitelib}/%{srcname}-*.egg-info/
06df61
%exclude %{python3_sitelib}/%{libname}/plugins/nmstate_plugin_*
06df61
%exclude %{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_*
06df61
06df61
%files -n nmstate-plugin-ovsdb
06df61
%{python3_sitelib}/%{libname}/plugins/nmstate_plugin_ovsdb*
06df61
%{python3_sitelib}/%{libname}/plugins/__pycache__/nmstate_plugin_ovsdb*
06df61
06df61
%changelog
06df61
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.0-0.3.alpha2
06df61
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
06df61
  Related: rhbz#1991688
06df61
06df61
* Wed Jul 14 2021 Gris Ge <fge@redhat.com> - 2.0.0-0.2.alpha2
06df61
- Upgrade to 2.0.0 alpha2
06df61
06df61
* Fri Jul 02 2021 Wen Liang <wenliang@redhat.com> - 2.0.0-0.1
06df61
- Upgrade to 2.0.0 alpha1
06df61
06df61
* Fri Jun 18 2021 Wen Liang <wenliang@redhat.com> - 1.1.0-0.3
06df61
- Fix the 'Release' error. Resolves: RHBZ#1962381
06df61
06df61
* Thu Jun 10 2021 Wen Liang <wenliang@redhat.com> - 1.1.0-0.3
06df61
- Upgrade to 1.1.0 alpha3
06df61
06df61
* Thu May 27 2021 Wen Liang <wenliang@redhat.com> - 1.1.0-0.1
06df61
- Upgrade to 1.1.0 alpha1
06df61
06df61
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-3
06df61
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
06df61
06df61
* Sun Feb 21 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.2-2
06df61
- Add missing source to source file
06df61
06df61
* Sun Feb 21 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.2-1
06df61
- Upgrade to 1.0.2
06df61
06df61
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
06df61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
06df61
06df61
* Tue Jan 19 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.1-1
06df61
- Upgrade to 1.0.1
06df61
06df61
* Tue Dec 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.0-1
06df61
- Upgrade to 1.0.0
06df61
06df61
* Thu Oct 22 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.4.1-1
06df61
- Upgrade to 0.4.1
06df61
06df61
* Tue Oct 13 2020 Gris Ge <fge@redhat.com> - 0.4.0-2
06df61
- Fix the ELN build by put ovs stuff as soft requirement.
06df61
06df61
* Sun Sep 20 2020 Gris Ge <fge@redhat.com> - 0.4.0-1
06df61
- Upgrade to 0.4.0
06df61
06df61
* Mon Aug 31 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.5-1
06df61
- Update to 0.3.5
06df61
06df61
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
06df61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
06df61
06df61
* Sat Jul 25 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.4-1
06df61
- Update to 0.3.4
06df61
- Sync. with upstream specfile
06df61
06df61
* Thu Jul 02 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.3-1
06df61
- Update to 0.3.3
06df61
06df61
* Tue Jun 16 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.2-1
06df61
- Update to 0.3.2
06df61
- Sync with upstream specfile
06df61
06df61
* Tue Jun 09 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.1-1
06df61
- Update to 0.3.1
06df61
06df61
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-5
06df61
- Rebuilt for Python 3.9
06df61
06df61
* Fri May 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-4
06df61
- Fix source path
06df61
06df61
* Fri May 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-3
06df61
- Fix signature verification
06df61
06df61
* Fri May 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-2
06df61
- Update signature verification
06df61
06df61
* Fri May 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-1
06df61
- Update to 0.3.0
06df61
- Sync with upstream specfile
06df61
06df61
* Tue Apr 21 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.10-1
06df61
- Update to 0.2.10
06df61
06df61
* Thu Mar 26 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.9-1
06df61
- Update to 0.2.9
06df61
06df61
* Fri Mar 13 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.8-1
06df61
- Update to 0.2.8
06df61
06df61
* Wed Mar 04 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.7-1
06df61
- Update to 0.2.7
06df61
06df61
* Mon Feb 24 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.6-1
06df61
- Update to 0.2.6
06df61
06df61
* Wed Feb 19 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.5-1
06df61
- Update to 0.2.5
06df61
- Sync with upstream specfile
06df61
06df61
* Wed Feb 12 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.4-1
06df61
- Update to 0.2.4
06df61
06df61
* Wed Feb 05 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.3-1
06df61
- Update to 0.2.3
06df61
06df61
* Tue Feb 04 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.2-1
06df61
- Update to 0.2.2
06df61
- Sync with upstream specfile
06df61
06df61
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
06df61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
06df61
06df61
* Tue Jan 14 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.1-2
06df61
- Fix changelog
06df61
06df61
* Tue Jan 14 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.1-1
06df61
- Update to 0.2.1
06df61
06df61
* Tue Dec 03 2019 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.0-2
06df61
- Fix changelog
06df61
06df61
* Tue Dec 03 2019 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.2.0-1
06df61
- Update to 0.2.0
06df61
06df61
* Mon Dec 02 2019 Till Maas <opensource@till.name> - 0.1.1-1
06df61
- Update to 0.1.1
06df61
- Sync with upstream specfile
06df61
06df61
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-3
06df61
- Rebuilt for Python 3.8.0rc1 (#1748018)
06df61
06df61
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-2
06df61
- Rebuilt for Python 3.8
06df61
06df61
* Fri Jul 26 2019 Gris Ge <fge@redhat.com> - 0.0.8-1
06df61
- Upgrade to 0.0.8.
06df61
06df61
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-3
06df61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
06df61
06df61
* Fri Jun 14 2019 Gris Ge <fge@redhat.com> - 0.0.7-2
06df61
- Workaround broken dbus-python packaging:
06df61
   https://bugzilla.redhat.com/show_bug.cgi?id=1654774
06df61
06df61
* Fri Jun 14 2019 Gris Ge <fge@redhat.com> - 0.0.7-1
06df61
- Upgrade to 0.0.7
06df61
06df61
* Sun May 05 2019 Gris Ge <fge@redhat.com> - 0.0.6-1
06df61
- Upgrade to 0.0.6
06df61
06df61
* Fri Apr 12 2019 Gris Ge 
06df61
- Add missing runtime requirement: python3-dbus
06df61
06df61
* Tue Mar 12 2019 Gris Ge <fge@redhat.com> - 0.0.5-1
06df61
- Upgrade to 0.0.5
06df61
06df61
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-3
06df61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
06df61
06df61
* Tue Jan 29 2019 Till Maas <opensource@till.name> - 0.0.4-2
06df61
- Sync with upstream spec
06df61
- Use Recommends for NetworkManager
06df61
- Add Suggests for NetworkManager-ovs
06df61
- package examples as doc
06df61
06df61
* Thu Jan 24 2019 Gris Ge <fge@redhat.com> - 0.0.4-1
06df61
- Upgrade to 0.0.4.
06df61
06df61
* Mon Jan 21 2019 Gris Ge <fge@redhat.com> - 0.0.3-3
06df61
- Add missing runtime dependency for nmstatectl.
06df61
06df61
* Wed Jan 02 2019 Gris Ge <fge@redhat.com> - 0.0.3-2
06df61
- Add source file PGP verification.
06df61
06df61
* Thu Dec 20 2018 Gris Ge <fge@redhat.com> - 0.0.3-1
06df61
- Upgrade to 0.0.3.
06df61
06df61
* Mon Dec 03 2018 Gris Ge <fge@redhat.com> - 0.0.2-2
06df61
- Trival RPM SPEC fix.
06df61
06df61
* Wed Nov 28 2018 Gris Ge <fge@redhat.com> - 0.0.2-1
06df61
- Initial release.