varnish-modules/varnish-modules.spec

115 lines
3.6 KiB
RPMSpec
Raw Normal View History

2017-05-31 10:57:07 +00:00
Name: varnish-modules
2018-07-17 19:00:46 +00:00
Version: 0.15.0
Release: 1%{?dist}
2017-05-31 10:57:07 +00:00
Summary: A collection of modules ("vmods") extending Varnish VCL
Group: System Environment/Daemons
License: BSD
URL: https://github.com/varnish/%{name}
2018-07-17 19:00:46 +00:00
Source: https://download.varnish-software.com/varnish-modules/%{name}-%{version}.tar.gz
2017-05-31 10:57:07 +00:00
BuildRequires: gcc
2018-07-17 19:00:46 +00:00
BuildRequires: make
BuildRequires: pkgconfig(varnishapi)
BuildRequires: python-docutils
BuildRequires: varnish
2017-05-31 10:57:07 +00:00
2018-07-17 19:00:46 +00:00
Requires: varnish
2017-05-31 10:57:07 +00:00
2018-07-17 19:00:46 +00:00
Provides: vmod-bodyaccess = %{version}-%{release}
2017-05-31 10:57:07 +00:00
Provides: vmod-cookie = %{version}-%{release}
Provides: vmod-header = %{version}-%{release}
Provides: vmod-saintmode = %{version}-%{release}
Provides: vmod-tcp = %{version}-%{release}
Provides: vmod-var = %{version}-%{release}
2018-07-17 19:00:46 +00:00
Provides: vmod-vsthrottle = %{version}-%{release}
2017-05-31 10:57:07 +00:00
Provides: vmod-xkey = %{version}-%{release}
%description
This is a collection of modules ("vmods") extending Varnish VCL used
for describing HTTP request/response policies with additional
capabilities. This collection contains the following vmods (previously
kept individually): cookie, vsthrottle, header, saintmode, softpurge,
tcp, var, xkey
2018-07-17 19:00:46 +00:00
2017-05-31 10:57:07 +00:00
%prep
%setup -q
2018-07-17 19:00:46 +00:00
2017-05-31 10:57:07 +00:00
%build
2018-07-17 19:00:46 +00:00
%configure
%make_build
2017-05-31 10:57:07 +00:00
%install
2018-07-17 19:00:46 +00:00
%make_install
2017-05-31 10:57:07 +00:00
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
2018-07-17 19:00:46 +00:00
2017-05-31 10:57:07 +00:00
%check
2018-07-17 19:00:46 +00:00
%make_build check VERBOSE=1
2017-05-31 10:57:07 +00:00
%files
%doc docs AUTHORS CHANGES.rst COPYING README.rst
%license LICENSE
%{_libdir}/varnish/vmods/*
%{_mandir}/man3/*.3*
2018-07-17 19:00:46 +00:00
%{_pkgdocdir}
2017-05-31 10:57:07 +00:00
%changelog
2018-07-17 19:00:46 +00:00
* Tue Jul 17 2018 Dridi Boukelmoune <dridi@fedoraproject.org> 0.15.0-1
- Update to 0.15.0
- Drop EPEL and older Fedora releases support
- Drop broken manual ABI dependency to Varnish
- Drop commented out references to past patches
- Verbose test suite
- Simplified configure step
- Dependencies cleanup
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-10-21 08:18:48 +00:00
* Sat Oct 21 2017 Dridi Boukelmoune <dridi@fedoraproject.org> 0.12.1-5
- Update varnishabi requirement for f28
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Jun 01 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-2
- Set correct varnishabi requirement for the different fedoras
2017-05-31 10:57:07 +00:00
* Wed May 31 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-1
- New uptream release
- Pull el5 support
* Mon Mar 20 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.11.0-1
- New upstream release
* Sat Sep 24 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.2-0.1.20160924gitdaa4f1d
- Upstream git checkout with support for varnish-5.0
- Removed patches that are included upstream
- el5 build fix
* Fri Aug 05 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.1-1
- New upstream release
- Build man pages, buildrequires python-docutils
- Added a patch for tests/cookie/08-overflow.vtc, upping workspace_client,
the default is too small on 32bit
- Removed extra cflags for el5, fixed with patch from upstream
- Force readable docs and debug files, they tend to end up with mode 600
* Tue Apr 05 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.0-1
- First wrap for fedora
- Uses some old-style specfile components for el5 compatibility, including
the usage of the BuildRoot header and cleaning the buildroot before install