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