Accepting request 974749 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/974749 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pagure?expand=0&rev=25
This commit is contained in:
commit
5000df3c60
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6158c875438ae9481bd7338bb5d9c87bb79be45e0a61965d900e278c4342f602
|
|
||||||
size 21939540
|
|
3
pagure-5.13.3.tar.gz
Normal file
3
pagure-5.13.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f684d8193d4c4cf637b465c80cbfece6eb2b1646df3ec4f993adf75ea78d5a1a
|
||||||
|
size 22045766
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 3 16:57:56 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
- Update to 5.13.3
|
||||||
|
+ Warn users when a PR contains some characters
|
||||||
|
+ srcfpo theme:
|
||||||
|
+ Change "Packages" link to new packages website
|
||||||
|
+ left-align the lines in description
|
||||||
|
+ fas user url updated for new accounts system
|
||||||
|
+ Change fas link from admin.fp.o to accounts.fp.o
|
||||||
|
+ Remove message about 60 day key length
|
||||||
|
+ Escape $ to fix Jenkins interpolation warning
|
||||||
|
+ Fix another invalid <img> width/height attribute
|
||||||
|
+ Fix missing space before src in <script>
|
||||||
|
+ Remove duplicate class attribute from Clone dropdown
|
||||||
|
+ Fix invalid <img> height (no px is allowed here)
|
||||||
|
+ Add Translation status link on repo_info page at src.fp.o
|
||||||
|
+ Update fedmsg homepage
|
||||||
|
+ Add support for noggin with the FAS auth backend
|
||||||
|
+ Update collaborator access level descriptions
|
||||||
|
+ Fix a type, add missing work hand
|
||||||
|
+ Fix Pagure's overview page verbatim error
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 16 21:23:15 UTC 2021 - Neal Gompa <ngompa13@gmail.com>
|
Thu Sep 16 21:23:15 UTC 2021 - Neal Gompa <ngompa13@gmail.com>
|
||||||
|
|
||||||
|
355
pagure.spec
355
pagure.spec
@ -1,6 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pagure
|
# spec file for package pagure
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2021 Neal Gompa <ngompa13@gmail.com>.
|
# Copyright (c) 2021 Neal Gompa <ngompa13@gmail.com>.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -21,137 +22,134 @@
|
|||||||
%global __provides_exclude_from ^%{python3_sitelib}/pagure/.*$
|
%global __provides_exclude_from ^%{python3_sitelib}/pagure/.*$
|
||||||
%global __requires_exclude_from ^%{python3_sitelib}/pagure/.*$
|
%global __requires_exclude_from ^%{python3_sitelib}/pagure/.*$
|
||||||
|
|
||||||
|
Name: pagure
|
||||||
Name: pagure
|
Version: 5.13.3
|
||||||
Version: 5.13.2
|
Release: 0
|
||||||
Release: 0
|
Summary: A git-centered forge
|
||||||
Summary: A git-centered forge
|
Group: Development/Tools/Version Control
|
||||||
Group: Development/Tools/Version Control
|
|
||||||
# Pagure itself is GPL-2.0-or-later; flask_fas_openid.py is LGPL-2.1-or-later
|
# Pagure itself is GPL-2.0-or-later; flask_fas_openid.py is LGPL-2.1-or-later
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
URL: https://pagure.io/pagure
|
URL: https://pagure.io/pagure
|
||||||
Source0: https://pagure.io/releases/pagure/%{name}-%{version}.tar.gz
|
Source0: https://pagure.io/releases/pagure/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# Vendor in the single file from python-fedora that's needed
|
# Vendor in the single file from python-fedora that's needed
|
||||||
# This way, we avoid having to pull in all of python-fedora
|
# This way, we avoid having to pull in all of python-fedora
|
||||||
# This file is licensed LGPL-2.1-or-later, per https://github.com/fedora-infra/python-fedora/blob/develop/README.rst#license
|
# This file is licensed LGPL-2.1-or-later, per https://github.com/fedora-infra/python-fedora/blob/develop/README.rst#license
|
||||||
Source1: https://raw.githubusercontent.com/fedora-infra/python-fedora/4719f10b3af1cf068e969387eab7df7e935003cd/flask_fas_openid.py
|
Source1: https://raw.githubusercontent.com/fedora-infra/python-fedora/4719f10b3af1cf068e969387eab7df7e935003cd/flask_fas_openid.py
|
||||||
|
|
||||||
# SUSE-specific README providing a quickstart guide
|
# SUSE-specific README providing a quickstart guide
|
||||||
Source10: pagure-README.SUSE
|
Source10: pagure-README.SUSE
|
||||||
|
|
||||||
|
|
||||||
# Backports from upstream
|
# Backports from upstream
|
||||||
|
|
||||||
|
|
||||||
# SUSE-specific fixes
|
# SUSE-specific fixes
|
||||||
## Change the defaults in the example config to match packaging
|
## Change the defaults in the example config to match packaging
|
||||||
Patch1000: pagure-5.0-default-example-cfg.patch
|
Patch1000: pagure-5.0-default-example-cfg.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
BuildRequires: apache2
|
BuildRequires: apache2
|
||||||
BuildRequires: nginx
|
BuildRequires: fdupes
|
||||||
BuildRequires: fdupes
|
BuildRequires: nginx
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
BuildRequires: python3-alembic
|
BuildRequires: python3-Flask
|
||||||
BuildRequires: python3-arrow
|
BuildRequires: python3-Flask-WTF
|
||||||
BuildRequires: python3-bcrypt
|
BuildRequires: python3-Markdown
|
||||||
BuildRequires: python3-binaryornot
|
BuildRequires: python3-Pillow
|
||||||
BuildRequires: python3-bleach
|
BuildRequires: python3-alembic
|
||||||
BuildRequires: python3-blinker
|
BuildRequires: python3-arrow
|
||||||
BuildRequires: python3-chardet
|
BuildRequires: python3-bcrypt
|
||||||
BuildRequires: python3-cryptography
|
BuildRequires: python3-binaryornot
|
||||||
BuildRequires: python3-docutils
|
BuildRequires: python3-bleach
|
||||||
BuildRequires: python3-email_validator
|
BuildRequires: python3-blinker
|
||||||
BuildRequires: python3-Flask
|
BuildRequires: python3-chardet
|
||||||
BuildRequires: python3-Flask-WTF
|
BuildRequires: python3-cryptography
|
||||||
BuildRequires: python3-Markdown
|
BuildRequires: python3-docutils
|
||||||
BuildRequires: python3-Pillow
|
BuildRequires: python3-email_validator
|
||||||
BuildRequires: python3-psutil
|
BuildRequires: python3-psutil
|
||||||
BuildRequires: python3-pygit2 >= 0.26.0
|
BuildRequires: python3-pygit2 >= 0.26.0
|
||||||
#BuildRequires: python3-fedora-flask
|
#BuildRequires: python3-fedora-flask
|
||||||
BuildRequires: python3-python3-openid
|
BuildRequires: python3-python3-openid
|
||||||
BuildRequires: python3-python-openid-cla
|
BuildRequires: python3-SQLAlchemy >= 0.8
|
||||||
BuildRequires: python3-python-openid-teams
|
BuildRequires: python3-WTForms
|
||||||
BuildRequires: python3-SQLAlchemy >= 0.8
|
BuildRequires: python3-munch
|
||||||
BuildRequires: python3-straight-plugin
|
BuildRequires: python3-python-openid-cla
|
||||||
BuildRequires: python3-WTForms
|
BuildRequires: python3-python-openid-teams
|
||||||
BuildRequires: python3-munch
|
BuildRequires: python3-redis
|
||||||
BuildRequires: python3-redis
|
BuildRequires: python3-straight-plugin
|
||||||
BuildRequires: python3-whitenoise
|
BuildRequires: python3-whitenoise
|
||||||
|
|
||||||
# We require OpenSSH 7.4+ for SHA256 support
|
# We require OpenSSH 7.4+ for SHA256 support
|
||||||
Requires: openssh >= 7.4
|
Requires: openssh >= 7.4
|
||||||
|
|
||||||
Requires: python3-alembic
|
Requires: python3-Flask
|
||||||
Requires: python3-arrow
|
Requires: python3-Flask-WTF
|
||||||
Requires: python3-bcrypt
|
Requires: python3-Markdown
|
||||||
Requires: python3-binaryornot
|
Requires: python3-Pillow
|
||||||
Requires: python3-bleach
|
Requires: python3-alembic
|
||||||
Requires: python3-blinker
|
Requires: python3-arrow
|
||||||
Requires: python3-celery
|
Requires: python3-bcrypt
|
||||||
Requires: python3-chardet
|
Requires: python3-binaryornot
|
||||||
Requires: python3-cryptography
|
Requires: python3-bleach
|
||||||
Requires: python3-docutils
|
Requires: python3-blinker
|
||||||
Requires: python3-email_validator
|
Requires: python3-celery
|
||||||
Requires: python3-Flask
|
Requires: python3-chardet
|
||||||
Requires: python3-Flask-WTF
|
Requires: python3-cryptography
|
||||||
Requires: python3-Markdown
|
Requires: python3-docutils
|
||||||
Requires: python3-Pillow
|
Requires: python3-email_validator
|
||||||
Requires: python3-psutil
|
Requires: python3-psutil
|
||||||
Requires: python3-pygit2 >= 0.26.0
|
Requires: python3-pygit2 >= 0.26.0
|
||||||
#Requires: python3-fedora-flask
|
#Requires: python3-fedora-flask
|
||||||
Requires: python3-python3-openid
|
Requires: python3-python3-openid
|
||||||
Requires: python3-python-openid-cla
|
Requires: python3-SQLAlchemy > 0.8
|
||||||
Requires: python3-python-openid-teams
|
Requires: python3-WTForms
|
||||||
Requires: python3-SQLAlchemy > 0.8
|
Requires: python3-munch
|
||||||
Requires: python3-straight-plugin
|
Requires: python3-python-openid-cla
|
||||||
Requires: python3-WTForms
|
Requires: python3-python-openid-teams
|
||||||
Requires: python3-munch
|
Requires: python3-redis
|
||||||
Requires: python3-redis
|
Requires: python3-straight-plugin
|
||||||
Requires: python3-whitenoise
|
Requires: python3-whitenoise
|
||||||
|
|
||||||
# Required for celery
|
# Required for celery
|
||||||
Requires: python3-pytz
|
Requires: python3-pytz
|
||||||
|
|
||||||
# Required for database setup/migrations
|
# Required for database setup/migrations
|
||||||
Requires: python3-dbm
|
Requires: python3-dbm
|
||||||
Requires: python3-kitchen
|
Requires: python3-kitchen
|
||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
|
|
||||||
# We want to use cchardet whenever it's available
|
# We want to use cchardet whenever it's available
|
||||||
Recommends: python3-cchardet
|
Recommends: python3-cchardet
|
||||||
|
|
||||||
# If using PostgreSQL, the correct driver should be installed
|
# If using PostgreSQL, the correct driver should be installed
|
||||||
Recommends: (python3-psycopg2 if postgresql-server)
|
Recommends: (python3-psycopg2 if postgresql-server)
|
||||||
|
|
||||||
# If using MariaDB/MySQL, the correct driver should be installed
|
# If using MariaDB/MySQL, the correct driver should be installed
|
||||||
Recommends: (python3-PyMySQL if mysql-server)
|
Recommends: (python3-PyMySQL if mysql-server)
|
||||||
|
|
||||||
# If using Apache web server, the correct configuration should be installed
|
# If using Apache web server, the correct configuration should be installed
|
||||||
Recommends: (%{name}-web-apache-httpd if apache2)
|
Recommends: (%{name}-web-apache-httpd if apache2)
|
||||||
|
|
||||||
# If using Nginx web server, the correct configuration should be installed
|
# If using Nginx web server, the correct configuration should be installed
|
||||||
Recommends: (%{name}-web-nginx if nginx)
|
Recommends: (%{name}-web-nginx if nginx)
|
||||||
|
|
||||||
# The default theme is required
|
# The default theme is required
|
||||||
Requires: %{name}-theme-default
|
Requires: %{name}-theme-default
|
||||||
|
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
|
|
||||||
# We use the git tools for some actions due to deficiencies in libgit2 and pygit2
|
# We use the git tools for some actions due to deficiencies in libgit2 and pygit2
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
|
|
||||||
# No dependency of the app per se, but required to make it working.
|
# No dependency of the app per se, but required to make it working.
|
||||||
OrderWithRequires: gitolite >= 3.0
|
OrderWithRequires: gitolite >= 3.0
|
||||||
Requires(pre): gitolite >= 3.0
|
Requires(pre): gitolite >= 3.0
|
||||||
Requires: gitolite >= 3.0
|
Requires: gitolite >= 3.0
|
||||||
Requires(post): user(wwwrun)
|
Requires(post): user(wwwrun)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pagure is a git-centered forge based on pygit2.
|
Pagure is a git-centered forge based on pygit2.
|
||||||
@ -163,162 +161,161 @@ create/merge pull-requests across or within projects.
|
|||||||
For steps on how to set up the system after installing this package,
|
For steps on how to set up the system after installing this package,
|
||||||
please read %{_docdir}/%{name}/README.SUSE.
|
please read %{_docdir}/%{name}/README.SUSE.
|
||||||
|
|
||||||
|
|
||||||
%package web-apache-httpd
|
%package web-apache-httpd
|
||||||
Summary: Apache HTTPD configuration for Pagure
|
Summary: Apache HTTPD configuration for Pagure
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: apache2-mod_wsgi-python3
|
Requires: apache2-mod_wsgi-python3
|
||||||
# Apache config moved out to its own subpackage
|
# Apache config moved out to its own subpackage
|
||||||
Obsoletes: %{name} < 5.10
|
Obsoletes: %{name} < 5.10
|
||||||
Conflicts: %{name} < 5.10
|
Conflicts: %{name} < 5.10
|
||||||
|
|
||||||
%description web-apache-httpd
|
%description web-apache-httpd
|
||||||
This package provides the configuration files for deploying
|
This package provides the configuration files for deploying
|
||||||
a Pagure server using the Apache HTTPD server.
|
a Pagure server using the Apache HTTPD server.
|
||||||
|
|
||||||
|
|
||||||
%package web-nginx
|
%package web-nginx
|
||||||
Summary: Nginx configuration for Pagure
|
Summary: Nginx configuration for Pagure
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: nginx
|
Requires: nginx
|
||||||
Requires: python3-gunicorn
|
Requires: python3-gunicorn
|
||||||
|
|
||||||
%description web-nginx
|
%description web-nginx
|
||||||
This package provides the configuration files for deploying
|
This package provides the configuration files for deploying
|
||||||
a Pagure server using the Nginx web server.
|
a Pagure server using the Nginx web server.
|
||||||
|
|
||||||
|
|
||||||
%package theme-upstream
|
%package theme-upstream
|
||||||
Summary: Base theme for the Pagure web interface
|
Summary: Base theme for the Pagure web interface
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description theme-upstream
|
%description theme-upstream
|
||||||
This package provides the web interface assets for styling
|
This package provides the web interface assets for styling
|
||||||
a Pagure server with the base upstream look and feel.
|
a Pagure server with the base upstream look and feel.
|
||||||
|
|
||||||
|
|
||||||
%package theme-pagureio
|
%package theme-pagureio
|
||||||
Summary: Pagure web interface theme used on Pagure.io
|
Summary: Pagure web interface theme used on Pagure.io
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description theme-pagureio
|
%description theme-pagureio
|
||||||
This package provides the web interface assets for styling
|
This package provides the web interface assets for styling
|
||||||
a Pagure server with the same look and feel as Pagure.io.
|
a Pagure server with the same look and feel as Pagure.io.
|
||||||
|
|
||||||
|
|
||||||
%package theme-srcfpo
|
%package theme-srcfpo
|
||||||
Summary: Pagure web interface theme used on src.fedoraproject.org
|
Summary: Pagure web interface theme used on src.fedoraproject.org
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description theme-srcfpo
|
%description theme-srcfpo
|
||||||
This package provides the web interface assets for styling
|
This package provides the web interface assets for styling
|
||||||
a Pagure server with the same look and feel as src.fedoraproject.org.
|
a Pagure server with the same look and feel as src.fedoraproject.org.
|
||||||
|
|
||||||
|
|
||||||
%package theme-chameleon
|
%package theme-chameleon
|
||||||
Summary: Pagure web interface theme based on openSUSE's chameleon theme
|
Summary: Pagure web interface theme based on openSUSE's chameleon theme
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description theme-chameleon
|
%description theme-chameleon
|
||||||
This package provides the web interface assets for styling
|
This package provides the web interface assets for styling
|
||||||
a Pagure server with the same look and feel as openSUSE Infrastructure.
|
a Pagure server with the same look and feel as openSUSE Infrastructure.
|
||||||
|
|
||||||
|
|
||||||
%package theme-default-upstream
|
%package theme-default-upstream
|
||||||
Summary: Configuration for pagure to default to the upstream web interface theme
|
Summary: Configuration for pagure to default to the upstream web interface theme
|
||||||
Conflicts: %{name}-theme-default
|
Conflicts: %{name}-theme-default
|
||||||
Provides: %{name}-theme-default
|
Provides: %{name}-theme-default
|
||||||
Requires: %{name}-theme-upstream = %{version}-%{release}
|
Requires: %{name}-theme-upstream = %{version}-%{release}
|
||||||
|
|
||||||
%description theme-default-upstream
|
%description theme-default-upstream
|
||||||
This package sets the default web interface assets used for
|
This package sets the default web interface assets used for
|
||||||
a Pagure server running as shipped by upstream.
|
a Pagure server running as shipped by upstream.
|
||||||
|
|
||||||
|
|
||||||
%package theme-default-openSUSE
|
%package theme-default-openSUSE
|
||||||
Summary: Configuration for pagure to default to the openSUSE web interface theme
|
Summary: Configuration for pagure to default to the openSUSE web interface theme
|
||||||
Conflicts: %{name}-theme-default
|
Conflicts: %{name}-theme-default
|
||||||
Provides: %{name}-theme-default
|
Provides: %{name}-theme-default
|
||||||
Requires: %{name}-theme-chameleon = %{version}-%{release}
|
Requires: %{name}-theme-chameleon = %{version}-%{release}
|
||||||
Enhances: (%{name} and branding-openSUSE)
|
Enhances: (%{name} and branding-openSUSE)
|
||||||
RemovePathPostfixes: .openSUSE
|
Removepathpostfixes:.openSUSE
|
||||||
|
|
||||||
%description theme-default-openSUSE
|
%description theme-default-openSUSE
|
||||||
This package sets the default web interface assets used for
|
This package sets the default web interface assets used for
|
||||||
a Pagure server running on openSUSE.
|
a Pagure server running on openSUSE.
|
||||||
|
|
||||||
|
|
||||||
%package milters
|
%package milters
|
||||||
Summary: Milter to integrate pagure with emails
|
Summary: Milter to integrate pagure with emails
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: python3-pymilter
|
Requires: python3-pymilter
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
# It would work with sendmail but we configure things (like the tempfile)
|
# It would work with sendmail but we configure things (like the tempfile)
|
||||||
# to work with postfix
|
# to work with postfix
|
||||||
Requires: postfix
|
Requires: postfix
|
||||||
|
|
||||||
%description milters
|
%description milters
|
||||||
Milters (Mail filters) allowing the integration of pagure and emails.
|
Milters (Mail filters) allowing the integration of pagure and emails.
|
||||||
This is useful for example to allow commenting on a ticket by email.
|
This is useful for example to allow commenting on a ticket by email.
|
||||||
|
|
||||||
|
|
||||||
%package ev
|
%package ev
|
||||||
Summary: EventSource server for pagure
|
Summary: EventSource server for pagure
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: python3-Trololio
|
Requires: python3-Trololio
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description ev
|
%description ev
|
||||||
Pagure comes with an eventsource server allowing live update of the pages
|
Pagure comes with an eventsource server allowing live update of the pages
|
||||||
supporting it. This package provides it.
|
supporting it. This package provides it.
|
||||||
|
|
||||||
|
|
||||||
%package webhook
|
%package webhook
|
||||||
Summary: Web-Hook server for pagure
|
Summary: Web-Hook server for pagure
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description webhook
|
%description webhook
|
||||||
Pagure comes with an webhook server allowing http callbacks for any action
|
Pagure comes with an webhook server allowing http callbacks for any action
|
||||||
done on a project. This package provides it.
|
done on a project. This package provides it.
|
||||||
|
|
||||||
|
|
||||||
%package ci
|
%package ci
|
||||||
Summary: A CI service for pagure
|
Summary: A CI service for pagure
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: python3-python-jenkins
|
Requires: python3-python-jenkins
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description ci
|
%description ci
|
||||||
Pagure comes with a continuous integration service, currently supporting
|
Pagure comes with a continuous integration service, currently supporting
|
||||||
only jenkins but extendable to others.
|
only jenkins but extendable to others.
|
||||||
With this service, your CI server will be able to report the results of the
|
With this service, your CI server will be able to report the results of the
|
||||||
build on the pull-requests opened to your project.
|
build on the pull-requests opened to your project.
|
||||||
|
|
||||||
|
|
||||||
%package logcom
|
%package logcom
|
||||||
Summary: The logcom service for pagure
|
Summary: The logcom service for pagure
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description logcom
|
%description logcom
|
||||||
pagure-logcom contains the service that logs commits into the database so that
|
pagure-logcom contains the service that logs commits into the database so that
|
||||||
the activity calendar heatmap is filled.
|
the activity calendar heatmap is filled.
|
||||||
|
|
||||||
|
|
||||||
%package loadjson
|
%package loadjson
|
||||||
Summary: The loadjson service for pagure
|
Summary: The loadjson service for pagure
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description loadjson
|
%description loadjson
|
||||||
pagure-loadjson is the service allowing to update the database with the
|
pagure-loadjson is the service allowing to update the database with the
|
||||||
information provided in the JSON blobs that are stored in the tickets (and
|
information provided in the JSON blobs that are stored in the tickets (and
|
||||||
in the future pull-requests) git repo.
|
in the future pull-requests) git repo.
|
||||||
|
|
||||||
|
|
||||||
%package mirror
|
%package mirror
|
||||||
Summary: The mirroring service for pagure
|
Summary: The mirroring service for pagure
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description mirror
|
%description mirror
|
||||||
pagure-mirror is the service mirroring projects that asked for it outside
|
pagure-mirror is the service mirroring projects that asked for it outside
|
||||||
of this pagure instance.
|
of this pagure instance.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -329,11 +326,9 @@ sed -e "s/import flask_fas_openid/from pagure.ui import flask_fas_openid as flas
|
|||||||
# Install README.SUSE file
|
# Install README.SUSE file
|
||||||
install -pm 0644 %{SOURCE10} README.SUSE
|
install -pm 0644 %{SOURCE10} README.SUSE
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
@ -473,7 +468,7 @@ ln -sr %{buildroot}/%{python3_sitelib}/pagure/themes/chameleon %{buildroot}/%{py
|
|||||||
|
|
||||||
# Run fdupes
|
# Run fdupes
|
||||||
%fdupes %{buildroot}/%{python3_sitelib}
|
%fdupes %{buildroot}/%{python3_sitelib}
|
||||||
%fdupes doc/
|
%fdupes doc/_build/html
|
||||||
|
|
||||||
# Make log directory and files
|
# Make log directory and files
|
||||||
mkdir -p %{buildroot}/%{_localstatedir}/log/pagure
|
mkdir -p %{buildroot}/%{_localstatedir}/log/pagure
|
||||||
@ -526,22 +521,30 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%systemd_post pagure_gitolite_worker.service
|
%systemd_post pagure_gitolite_worker.service
|
||||||
%systemd_post pagure_api_key_expire_mail.timer
|
%systemd_post pagure_api_key_expire_mail.timer
|
||||||
%systemd_post pagure_mirror_project_in.timer
|
%systemd_post pagure_mirror_project_in.timer
|
||||||
|
|
||||||
%post web-nginx
|
%post web-nginx
|
||||||
%systemd_post pagure_web.service
|
%systemd_post pagure_web.service
|
||||||
%systemd_post pagure_docs_web.service
|
%systemd_post pagure_docs_web.service
|
||||||
|
|
||||||
%post milters
|
%post milters
|
||||||
%tmpfiles_create %{_tmpfilesdir}/%{name}-milter.conf
|
%tmpfiles_create %{_tmpfilesdir}/%{name}-milter.conf
|
||||||
%systemd_post pagure_milter.service
|
%systemd_post pagure_milter.service
|
||||||
|
|
||||||
%post ev
|
%post ev
|
||||||
%systemd_post pagure_ev.service
|
%systemd_post pagure_ev.service
|
||||||
|
|
||||||
%post webhook
|
%post webhook
|
||||||
%systemd_post pagure_webhook.service
|
%systemd_post pagure_webhook.service
|
||||||
|
|
||||||
%post ci
|
%post ci
|
||||||
%systemd_post pagure_ci.service
|
%systemd_post pagure_ci.service
|
||||||
|
|
||||||
%post logcom
|
%post logcom
|
||||||
%systemd_post pagure_logcom.service
|
%systemd_post pagure_logcom.service
|
||||||
|
|
||||||
%post loadjson
|
%post loadjson
|
||||||
%systemd_post pagure_loadjson.service
|
%systemd_post pagure_loadjson.service
|
||||||
|
|
||||||
%post mirror
|
%post mirror
|
||||||
%systemd_post pagure_mirror.service
|
%systemd_post pagure_mirror.service
|
||||||
|
|
||||||
@ -551,21 +554,29 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%systemd_preun pagure_gitolite_worker.service
|
%systemd_preun pagure_gitolite_worker.service
|
||||||
%systemd_preun pagure_api_key_expire_mail.timer
|
%systemd_preun pagure_api_key_expire_mail.timer
|
||||||
%systemd_preun pagure_mirror_project_in.timer
|
%systemd_preun pagure_mirror_project_in.timer
|
||||||
|
|
||||||
%preun web-nginx
|
%preun web-nginx
|
||||||
%systemd_preun pagure_web.service
|
%systemd_preun pagure_web.service
|
||||||
%systemd_preun pagure_docs_web.service
|
%systemd_preun pagure_docs_web.service
|
||||||
|
|
||||||
%preun milters
|
%preun milters
|
||||||
%systemd_preun pagure_milter.service
|
%systemd_preun pagure_milter.service
|
||||||
|
|
||||||
%preun ev
|
%preun ev
|
||||||
%systemd_preun pagure_ev.service
|
%systemd_preun pagure_ev.service
|
||||||
|
|
||||||
%preun webhook
|
%preun webhook
|
||||||
%systemd_preun pagure_webhook.service
|
%systemd_preun pagure_webhook.service
|
||||||
|
|
||||||
%preun ci
|
%preun ci
|
||||||
%systemd_preun pagure_ci.service
|
%systemd_preun pagure_ci.service
|
||||||
|
|
||||||
%preun logcom
|
%preun logcom
|
||||||
%systemd_preun pagure_logcom.service
|
%systemd_preun pagure_logcom.service
|
||||||
|
|
||||||
%preun loadjson
|
%preun loadjson
|
||||||
%systemd_preun pagure_loadjson.service
|
%systemd_preun pagure_loadjson.service
|
||||||
|
|
||||||
%preun mirror
|
%preun mirror
|
||||||
%systemd_preun pagure_mirror.service
|
%systemd_preun pagure_mirror.service
|
||||||
|
|
||||||
@ -575,27 +586,34 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%systemd_postun_with_restart pagure_gitolite_worker.service
|
%systemd_postun_with_restart pagure_gitolite_worker.service
|
||||||
%systemd_postun pagure_api_key_expire_mail.timer
|
%systemd_postun pagure_api_key_expire_mail.timer
|
||||||
%systemd_postun pagure_mirror_project_in.timer
|
%systemd_postun pagure_mirror_project_in.timer
|
||||||
|
|
||||||
%postun web-nginx
|
%postun web-nginx
|
||||||
%systemd_postun_with_restart pagure_web.service
|
%systemd_postun_with_restart pagure_web.service
|
||||||
%systemd_postun_with_restart pagure_docs_web.service
|
%systemd_postun_with_restart pagure_docs_web.service
|
||||||
|
|
||||||
%postun milters
|
%postun milters
|
||||||
%systemd_postun_with_restart pagure_milter.service
|
%systemd_postun_with_restart pagure_milter.service
|
||||||
|
|
||||||
%postun ev
|
%postun ev
|
||||||
%systemd_postun_with_restart pagure_ev.service
|
%systemd_postun_with_restart pagure_ev.service
|
||||||
|
|
||||||
%postun webhook
|
%postun webhook
|
||||||
%systemd_postun_with_restart pagure_webhook.service
|
%systemd_postun_with_restart pagure_webhook.service
|
||||||
|
|
||||||
%postun ci
|
%postun ci
|
||||||
%systemd_postun_with_restart pagure_ci.service
|
%systemd_postun_with_restart pagure_ci.service
|
||||||
|
|
||||||
%postun logcom
|
%postun logcom
|
||||||
%systemd_postun_with_restart pagure_logcom.service
|
%systemd_postun_with_restart pagure_logcom.service
|
||||||
|
|
||||||
%postun loadjson
|
%postun loadjson
|
||||||
%systemd_postun_with_restart pagure_loadjson.service
|
%systemd_postun_with_restart pagure_loadjson.service
|
||||||
|
|
||||||
%postun mirror
|
%postun mirror
|
||||||
%systemd_postun_with_restart pagure_mirror.service
|
%systemd_postun_with_restart pagure_mirror.service
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.SUSE README.rst UPGRADING.rst doc/ files/gitolite3.rc files/pagure.cfg.sample
|
%doc README.SUSE README.rst UPGRADING.rst doc/_build/html files/gitolite3.rc files/pagure.cfg.sample
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%config(noreplace) %{_sysconfdir}/pagure/pagure.cfg
|
%config(noreplace) %{_sysconfdir}/pagure/pagure.cfg
|
||||||
%config(noreplace) %{_sysconfdir}/pagure/alembic.ini
|
%config(noreplace) %{_sysconfdir}/pagure/alembic.ini
|
||||||
@ -637,14 +655,12 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%attr(-,git,git) %dir /srv/www/pagure-releases
|
%attr(-,git,git) %dir /srv/www/pagure-releases
|
||||||
%attr(-,git,git) %dir %{_localstatedir}/log/pagure
|
%attr(-,git,git) %dir %{_localstatedir}/log/pagure
|
||||||
|
|
||||||
|
|
||||||
%files web-apache-httpd
|
%files web-apache-httpd
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc files/pagure-apache-httpd.conf
|
%doc files/pagure-apache-httpd.conf
|
||||||
%config(noreplace) %{_sysconfdir}/apache2/vhosts.d/pagure.conf
|
%config(noreplace) %{_sysconfdir}/apache2/vhosts.d/pagure.conf
|
||||||
%config(noreplace) %{_datadir}/pagure/*.wsgi
|
%config(noreplace) %{_datadir}/pagure/*.wsgi
|
||||||
|
|
||||||
|
|
||||||
%files web-nginx
|
%files web-nginx
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc files/pagure-nginx.conf
|
%doc files/pagure-nginx.conf
|
||||||
@ -654,37 +670,30 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%ghost %{_localstatedir}/log/pagure/access_*.log
|
%ghost %{_localstatedir}/log/pagure/access_*.log
|
||||||
%ghost %{_localstatedir}/log/pagure/error_*.log
|
%ghost %{_localstatedir}/log/pagure/error_*.log
|
||||||
|
|
||||||
|
|
||||||
%files theme-upstream
|
%files theme-upstream
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/pagure/themes/upstream/
|
%{python3_sitelib}/pagure/themes/upstream/
|
||||||
|
|
||||||
|
|
||||||
%files theme-pagureio
|
%files theme-pagureio
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/pagure/themes/pagureio/
|
%{python3_sitelib}/pagure/themes/pagureio/
|
||||||
|
|
||||||
|
|
||||||
%files theme-srcfpo
|
%files theme-srcfpo
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/pagure/themes/srcfpo/
|
%{python3_sitelib}/pagure/themes/srcfpo/
|
||||||
|
|
||||||
|
|
||||||
%files theme-chameleon
|
%files theme-chameleon
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/pagure/themes/chameleon/
|
%{python3_sitelib}/pagure/themes/chameleon/
|
||||||
|
|
||||||
|
|
||||||
%files theme-default-upstream
|
%files theme-default-upstream
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/pagure/themes/default
|
%{python3_sitelib}/pagure/themes/default
|
||||||
|
|
||||||
|
|
||||||
%files theme-default-openSUSE
|
%files theme-default-openSUSE
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/pagure/themes/default.openSUSE
|
%{python3_sitelib}/pagure/themes/default.openSUSE
|
||||||
|
|
||||||
|
|
||||||
%files milters
|
%files milters
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%dir %{_datadir}/pagure/
|
%dir %{_datadir}/pagure/
|
||||||
@ -693,43 +702,35 @@ echo "See %{_docdir}/%{name}/README.SUSE to continue"
|
|||||||
%{_datadir}/pagure/comment_email_milter.py*
|
%{_datadir}/pagure/comment_email_milter.py*
|
||||||
%{_sbindir}/rcpagure_milter
|
%{_sbindir}/rcpagure_milter
|
||||||
|
|
||||||
|
|
||||||
%files ev
|
%files ev
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libexecdir}/pagure-ev/
|
%{_libexecdir}/pagure-ev/
|
||||||
%{_unitdir}/pagure_ev.service
|
%{_unitdir}/pagure_ev.service
|
||||||
%{_sbindir}/rcpagure_ev
|
%{_sbindir}/rcpagure_ev
|
||||||
|
|
||||||
|
|
||||||
%files webhook
|
%files webhook
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_unitdir}/pagure_webhook.service
|
%{_unitdir}/pagure_webhook.service
|
||||||
%{_sbindir}/rcpagure_webhook
|
%{_sbindir}/rcpagure_webhook
|
||||||
|
|
||||||
|
|
||||||
%files ci
|
%files ci
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_unitdir}/pagure_ci.service
|
%{_unitdir}/pagure_ci.service
|
||||||
%{_sbindir}/rcpagure_ci
|
%{_sbindir}/rcpagure_ci
|
||||||
|
|
||||||
|
|
||||||
%files logcom
|
%files logcom
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_unitdir}/pagure_logcom.service
|
%{_unitdir}/pagure_logcom.service
|
||||||
%{_sbindir}/rcpagure_logcom
|
%{_sbindir}/rcpagure_logcom
|
||||||
|
|
||||||
|
|
||||||
%files loadjson
|
%files loadjson
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_unitdir}/pagure_loadjson.service
|
%{_unitdir}/pagure_loadjson.service
|
||||||
%{_sbindir}/rcpagure_loadjson
|
%{_sbindir}/rcpagure_loadjson
|
||||||
|
|
||||||
|
|
||||||
%files mirror
|
%files mirror
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_unitdir}/pagure_mirror.service
|
%{_unitdir}/pagure_mirror.service
|
||||||
%{_sbindir}/rcpagure_mirror
|
%{_sbindir}/rcpagure_mirror
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user