209 lines
6.2 KiB
RPMSpec
209 lines
6.2 KiB
RPMSpec
# generated by cabal-rpm-2.0.5
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
%global pkg_name brainfuck
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
Name: %{pkg_name}
|
|
Version: 0.1.0.3
|
|
Release: 14%{?dist}
|
|
Summary: Brainfuck interpreter
|
|
|
|
# Language/Brainfuck.hs states version 2 or later
|
|
License: GPLv2+
|
|
Url: https://hackage.haskell.org/package/%{name}
|
|
# Begin cabal-rpm sources:
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
# End cabal-rpm sources
|
|
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
BuildRequires: ghc-array-prof
|
|
BuildRequires: ghc-base-prof
|
|
BuildRequires: ghc-mtl-prof
|
|
BuildRequires: ghc-unix-prof
|
|
# End cabal-rpm deps
|
|
|
|
%description
|
|
This is an interpreter of the brainf*ck language, written in the pure, lazy,
|
|
functional language Haskell.
|
|
|
|
|
|
%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
|
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
|
%if %{defined ghc_version}
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
%endif
|
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n ghc-%{name}-devel
|
|
This package provides the Haskell %{name} library development files.
|
|
|
|
|
|
%if %{with haddock}
|
|
%package -n ghc-%{name}-doc
|
|
Summary: Haskell %{name} library documentation
|
|
BuildArch: noarch
|
|
|
|
%description -n ghc-%{name}-doc
|
|
This package provides the Haskell %{name} library documentation.
|
|
%endif
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
%package -n ghc-%{name}-prof
|
|
Summary: Haskell %{name} profiling library
|
|
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
|
|
|
%description -n ghc-%{name}-prof
|
|
This package provides the Haskell %{name} profiling library.
|
|
%endif
|
|
|
|
|
|
%prep
|
|
# Begin cabal-rpm setup:
|
|
%setup -q
|
|
# End cabal-rpm setup
|
|
|
|
|
|
%build
|
|
# Begin cabal-rpm build:
|
|
%ghc_lib_build
|
|
# End cabal-rpm build
|
|
|
|
|
|
%install
|
|
# Begin cabal-rpm install
|
|
%ghc_lib_install
|
|
# End cabal-rpm install
|
|
|
|
|
|
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
|
|
%post -n ghc-%{name}-devel
|
|
%ghc_pkg_recache
|
|
|
|
|
|
%postun -n ghc-%{name}-devel
|
|
%ghc_pkg_recache
|
|
%endif
|
|
|
|
|
|
%files
|
|
# Begin cabal-rpm files:
|
|
%license LICENSE
|
|
%{_bindir}/bf
|
|
# End cabal-rpm files
|
|
|
|
|
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
|
# Begin cabal-rpm files:
|
|
%license LICENSE
|
|
# End cabal-rpm files
|
|
|
|
|
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
|
|
|
|
|
%if %{with haddock}
|
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
|
%license LICENSE
|
|
%endif
|
|
|
|
|
|
%if %{with ghc_prof}
|
|
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.1.0.3-13
|
|
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.1.0.3-11
|
|
- refresh to cabal-rpm-0.13
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.1.0.3-9
|
|
- rebuild
|
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0.3-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.1.0.3-6
|
|
- rebuild
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.1.0.3-3
|
|
- refresh to cabal-rpm-0.11.1
|
|
|
|
* 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
|
|
|
|
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.1.0.3-1
|
|
- update to 0.1.0.3
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* 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
|
|
|
|
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 0.1-10
|
|
- cblrpm refresh
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 0.1-6
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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.
|