From 1f1bfb761a5c99da4afac9fc9f96e8b7d8a92c5b Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 4 Sep 2017 18:59:45 -0400 Subject: [PATCH] Initial import (#1487898). --- .gitignore | 1 + README.md | 3 -- ghc-socks.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 94 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-socks.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1c33d48 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/socks-0.5.5.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0754578..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-socks - -The ghc-socks package \ No newline at end of file diff --git a/ghc-socks.spec b/ghc-socks.spec new file mode 100644 index 0000000..3cb7b1e --- /dev/null +++ b/ghc-socks.spec @@ -0,0 +1,92 @@ +# generated by cabal-rpm-0.10.0 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name socks + +Name: ghc-%{pkg_name} +Version: 0.5.5 +Release: 1.git.0.d4ff3d0%{?dist} +Summary: Socks proxy (version 5) implementation + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz + +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} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%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 +* Sat Jul 22 2017 Elliott Sales de Andrade 0.5.5-1 +- Update to latest version. +- Remove extra files from build. + +* Mon Jul 17 2017 Elliott Sales de Andrade 0.5.4-6 +- Re-add dist tag to release numbers. + +* Mon Jul 17 2017 Elliott Sales de Andrade 0.5.4-5 +- Bump for Fedora 26. + +* Thu Dec 15 2016 Elliott Sales de Andrade - 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 - 0.5.4-3 +- Bump to rebuild against new dependencies + +* Fri Apr 29 2016 Elliott Sales de Andrade - 0.5.4-2 +- Bump release to rebuild against dependencies + +* Sun Aug 23 2015 Ben Boeckel - 0.5.4-1 +- initial package + +* Sun Aug 23 2015 Fedora Haskell SIG - 0.5.4-1 +- spec file generated by cabal-rpm-0.9.6 diff --git a/sources b/sources new file mode 100644 index 0000000..9589440 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (socks-0.5.5.tar.gz) = cc811d0175d9a20c0aaec2eb593145908d25792f2ad5fb6b129564922bf8b64c3cda6b1424ac7e8ad2abfd1bcde7ece7ab717550266b75a5b360b4b729a768f5