Blame SPECS/varnish-modules.spec

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