|
|
6b43f12 |
Name: noggin
|
|
|
20494e7 |
Version: 1.6.1
|
|
|
c0d41fe |
Release: 2%{?dist}
|
|
|
6b43f12 |
Summary: Self-service user portal for FreeIPA for communities
|
|
|
6b43f12 |
|
|
|
6b43f12 |
License: MIT
|
|
|
6b43f12 |
URL: https://noggin-aaa.readthedocs.io/
|
|
|
20494e7 |
Source0: https://github.com/fedora-infra/noggin/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
6b43f12 |
Source1: noggin.service
|
|
|
6b43f12 |
Source2: noggin.sysconfig
|
|
|
6b43f12 |
|
|
|
6b43f12 |
BuildArch: noarch
|
|
|
6b43f12 |
BuildRequires: pyproject-rpm-macros >= 0-14
|
|
|
6b43f12 |
BuildRequires: systemd-rpm-macros
|
|
|
6b43f12 |
BuildRequires: /usr/bin/pathfix.py
|
|
|
6b43f12 |
Requires: (python3dist(gunicorn) with /usr/bin/gunicorn-3)
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%description
|
|
|
6b43f12 |
Noggin is a self-service portal for FreeIPA.
|
|
|
6b43f12 |
|
|
|
6b43f12 |
The primary purpose of the portal is to allow users to sign up
|
|
|
6b43f12 |
and manage their account information and group membership.
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%package theme-fas
|
|
|
6b43f12 |
Summary: Fedora Account System theme for Noggin
|
|
|
6b43f12 |
Requires: %{name} = %{version}-%{release}
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%description theme-fas
|
|
|
6b43f12 |
Provides a theme for Noggin used for the Fedora Account System.
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%package theme-centos
|
|
|
6b43f12 |
Summary: CentOS Accounts theme for Noggin
|
|
|
6b43f12 |
Requires: %{name} = %{version}-%{release}
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%description theme-centos
|
|
|
6b43f12 |
Provides a theme for Noggin used for CentOS Accounts.
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%package theme-openSUSE
|
|
|
6b43f12 |
Summary: openSUSE Accounts theme for Noggin
|
|
|
6b43f12 |
Requires: %{name} = %{version}-%{release}
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%description theme-openSUSE
|
|
|
6b43f12 |
Provides a theme for Noggin used for openSUSE Accounts.
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%prep
|
|
|
20494e7 |
%autosetup -n %{name}-%{version} -p1
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%generate_buildrequires
|
|
|
6b43f12 |
%pyproject_buildrequires
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%build
|
|
|
6b43f12 |
%pyproject_wheel
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%install
|
|
|
6b43f12 |
%pyproject_install
|
|
|
6b43f12 |
%pyproject_save_files noggin
|
|
|
6b43f12 |
|
|
|
6b43f12 |
mkdir -p %{buildroot}%{_bindir}
|
|
|
6b43f12 |
install -pm 0755 deployment/scripts/sar.py %{buildroot}%{_bindir}/noggin-sar
|
|
|
6b43f12 |
# Fix shebangs for noggin-sar
|
|
|
6b43f12 |
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{_bindir}/noggin-sar
|
|
|
6b43f12 |
|
|
|
6b43f12 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
6b43f12 |
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
|
|
6b43f12 |
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
|
|
6b43f12 |
mkdir -p %{buildroot}%{_localstatedir}/log/noggin
|
|
|
6b43f12 |
install -pm 0644 %{S:1} %{buildroot}%{_unitdir}/%{name}.service
|
|
|
6b43f12 |
install -pm 0644 %{S:2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
|
|
6b43f12 |
touch %{buildroot}%{_sysconfdir}/%{name}/%{name}.cfg
|
|
|
6b43f12 |
touch %{buildroot}%{_localstatedir}/log/noggin/access.log
|
|
|
6b43f12 |
touch %{buildroot}%{_localstatedir}/log/noggin/error.log
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%files -f %{pyproject_files}
|
|
|
6b43f12 |
%license LICENSE
|
|
|
6b43f12 |
%doc README.md noggin.cfg.example
|
|
|
6b43f12 |
%{_bindir}/noggin-sar
|
|
|
6b43f12 |
%{_unitdir}/%{name}.service
|
|
|
6b43f12 |
%ghost %{_sysconfdir}/%{name}/%{name}.cfg
|
|
|
6b43f12 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
|
6b43f12 |
%dir %{_localstatedir}/log/noggin
|
|
|
6b43f12 |
%ghost %{_localstatedir}/log/noggin/*.log
|
|
|
6b43f12 |
%exclude %{python3_sitelib}/%{name}/themes/fas
|
|
|
6b43f12 |
%exclude %{python3_sitelib}/%{name}/themes/centos
|
|
|
6b43f12 |
%exclude %{python3_sitelib}/%{name}/themes/openSUSE
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%files theme-fas
|
|
|
6b43f12 |
%{python3_sitelib}/%{name}/themes/fas
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%files theme-centos
|
|
|
6b43f12 |
%{python3_sitelib}/%{name}/themes/centos
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%files theme-openSUSE
|
|
|
6b43f12 |
%{python3_sitelib}/%{name}/themes/openSUSE
|
|
|
6b43f12 |
|
|
|
6b43f12 |
|
|
|
6b43f12 |
%changelog
|
|
|
c0d41fe |
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 1.6.1-2
|
|
|
c0d41fe |
- Rebuilt for Python 3.11
|
|
|
c0d41fe |
|
|
|
20494e7 |
* Mon Jun 06 2022 Akashdeep Dhar <t0xic0der@fedoraproject.org> - 1.6.1-1
|
|
|
20494e7 |
- Moved out the tests from the installed package
|
|
|
20494e7 |
- Updated the dependencies
|
|
|
20494e7 |
|
|
|
e2b8b8c |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1^git20210323.3b487ed-4
|
|
|
e2b8b8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
e2b8b8c |
|
|
|
e1b7c98 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1^git20210323.3b487ed-3
|
|
|
e1b7c98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
e1b7c98 |
|
|
|
6473b1a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.1^git20210323.3b487ed-2
|
|
|
6473b1a |
- Rebuilt for Python 3.10
|
|
|
6473b1a |
|
|
|
6b43f12 |
* Tue Mar 23 2021 Neal Gompa <ngompa13@gmail.com> - 0.0.1^git20210323.3b487ed-1
|
|
|
6b43f12 |
- Bump to new git snapshot
|
|
|
6b43f12 |
|
|
|
6b43f12 |
* Sun Mar 21 2021 Neal Gompa <ngompa13@gmail.com> - 0.0.1+git20210319.511d606-1.1
|
|
|
6b43f12 |
- Bump to new git snapshot
|
|
|
6b43f12 |
- Refresh patches
|
|
|
6b43f12 |
|
|
|
6b43f12 |
* Fri Oct 30 2020 Neal Gompa <ngompa13@gmail.com> - 0.0.1+git20201028.542001b-0.1
|
|
|
6b43f12 |
- Bump to new git snapshot
|
|
|
6b43f12 |
|
|
|
6b43f12 |
* Sat Oct 24 2020 Neal Gompa <ngompa13@gmail.com> - 0.0.1+git20200923.6ed6757-0.2
|
|
|
6b43f12 |
- Add CentOS theme subpackage
|
|
|
6b43f12 |
|
|
|
6b43f12 |
* Sun Oct 04 2020 Neal Gompa <ngompa13@gmail.com> - 0.0.1+git20200923.6ed6757-0.1
|
|
|
6b43f12 |
- Bump to new git snapshot
|
|
|
6b43f12 |
|
|
|
6b43f12 |
* Sun Jul 26 2020 Neal Gompa <ngompa13@gmail.com> - 0.0.1+git20200722.fcba2d8-0.1
|
|
|
6b43f12 |
- Bump to new post-release git snapshot
|
|
|
6b43f12 |
|
|
|
6b43f12 |
* Sun Apr 19 2020 Neal Gompa <ngompa13@gmail.com> - 0.0.1-0.1
|
|
|
6b43f12 |
- Initial packaging
|