- New upstream release

- Some specfile changes, see %changelog
- git cleanup merges, 2.1.x in el6, f13, f14 now tracks git master/rawhide
This commit is contained in:
Ingvar Hagelund 2010-10-25 20:26:02 +02:00
parent 676eccca8b
commit 91443a517a
3 changed files with 33 additions and 17 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
varnish-2.0.6.tar.gz varnish-2.0.6.tar.gz
varnish-2.1.2.tar.gz varnish-2.1.2.tar.gz
varnish-2.1.3.tar.gz varnish-2.1.3.tar.gz
/varnish-2.1.4.tar.gz

View File

@ -1 +1 @@
357d99a760de173d841ac37bf2052be8 varnish-2.1.3.tar.gz e794a37b6fbb786a083c0946103ae103 varnish-2.1.4.tar.gz

View File

@ -1,11 +1,11 @@
Summary: High-performance HTTP accelerator Summary: High-performance HTTP accelerator
Name: varnish Name: varnish
Version: 2.1.3 Version: 2.1.4
Release: 2%{?dist} Release: 1%{?dist}
License: BSD License: BSD
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.varnish-cache.org/ URL: http://www.varnish-cache.org/
Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz Source0: http://www.varnish-software.com/sites/default/files/%{name}-%{version}.tar.gz
Patch1: varnish.s390_pagesize.patch Patch1: varnish.s390_pagesize.patch
Patch2: varnish.ppc64_stacksize_test.patch Patch2: varnish.ppc64_stacksize_test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -52,6 +52,13 @@ Requires: varnish-libs = %{version}-%{release}
Development files for %{name}-libs Development files for %{name}-libs
Varnish is a high-performance HTTP accelerator Varnish is a high-performance HTTP accelerator
%package docs
Summary: Documentation files for %name
Group: System Environment/Libraries
%description docs
Documentation files for %name
#%package libs-static #%package libs-static
#Summary: Files for static linking of %{name} library functions #Summary: Files for static linking of %{name} library functions
#Group: System Environment/Libraries #Group: System Environment/Libraries
@ -139,6 +146,9 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc
%endif %endif
mv doc/sphinx/\=build/html doc
rm -rf doc/sphinx/\=build
%check %check
# rhel5 on ppc64 is just too strange # rhel5 on ppc64 is just too strange
%ifarch ppc64 %ifarch ppc64
@ -157,11 +167,7 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
%endif %endif
LD_LIBRARY_PATH="lib/libvarnish/.libs:lib/libvarnishcompat/.libs:lib/libvarnishapi/.libs:lib/libvcl/.libs" bin/varnishd/varnishd -b 127.0.0.1:80 -C -n /tmp/foo LD_LIBRARY_PATH="lib/libvarnish/.libs:lib/libvarnishcompat/.libs:lib/libvarnishapi/.libs:lib/libvcl/.libs" bin/varnishd/varnishd -b 127.0.0.1:80 -C -n /tmp/foo
%{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs" #%{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs"
# Remove uneccessary doc src files
mkdir doc.src
mv doc/*.xml doc/*.xsl doc/Makefile* doc.src
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
@ -194,9 +200,8 @@ rm -rf %{buildroot}
%{_var}/log/varnish %{_var}/log/varnish
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%{_mandir}/man7/*.7* %{_mandir}/man7/*.7*
%doc INSTALL LICENSE README redhat/README.redhat ChangeLog %doc INSTALL LICENSE README redhat/README.redhat ChangeLog
%doc examples %doc examples
%doc doc
%dir %{_sysconfdir}/varnish/ %dir %{_sysconfdir}/varnish/
%config(noreplace) %{_sysconfdir}/varnish/default.vcl %config(noreplace) %{_sysconfdir}/varnish/default.vcl
%config(noreplace) %{_sysconfdir}/sysconfig/varnish %config(noreplace) %{_sysconfdir}/sysconfig/varnish
@ -217,14 +222,17 @@ rm -rf %{buildroot}
%{_libdir}/libvarnishcompat.so %{_libdir}/libvarnishcompat.so
%{_libdir}/libvcl.so %{_libdir}/libvcl.so
%dir %{_includedir}/varnish %dir %{_includedir}/varnish
%{_includedir}/varnish/shmlog.h %{_includedir}/varnish/*
%{_includedir}/varnish/shmlog_tags.h
%{_includedir}/varnish/stat_field.h
%{_includedir}/varnish/stats.h
%{_includedir}/varnish/varnishapi.h
%{_libdir}/pkgconfig/varnishapi.pc %{_libdir}/pkgconfig/varnishapi.pc
%doc LICENSE %doc LICENSE
%files docs
%defattr(-,root,root,-)
%doc LICENSE
%doc doc/sphinx
%doc doc/html
%doc doc/changes*.html
#%files libs-static #%files libs-static
#%{_libdir}/libvarnish.a #%{_libdir}/libvarnish.a
#%{_libdir}/libvarnishapi.a #%{_libdir}/libvarnishapi.a
@ -260,11 +268,18 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%changelog %changelog
* Mon Oct 25 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-1
- New upstream release
- New URL for source tarball and main website
- Removed patches included upstream
- Prebuilt html docs now included, use that instead of running sphinx
- Putting sphinx generated doc in a separate subpackage
- Replaced specific include files with a wildcard glob
* Tue Aug 24 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2 * Tue Aug 24 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
- Added a RHEL6/ppc64 specific patch for that changes the hard coded - Added a RHEL6/ppc64 specific patch for that changes the hard coded
stack size in tests/c00031.vtc stack size in tests/c00031.vtc
>>>>>>> el6
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-1 * Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-1
- New upstream release - New upstream release
- Add a patch for jemalloc on s390 that lacks upstream - Add a patch for jemalloc on s390 that lacks upstream