ca1eedb
# generated by cabal-rpm-2.0.6
27b1372
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
Shakthi Kannan 9820423
Shakthi Kannan ec5e0ce
%global pkg_name chalmers-lava2000
e2de628
%global pkgver %{pkg_name}-%{version}
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
Name:           ghc-%{pkg_name}
6ada209
Version:        1.6.1
5119494
Release:        16%{?dist}
95e74e6
Summary:        Hardware description EDSL
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
License:        BSD
d778bb1
Url:            https://hackage.haskell.org/package/%{pkg_name}
8abda69
# Begin cabal-rpm sources:
e2de628
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
8abda69
# End cabal-rpm sources
Shakthi Kannan 2f87475
Source1:        README.fedora
Shakthi Kannan 2f87475
8abda69
# Begin cabal-rpm deps:
0241288
BuildRequires:  ghc-Cabal-devel
4741686
BuildRequires:  ghc-rpm-macros
9f3d390
BuildRequires:  ghc-array-prof
9f3d390
BuildRequires:  ghc-base-prof
9f3d390
BuildRequires:  ghc-process-prof
9f3d390
BuildRequires:  ghc-random-prof
4741686
# End cabal-rpm deps
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
%description
21f9083
A hardware description library in Haskell.
21f9083
21f9083
21f9083
%package devel
21f9083
Summary:        Haskell %{pkg_name} library development files
95e74e6
Provides:       %{name}-static = %{version}-%{release}
9f3d390
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
25e3187
%if %{defined ghc_version}
21f9083
Requires:       ghc-compiler = %{ghc_version}
25e3187
%endif
95e74e6
Requires:       %{name}%{?_isa} = %{version}-%{release}
21f9083
21f9083
%description devel
95e74e6
This package provides the Haskell %{pkg_name} library development
95e74e6
files.
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
530af6f
%if %{with haddock}
530af6f
%package doc
530af6f
Summary:        Haskell %{pkg_name} library documentation
c7a8b74
BuildArch:      noarch
530af6f
530af6f
%description doc
530af6f
This package provides the Haskell %{pkg_name} library documentation.
530af6f
%endif
530af6f
530af6f
530af6f
%if %{with ghc_prof}
530af6f
%package prof
530af6f
Summary:        Haskell %{pkg_name} profiling library
530af6f
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
c7a8b74
Supplements:    (%{name}-devel and ghc-prof)
530af6f
530af6f
%description prof
530af6f
This package provides the Haskell %{pkg_name} profiling library.
530af6f
%endif
530af6f
530af6f
Shakthi Kannan ec5e0ce
%prep
8abda69
# Begin cabal-rpm setup:
e2de628
%setup -q -n %{pkgver}
8abda69
# End cabal-rpm setup
Shakthi Kannan ec5e0ce
%{__install} -pm 644 %{SOURCE1} .
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
%build
8abda69
# Begin cabal-rpm build:
Shakthi Kannan ec5e0ce
%ghc_lib_build
8abda69
# End cabal-rpm build
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
%install
8abda69
# Begin cabal-rpm install
Shakthi Kannan ec5e0ce
%ghc_lib_install
Shakthi Kannan ec5e0ce
8abda69
rm %{buildroot}%{_datadir}/%{pkgver}/README
8abda69
# End cabal-rpm install
8abda69
Shakthi Kannan ec5e0ce
# cleanup extra data files
e2de628
%{__mv} %{buildroot}%{_datadir}/%{pkgver}/Doc/tutorial.pdf .
e2de628
%{__rm} %{buildroot}%{_datadir}/%{pkgver}/INSTALL
Shakthi Kannan ec5e0ce
Shakthi Kannan 2f87475
21f9083
%files -f %{name}.files
8abda69
# Begin cabal-rpm files:
6ada209
%license LICENSE
8abda69
# End cabal-rpm files
Shakthi Kannan 9820423
Shakthi Kannan 9820423
21f9083
%files devel -f %{name}-devel.files
5ada637
%doc README README.fedora tutorial.pdf
e2de628
%{_datadir}/%{pkgver}
e36752d
e36752d
530af6f
%if %{with haddock}
530af6f
%files doc -f %{name}-doc.files
c7a8b74
%license LICENSE
530af6f
%endif
530af6f
530af6f
530af6f
%if %{with ghc_prof}
530af6f
%files prof -f %{name}-prof.files
530af6f
%endif
530af6f
530af6f
Shakthi Kannan ec5e0ce
%changelog
5119494
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-16
5119494
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5119494
0c39678
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-15
0c39678
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0c39678
470d982
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 1.6.1-14
470d982
- refresh to cabal-rpm-2.0.6
470d982
4c10e0f
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-13
4c10e0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4c10e0f
530af6f
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 1.6.1-12
530af6f
- add doc and prof subpackages (cabal-rpm-1.0.0)
530af6f
b8d175c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-11
b8d175c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b8d175c
8abda69
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.6.1-10
8abda69
- refresh to cabal-rpm-0.13
8abda69
9c24375
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-9
9c24375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9c24375
2e625cf
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-8
2e625cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2e625cf
baa0993
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-7
baa0993
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
baa0993
e43de42
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.6.1-6
e43de42
- rebuild
e43de42
2600000
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
2600000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2600000
90454c4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-4
90454c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
90454c4
e2de628
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 1.6.1-3
e2de628
- refresh to cabal-rpm-0.11.1
e2de628
dcb3668
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
dcb3668
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
dcb3668
6ada209
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 1.6.1-1
6ada209
- update to 1.6.1
6ada209
2ec7324
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
2ec7324
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2ec7324
0f29584
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
0f29584
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0f29584
95e74e6
* Wed Oct 29 2014 Jens Petersen <petersen@redhat.com> - 1.4.1-1
95e74e6
- update to 1.4.1
d778bb1
- cblrpm refresh
95e74e6
05977d7
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
05977d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
05977d7
74b64d8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-6
74b64d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
74b64d8
208cd29
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
208cd29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
208cd29
21f9083
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 1.3-4
21f9083
- update to new simplified Haskell Packaging Guidelines
21f9083
2b66c65
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3
2b66c65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2b66c65
4741686
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 1.3-2
4741686
- update with cabal-rpm
4741686
- include tutorial again and README files
4741686
Shakthi Kannan 5e03bd4
* Sat Sep 29 2012 Shakthi Kannan <shakthimaan at fedoraproject dot org> - 1.3-1
Shakthi Kannan 5e03bd4
- Updated to 1.3
Shakthi Kannan 5e03bd4
Shakthi Kannan 2f87475
* Mon Aug 13 2012 Shakthi Kannan <shakthimaan at fedoraproject dot org> - 1.2.0-1
Shakthi Kannan 2f87475
- spec file template generated by cabal2spec-0.25.5
Shakthi Kannan 2f87475
- Updated to 1.2.0
3465d64
Shakthi Kannan 9820423
* Thu Dec 29 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 1.1.2-1
Shakthi Kannan 9820423
- Updated to use cabal2spec-0.24.1.
Shakthi Kannan 9820423
- Updated to 1.1.2.
9d39196
51cc91a
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.1-12.2
51cc91a
- rebuild with new gmp without compat lib
51cc91a
4d7353f
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.1.1-12.1
4d7353f
- rebuild with new gmp
4d7353f
0241288
* Fri Jun 24 2011 Jens Petersen <petersen@redhat.com> - 1.1.1-12
0241288
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
0241288
ec90948
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.1-11
ec90948
- Enable build on sparcv9
ec90948
32ca261
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-10
32ca261
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
32ca261
a2070b9
* Mon Jan 17 2011 Jens Petersen <petersen@redhat.com> - 1.1.1-9
a2070b9
- update to cabal2spec-0.22.4
a2070b9
92ea8e1
* Mon Nov 29 2010 Jens Petersen <petersen@redhat.com> - 1.1.1-8
d8218b5
- bump base to 4 for ghc 7
381c54b
- update url and drop -o obsoletes
381c54b
e36752d
* Sat Sep  4 2010 Jens Petersen <petersen@redhat.com> - 1.1.1-7
e36752d
- add hscolour and doc obsolete (cabal2spec-0.22.2)
e36752d
Shakthi Kannan ec5e0ce
* Tue Jun 29 2010 Jens Petersen <petersen@redhat.com> - 1.1.1-6
Shakthi Kannan ec5e0ce
- update to cabal2spec-0.22.1
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Mon May 24 2010 Jens Petersen <petersen@redhat.com> - 1.1.1-5
Shakthi Kannan ec5e0ce
- Keep lava.vhd in datadir so users can find it easily (#546376)
Shakthi Kannan ec5e0ce
- Improve summary and description
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Fri May 21 2010 Jens Petersen <petersen@redhat.com> - 1.1.1-4
Shakthi Kannan ec5e0ce
- Include the extra data files as doc files instead in the base package
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Tue Apr 13 2010 Shakthi Kannan <shakthimaan [AT] gmail dot com> - 1.1.1-3
Shakthi Kannan ec5e0ce
- Removed INSTALL file.
Shakthi Kannan ec5e0ce
- Gzip tutorial.ps and move it to docdir.
Shakthi Kannan ec5e0ce
- Move Vhdl folder to docdir.
Shakthi Kannan ec5e0ce
- Removed chalmers folder.
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Thu Apr 08 2010 Shakthi Kannan <shakthimaan [AT] gmail dot com> - 1.1.1-2
Shakthi Kannan ec5e0ce
- Initial packaging for Fedora automatically generated by cabal2spec-0.21.3.
Shakthi Kannan ec5e0ce
- Added BSD license.
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Sun Dec 20 2009 Shakthi Kannan <shakthimaan [AT] gmail dot com> - 1.1.1-1
Shakthi Kannan ec5e0ce
- Added README.fedora, instead of using default README.
Shakthi Kannan ec5e0ce
- Remove Scripts folder.
Shakthi Kannan ec5e0ce
- Created patch to remove verification modules that use wrapper scripts.
Shakthi Kannan ec5e0ce
- Initial packaging for Fedora automatically generated by cabal2spec for 1.1.1
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Mon Dec 14 2009 Shakthi Kannan <shakthimaan [AT] gmail dot com> - 1.1.0-1
Shakthi Kannan ec5e0ce
- Upstream fixed LAVADIR path as per recommendation.
Shakthi Kannan ec5e0ce
- Upstream changed import Lava2000 to Lava.
Shakthi Kannan ec5e0ce
- Initial packaging for Fedora automatically generated by cabal2spec for 1.1.0
Shakthi Kannan ec5e0ce
Shakthi Kannan ec5e0ce
* Thu Dec 10 2009 Shakthi Kannan <shakthimaan [AT] gmail dot com> - 1.0.2-1
Shakthi Kannan ec5e0ce
- Set LAVADIR path with sed.
Shakthi Kannan ec5e0ce
- Initial packaging for Fedora automatically generated by cabal2spec for 1.0.2