edf4dd
# asio only ships headers, so no debuginfo package is needed
edf4dd
%global debug_package %{nil}
edf4dd
edf4dd
%global commit 28d9b8d6df708024af5227c551673fdb2519f5bf
edf4dd
%global shortcommit %(c=%{commit}; echo ${c:0:7})
edf4dd
edf4dd
Name:           asio
edf4dd
Version:        1.10.8
edf4dd
Release:        7%{?dist}
edf4dd
Summary:        A cross-platform C++ library for network programming
edf4dd
edf4dd
Group:          System Environment/Libraries
edf4dd
License:        Boost
edf4dd
URL:            https://think-async.com
edf4dd
Source0:        https://github.com/chriskohlhoff/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
edf4dd
edf4dd
%if 0%{?rhel} == 5
edf4dd
%endif
edf4dd
edf4dd
BuildRequires:  autoconf
edf4dd
BuildRequires:  automake
edf4dd
BuildRequires:  openssl-devel
edf4dd
BuildRequires:  boost-devel
edf4dd
BuildRequires:  perl-generators
edf4dd
edf4dd
%description
edf4dd
The asio package contains a cross-platform C++ library for network programming
edf4dd
that provides developers with a consistent asynchronous I/O model using a
edf4dd
modern C++ approach.
edf4dd
edf4dd
%package devel
edf4dd
Summary:        Header files for asio
edf4dd
Group:          Development/Libraries
edf4dd
Requires:       openssl-devel
edf4dd
Requires:       boost-devel
edf4dd
edf4dd
%description devel
edf4dd
Header files you can use to develop applications with asio.
edf4dd
edf4dd
The asio package contains a cross-platform C++ library for network programming
edf4dd
that provides developers with a consistent asynchronous I/O model using a
edf4dd
modern C++ approach.
edf4dd
edf4dd
%prep
edf4dd
%setup -qn %{name}-%{commit}/%{name}
edf4dd
edf4dd
%build
edf4dd
./autogen.sh
edf4dd
%configure
edf4dd
make %{?_smp_mflags}
edf4dd
edf4dd
%install
edf4dd
make install DESTDIR=%{buildroot}
edf4dd
edf4dd
%files devel
edf4dd
%{!?_licensedir:%global license %doc}
edf4dd
%doc src/doc/*
edf4dd
%license LICENSE_1_0.txt
edf4dd
%dir %{_includedir}/asio
edf4dd
%{_includedir}/asio/*
edf4dd
%{_includedir}/asio.hpp
edf4dd
edf4dd
%changelog
edf4dd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-7
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
edf4dd
edf4dd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-6
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
edf4dd
edf4dd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-5
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
edf4dd
edf4dd
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 1.10.8-4
edf4dd
- Rebuilt for Boost 1.64
edf4dd
edf4dd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.8-3
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
edf4dd
edf4dd
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 1.10.8-2
edf4dd
- Rebuilt for Boost 1.63
edf4dd
edf4dd
* Sun Dec 11 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.8-1
edf4dd
- Update to 1.10.8
edf4dd
edf4dd
* Tue Sep 13 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.7-1
edf4dd
- Update to 1.10.7
edf4dd
edf4dd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.6-7
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
edf4dd
edf4dd
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1.10.6-6
edf4dd
- Rebuilt for Boost 1.60
edf4dd
edf4dd
* Sat Jan 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.6-5
edf4dd
- Remove useless pieces of the spec
edf4dd
- Conform to more recent SPEC style
edf4dd
- Fix date in changelog that was giving warnings
edf4dd
edf4dd
* Sat Jan 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.6-4
edf4dd
- Move from define to global
edf4dd
edf4dd
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1.10.6-3
edf4dd
- Rebuilt for Boost 1.59
edf4dd
edf4dd
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.6-2
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
edf4dd
edf4dd
* Sun Jul 26 2015 Fabio Alessandro Locati <fale@fedoraproject.org> -1.10.6-1
edf4dd
- Update to 1.10.6 version
edf4dd
edf4dd
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.10.4-5
edf4dd
- rebuild for Boost 1.58
edf4dd
edf4dd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.4-4
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
edf4dd
edf4dd
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 1.10.4-3
edf4dd
- Rebuild for boost 1.57.0
edf4dd
edf4dd
* Sat Oct 11 2014 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.4-2
edf4dd
- Forgot to update the commit id
edf4dd
edf4dd
* Sat Oct 11 2014 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.4-1
edf4dd
- Update to 1.10.4 version
edf4dd
edf4dd
* Sun Aug 10 2014 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.10.3-1
edf4dd
- Update to 1.10.3 version
edf4dd
edf4dd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-9
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
edf4dd
edf4dd
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 1.4.8-8
edf4dd
- Rebuild for boost 1.55.0
edf4dd
edf4dd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-7
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
edf4dd
edf4dd
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 1.4.8-6
edf4dd
- Rebuild for boost 1.54.0
edf4dd
edf4dd
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.4.8-5
edf4dd
- Rebuild for Boost-1.53.0
edf4dd
edf4dd
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.4.8-4
edf4dd
- Rebuild for Boost-1.53.0
edf4dd
edf4dd
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-3
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
edf4dd
edf4dd
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
edf4dd
edf4dd
* Wed Aug  3 2011 Peter Robinson <pbrobinson@gmail.com> - 1.4.8-1
edf4dd
- Update to 1.4.8 bugfix release
edf4dd
edf4dd
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-4
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
edf4dd
edf4dd
* Fri Jun 18 2010 Dan HorĂ¡k <dan[at]danny.cz> 1.4.1-3
edf4dd
- fix FTBFS #538893 and #599857 (patch by Petr Machata)
edf4dd
edf4dd
* Mon Jul 27 2009 Marc Maurer <uwog@uwog.net> 1.4.1-2
edf4dd
- The tarball is now a gzip archive
edf4dd
edf4dd
* Mon Jul 27 2009 Marc Maurer <uwog@uwog.net> 1.4.1-1
edf4dd
- New upstream release
edf4dd
edf4dd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
edf4dd
edf4dd
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
edf4dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
edf4dd
edf4dd
* Thu Dec 25 2008 Marc Maurer <uwog@uwog.net> 1.2.0-1
edf4dd
- New upstream release
edf4dd
edf4dd
* Sun Apr 06 2008 Marc Maurer <uwog@uwog.net> 1.0.0-2
edf4dd
- Upstream removed the executable permissions on the docs
edf4dd
edf4dd
* Sun Apr 06 2008 Marc Maurer <uwog@uwog.net> 1.0.0-1
edf4dd
- New upstream release
edf4dd
edf4dd
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.8-8
edf4dd
- Autorebuild for GCC 4.3
edf4dd
edf4dd
* Sun Dec 02 2007 Marc Maurer <uwog@uwog.net> 0.3.8-7
edf4dd
- Rebuild to include a tarball with original timestamps
edf4dd
edf4dd
* Thu Nov 29 2007 Marc Maurer <uwog@uwog.net> 0.3.8-6
edf4dd
- Use release %%{?dist} tag
edf4dd
- Move BuildRequires to the main package
edf4dd
- Preserve timestamps
edf4dd
- Remove spurious executable permissions from documentation
edf4dd
edf4dd
* Wed Nov 28 2007 Marc Maurer <uwog@uwog.net> 0.3.8-5
edf4dd
- Don't require a nonexisting %%{name} package for -devel
edf4dd
- Add openssl-devel and boost-devel to the buildRequires list
edf4dd
- Remove unused post/postun sections for now
edf4dd
- Fix -devel description
edf4dd
- Use %%{version} in source URL
edf4dd
- Add COPYING to the doc section
edf4dd
- Preserve timestamps of installed files
edf4dd
- Use %%defattr(-,root,root,-)
edf4dd
- Include developer documentation
edf4dd
- Move the make call to the %%check section
edf4dd
edf4dd
* Sun Nov 25 2007 Marc Maurer <uwog@uwog.net> 0.3.8-4
edf4dd
- Don't use BA noarch
edf4dd
edf4dd
* Fri Nov 23 2007 Marc Maurer <uwog@uwog.net> 0.3.8-3
edf4dd
- Move the license file to the -devel package, so no
edf4dd
  main package will be created for now
edf4dd
- Added BuildArch: noarch
edf4dd
edf4dd
* Fri Nov 23 2007 Marc Maurer <uwog@uwog.net> 0.3.8-2
edf4dd
- Make BuildRoot fedora packaging standard compliant
edf4dd
- Disable building of debuginfo packages
edf4dd
- Include full source URL
edf4dd
edf4dd
* Wed Nov 21 2007 Marc Maurer <uwog@uwog.net> 0.3.8-1
edf4dd
- Initial spec file