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