2018-01-24 13:10:19 +00:00
|
|
|
# generated by cabal-rpm-0.12.1
|
2012-09-07 14:25:13 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
%global pkg_name brainfuck
|
2017-02-24 04:45:26 +00:00
|
|
|
%global pkgver %{pkg_name}-%{version}
|
2012-09-07 14:25:13 +00:00
|
|
|
|
|
|
|
Name: %{pkg_name}
|
2016-06-23 02:27:19 +00:00
|
|
|
Version: 0.1.0.3
|
2018-01-26 10:11:35 +00:00
|
|
|
Release: 6%{?dist}
|
2013-06-11 12:04:32 +00:00
|
|
|
Summary: Brainfuck interpreter
|
2012-09-07 14:25:13 +00:00
|
|
|
|
2012-11-18 09:11:04 +00:00
|
|
|
# Language/Brainfuck.hs states version 2 or later
|
|
|
|
License: GPLv2+
|
2015-01-28 15:03:08 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{name}
|
2017-02-24 04:45:26 +00:00
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
2012-09-07 14:25:13 +00:00
|
|
|
|
2012-11-18 09:11:04 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
2012-09-07 14:25:13 +00:00
|
|
|
BuildRequires: ghc-array-devel
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-unix-devel
|
2012-11-18 09:11:04 +00:00
|
|
|
# End cabal-rpm deps
|
2012-09-07 14:25:13 +00:00
|
|
|
|
|
|
|
%description
|
2015-01-28 15:03:08 +00:00
|
|
|
This is an interpreter of the brainf*ck language, written in the pure, lazy,
|
|
|
|
functional language Haskell.
|
2013-06-11 12:04:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}
|
|
|
|
Summary: Haskell %{name} library
|
|
|
|
|
|
|
|
%description -n ghc-%{name}
|
|
|
|
This package provides the Haskell %{name} shared library.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n ghc-%{name}-devel
|
|
|
|
Summary: Haskell %{name} library development files
|
2015-01-28 15:03:08 +00:00
|
|
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
2018-01-24 13:10:19 +00:00
|
|
|
Provides: ghc-%{name}-doc = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
2013-06-11 12:04:32 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2018-01-24 13:10:19 +00:00
|
|
|
%endif
|
2015-01-28 15:03:08 +00:00
|
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
2013-06-11 12:04:32 +00:00
|
|
|
|
|
|
|
%description -n ghc-%{name}-devel
|
|
|
|
This package provides the Haskell %{name} library development files.
|
|
|
|
|
2012-09-07 14:25:13 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2013-06-11 12:04:32 +00:00
|
|
|
|
2012-09-07 14:25:13 +00:00
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
2013-06-11 12:04:32 +00:00
|
|
|
|
2012-09-07 14:25:13 +00:00
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2018-01-24 13:10:19 +00:00
|
|
|
%post -n ghc-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -n ghc-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
2013-06-11 12:04:32 +00:00
|
|
|
%post -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
2012-09-07 14:25:13 +00:00
|
|
|
|
|
|
|
|
2013-06-11 12:04:32 +00:00
|
|
|
%postun -n ghc-%{name}-devel
|
|
|
|
%ghc_pkg_recache
|
2012-09-07 14:25:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2016-09-28 09:31:58 +00:00
|
|
|
%license LICENSE
|
2012-09-07 14:25:13 +00:00
|
|
|
%attr(755,root,root) %{_bindir}/bf
|
|
|
|
|
2013-06-11 12:04:32 +00:00
|
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
2016-09-28 09:31:58 +00:00
|
|
|
%license LICENSE
|
2013-06-11 12:04:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
|
|
2012-09-07 14:25:13 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-01-26 10:11:35 +00:00
|
|
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.1.0.3-6
|
|
|
|
- rebuild
|
|
|
|
|
2017-08-02 18:24:49 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 04:12:26 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-24 04:45:26 +00:00
|
|
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.1.0.3-3
|
|
|
|
- refresh to cabal-rpm-0.11.1
|
|
|
|
|
2017-02-10 07:03:00 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-23 02:27:19 +00:00
|
|
|
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.1.0.3-1
|
|
|
|
- update to 0.1.0.3
|
|
|
|
|
2016-02-03 17:12:51 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 02:04:06 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-01-28 15:03:08 +00:00
|
|
|
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.1-10
|
|
|
|
- cblrpm refresh
|
|
|
|
|
2014-08-15 23:06:20 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 03:32:04 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 03:55:09 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-11 12:04:32 +00:00
|
|
|
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 0.1-6
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-02-13 18:01:43 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-18 09:11:04 +00:00
|
|
|
* Sun Nov 18 2012 Jens Petersen <petersen@redhat.com> - 0.1-4
|
|
|
|
- update with cabal-rpm
|
|
|
|
- change license tag to GPLv2+ according to Brainfuck.hs
|
|
|
|
|
2012-09-07 14:25:13 +00:00
|
|
|
* Fri Sep 07 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1-3
|
|
|
|
- Added patch to fix FSF address
|
|
|
|
|
|
|
|
* Tue Jun 05 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1-2
|
|
|
|
- Updated license to GPLv2.
|
|
|
|
|
|
|
|
* Tue Jun 05 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1-1
|
|
|
|
- Added BuildRequires.
|
|
|
|
- Spec file template generated by cabal2spec-0.25.5.
|