ghc-socks/ghc-socks.spec

106 lines
2.8 KiB
RPMSpec
Raw Normal View History

2018-01-24 13:12:01 +00:00
# generated by cabal-rpm-0.12.1
2017-09-04 22:59:45 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name socks
2018-01-24 13:12:01 +00:00
%global pkgver %{pkg_name}-%{version}
2017-09-04 22:59:45 +00:00
Name: ghc-%{pkg_name}
2018-01-24 14:53:34 +00:00
Version: 0.5.6
Release: 3%{?dist}
2018-01-24 14:53:34 +00:00
Summary: Socks proxy (ver 5)
2017-09-04 22:59:45 +00:00
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
2018-01-24 13:12:01 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2017-09-04 22:59:45 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cereal-devel
BuildRequires: ghc-network-devel
# End cabal-rpm deps
%description
Socks proxy (version 5) implementation.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
2018-01-24 13:12:01 +00:00
Provides: %{name}-doc = %{version}-%{release}
%if %{defined ghc_version}
2017-09-04 22:59:45 +00:00
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
2018-01-24 13:12:01 +00:00
%endif
2017-09-04 22:59:45 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
2018-01-24 13:12:01 +00:00
%setup -q -n %{pkgver}
2017-09-04 22:59:45 +00:00
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc Example.hs README.md
%changelog
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-24 14:53:34 +00:00
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 0.5.6-1
- update to 0.5.6
2017-09-04 22:59:45 +00:00
* Sat Jul 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.5.5-1
- Update to latest version.
- Remove extra files from build.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.5.4-6
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.5.4-5
- Bump for Fedora 26.
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.4-4
- spec file generated by cabal-rpm-0.10.0
- Update release to be newer than previous builds
* Sun May 01 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.4-3
- Bump to rebuild against new dependencies
* Fri Apr 29 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.4-2
- Bump release to rebuild against dependencies
* Sun Aug 23 2015 Ben Boeckel <mathstuf@gmail.com> - 0.5.4-1
- initial package
* Sun Aug 23 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.5.4-1
- spec file generated by cabal-rpm-0.9.6