90787c0
# asio only ships headers, so no debuginfo package is needed
90787c0
%define debug_package %{nil}
90787c0
90787c0
Summary: A cross-platform C++ library for network programming
90787c0
Name: asio
51dc4f6
Version: 1.0.0
5a776ef
Release: 2%{?dist}
90787c0
URL: http://sourceforge.net/projects/asio/
90787c0
Source0: http://downloads.sourceforge.net/asio/asio-%{version}.tar.bz2
90787c0
License: Boost
90787c0
Group: System Environment/Libraries
90787c0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
90787c0
BuildRequires: openssl-devel
90787c0
BuildRequires: boost-devel
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
90787c0
Group: Development/Libraries
90787c0
Summary: Header files for asio
90787c0
Requires: openssl-devel
90787c0
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
90787c0
%setup -q
90787c0
90787c0
%build
90787c0
%configure
90787c0
90787c0
%install
90787c0
rm -rf $RPM_BUILD_ROOT
90787c0
make install DESTDIR=$RPM_BUILD_ROOT nobase_includeHEADERS_INSTALL='install -D -p -m644'
90787c0
90787c0
%check
90787c0
make %{?_smp_mflags}
90787c0
90787c0
%clean
90787c0
rm -rf $RPM_BUILD_ROOT
90787c0
90787c0
%files devel
90787c0
%defattr(-,root,root,-)
90787c0
%doc COPYING LICENSE_1_0.txt doc/*
90787c0
%dir %{_includedir}/asio
90787c0
%{_includedir}/asio/*
90787c0
%{_includedir}/asio.hpp
90787c0
90787c0
%changelog
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