Blame SPECS/ghc-connection.spec

45f34a
# generated by cabal-rpm-0.12.1
45f34a
# https://fedoraproject.org/wiki/Packaging:Haskell
45f34a
45f34a
%global pkg_name connection
45f34a
%global pkgver %{pkg_name}-%{version}
45f34a
45f34a
Name:           ghc-%{pkg_name}
45f34a
Version:        0.2.8
45f34a
Release:        3%{?dist}
45f34a
Summary:        Simple and easy network connections API
45f34a
45f34a
License:        BSD
45f34a
Url:            https://hackage.haskell.org/package/%{pkg_name}
45f34a
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
45f34a
45f34a
BuildRequires:  ghc-Cabal-devel
45f34a
BuildRequires:  ghc-rpm-macros
45f34a
# Begin cabal-rpm deps:
45f34a
BuildRequires:  ghc-byteable-devel
45f34a
BuildRequires:  ghc-bytestring-devel
45f34a
BuildRequires:  ghc-containers-devel
45f34a
BuildRequires:  ghc-data-default-class-devel
45f34a
BuildRequires:  ghc-network-devel
45f34a
BuildRequires:  ghc-socks-devel
45f34a
BuildRequires:  ghc-tls-devel
45f34a
BuildRequires:  ghc-x509-devel
45f34a
BuildRequires:  ghc-x509-store-devel
45f34a
BuildRequires:  ghc-x509-system-devel
45f34a
BuildRequires:  ghc-x509-validation-devel
45f34a
# End cabal-rpm deps
45f34a
45f34a
%description
45f34a
Simple network library for all your connection need.
45f34a
45f34a
Features: Really simple to use, SSL/TLS, SOCKS.
45f34a
45f34a
This library provides a very simple api to create sockets to a destination with
45f34a
the choice of SSL/TLS, and SOCKS.
45f34a
45f34a
45f34a
%package devel
45f34a
Summary:        Haskell %{pkg_name} library development files
45f34a
Provides:       %{name}-static = %{version}-%{release}
45f34a
Provides:       %{name}-doc = %{version}-%{release}
45f34a
%if %{defined ghc_version}
45f34a
Requires:       ghc-compiler = %{ghc_version}
45f34a
Requires(post): ghc-compiler = %{ghc_version}
45f34a
Requires(postun): ghc-compiler = %{ghc_version}
45f34a
%endif
45f34a
Requires:       %{name}%{?_isa} = %{version}-%{release}
45f34a
45f34a
%description devel
45f34a
This package provides the Haskell %{pkg_name} library development files.
45f34a
45f34a
45f34a
%prep
45f34a
%setup -q -n %{pkgver}
45f34a
45f34a
45f34a
%build
45f34a
%ghc_lib_build
45f34a
45f34a
45f34a
%install
45f34a
%ghc_lib_install
45f34a
45f34a
45f34a
%post devel
45f34a
%ghc_pkg_recache
45f34a
45f34a
45f34a
%postun devel
45f34a
%ghc_pkg_recache
45f34a
45f34a
45f34a
%files -f %{name}.files
45f34a
%license LICENSE
45f34a
45f34a
45f34a
%files devel -f %{name}-devel.files
45f34a
%doc CHANGELOG.md README.md
45f34a
45f34a
45f34a
%changelog
45f34a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-3
45f34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
45f34a
45f34a
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.2.8-2
45f34a
- rebuild
45f34a
45f34a
* Tue Sep 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.8-1
45f34a
- Update to latest spec template.
45f34a
- Update to latest version.
45f34a
45f34a
* Fri Jul 21 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.5-5
45f34a
- Bump for Fedora 26.
45f34a
45f34a
* Sat Dec 17 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.5-4
45f34a
- spec file generated by cabal-rpm-0.10.0
45f34a
- Update release to be newer than previous builds
45f34a
45f34a
* Sun May 01 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.5-3
45f34a
- Bump to rebuild against new dependencies
45f34a
45f34a
* Mon Apr 25 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.5-2
45f34a
- Bump to rebuild with new dependencies
45f34a
45f34a
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 0.2.5-1
45f34a
- initial package