Blame SPECS/varnish-modules.spec

b49a51
%define abi 6.1
b49a51
b49a51
%bcond_without python2
b49a51
%bcond_with python3
b49a51
b49a51
%if %{with python2} == %{with python3}
b49a51
%error Pick exactly one Python version
b49a51
%endif
b49a51
b49a51
Name:    varnish-modules
b49a51
Version: 0.15.0
997b39
Release: 5%{?dist}
b49a51
Summary: A collection of modules ("vmods") extending Varnish VCL
b49a51
b49a51
Group:   System Environment/Daemons
b49a51
License: BSD
b49a51
URL:     https://github.com/varnish/%{name}
b49a51
b49a51
Source: https://download.varnish-software.com/varnish-modules/%{name}-%{version}.tar.gz
b49a51
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b49a51
Patch1: varnish-modules-0.15.0-vmod-tcp-int.patch
b49a51
b49a51
BuildRequires: gcc
b49a51
BuildRequires: make
b49a51
BuildRequires: pkgconfig(varnishapi)
b49a51
BuildRequires: varnish
b49a51
b49a51
%if %{with python3}
b49a51
BuildRequires: python3-docutils
b49a51
BuildRequires: python3-devel
b49a51
%define rst2man %{_bindir}/rst2man
b49a51
%define vpython %{_bindir}/python3
b49a51
%else
b49a51
BuildRequires: python-docutils
b49a51
BuildRequires: python2-devel
b49a51
%define rst2man %{_bindir}/rst2man
b49a51
%define vpython %{_bindir}/python2
b49a51
%endif
b49a51
b49a51
Requires: varnish
b49a51
b49a51
Provides: vmod-bodyaccess = %{version}-%{release}
b49a51
Provides: vmod-cookie = %{version}-%{release}
b49a51
Provides: vmod-header = %{version}-%{release}
b49a51
Provides: vmod-saintmode = %{version}-%{release}
b49a51
Provides: vmod-tcp = %{version}-%{release}
b49a51
Provides: vmod-var = %{version}-%{release}
b49a51
Provides: vmod-vsthrottle = %{version}-%{release}
b49a51
Provides: vmod-xkey = %{version}-%{release}
b49a51
b49a51
b49a51
%description
b49a51
This is a collection of modules ("vmods") extending Varnish VCL used
b49a51
for describing HTTP request/response policies with additional
b49a51
capabilities. This collection contains the following vmods (previously
b49a51
kept individually): cookie, vsthrottle, header, saintmode, softpurge,
b49a51
tcp, var, xkey
b49a51
b49a51
b49a51
%prep
b49a51
%setup -q
b49a51
b49a51
%patch1 -p1 -b .vmod-tcp-int
b49a51
b49a51
%build
b49a51
%configure
b49a51
%make_build
b49a51
b49a51
b49a51
%install
b49a51
%make_install
b49a51
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
b49a51
b49a51
b49a51
%check
b49a51
make check VERBOSE=1
b49a51
b49a51
b49a51
%files
b49a51
%doc docs AUTHORS CHANGES.rst COPYING README.rst LICENSE
b49a51
%license LICENSE
b49a51
%{_libdir}/varnish/vmods/*
b49a51
%{_mandir}/man3/*.3*
b49a51
%{_pkgdocdir}
b49a51
b49a51
b49a51
%changelog
997b39
* Thu Apr 16 2020 Lubos Uhliarik <luhliari@redhat.com> - 0.15.0-5
997b39
- Related: #1795673 - RFE: rebase varnish:6 to latest 6.0.x LTS
997b39
b49a51
* Mon Dec 03 2018 Lubos Uhliarik <luhliari@redhat.com> - 0.15.0-4
b49a51
- Resolves: #1649358 - Unable to install varnish module
b49a51
b49a51
* Sun Aug 05 2018 Lubos Uhliarik <luhliari@redhat.com> - 0.15.0-2
b49a51
- Fixed i686 build failure
b49a51
b49a51
* Sun Aug 05 2018 Lubos Uhliarik <luhliari@redhat.com> - 0.15.0-1
b49a51
- updated to newer version (0.15.0)
b49a51
- Drop EPEL and older Fedora releases support
b49a51
- Drop broken manual ABI dependency to Varnish
b49a51
- Drop commented out references to past patches
b49a51
- Verbose test suite
b49a51
- Simplified configure step
b49a51
- Dependencies cleanup
b49a51
b49a51
* Tue Apr 24 2018 Luboš Uhliarik <luhliari@redhat.com> - 0.12.16
b49a51
- use rst2man binary for both python2 and python3
b49a51
b49a51
* Mon Apr 16 2018 Joe Orton <jorton@redhat.com> - 0.12.1-4.4
b49a51
- fix abi requires (#1566046)
b49a51
b49a51
* Thu Mar 29 2018 Joe Orton <jorton@redhat.com> - 0.12.1-4.2
b49a51
- fix use of rst2man with python3-docutils
b49a51
b49a51
* Wed Mar 28 2018 Joe Orton <jorton@redhat.com> - 0.12.1-4.1
b49a51
- add Python build conditionals
b49a51
b49a51
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-4
b49a51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b49a51
b49a51
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
b49a51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b49a51
b49a51
* Thu Jun 01 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-2
b49a51
- Set correct varnishabi requirement for the different fedoras
b49a51
b49a51
* Wed May 31 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-1
b49a51
- New uptream release
b49a51
- Pull el5 support
b49a51
b49a51
* Mon Mar 20 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.11.0-1
b49a51
- New upstream release
b49a51
b49a51
* Sat Sep 24 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.2-0.1.20160924gitdaa4f1d
b49a51
- Upstream git checkout with support for varnish-5.0
b49a51
- Removed patches that are included upstream
b49a51
- el5 build fix
b49a51
b49a51
* Fri Aug 05 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.1-1
b49a51
- New upstream release
b49a51
- Build man pages, buildrequires python-docutils
b49a51
- Added a patch for tests/cookie/08-overflow.vtc, upping workspace_client,
b49a51
  the default is too small on 32bit
b49a51
- Removed extra cflags for el5, fixed with patch from upstream
b49a51
- Force readable docs and debug files, they tend to end up with mode 600
b49a51
b49a51
* Tue Apr 05 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.0-1
b49a51
- First wrap for fedora
b49a51
- Uses some old-style specfile components for el5 compatibility, including
b49a51
  the usage of the BuildRoot header and cleaning the buildroot before install
b49a51
b49a51