hlint/hlint.spec

290 lines
8.6 KiB
RPMSpec
Raw Normal View History

# generated by cabal-rpm-0.12
2012-01-05 04:04:23 +00:00
# https://fedoraproject.org/wiki/Packaging:Haskell
2010-02-20 01:56:14 +00:00
%global pkg_name hlint
2017-02-23 04:30:33 +00:00
%global pkgver %{pkg_name}-%{version}
%global refact refact-0.3.0.2
%global subpkgs %{refact}
2010-02-20 01:56:14 +00:00
Name: %{pkg_name}
Version: 2.0.11
2017-02-23 04:30:33 +00:00
# can only be reset when all subpkgs bumped
Release: 6%{?dist}
Summary: Haskell source code suggestions
2010-02-20 01:56:14 +00:00
License: BSD
2015-04-03 04:09:51 +00:00
Url: https://hackage.haskell.org/package/%{name}
2017-02-23 04:30:33 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{refact}/%{refact}.tar.gz
2012-11-06 08:37:38 +00:00
2011-06-22 04:00:59 +00:00
BuildRequires: ghc-Cabal-devel
2017-02-23 04:30:33 +00:00
BuildRequires: ghc-rpm-macros-extra
2012-11-06 08:37:38 +00:00
# Begin cabal-rpm deps:
2017-02-23 04:30:33 +00:00
BuildRequires: chrpath
BuildRequires: ghc-aeson-devel
2017-02-23 04:30:33 +00:00
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cmdargs-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-containers-devel
2012-07-16 02:16:58 +00:00
BuildRequires: ghc-cpphs-devel
BuildRequires: ghc-data-default-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-directory-devel
BuildRequires: ghc-extra-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-filepath-devel
2012-07-16 02:16:58 +00:00
BuildRequires: ghc-haskell-src-exts-devel
BuildRequires: ghc-haskell-src-exts-util-devel
2012-07-16 02:16:58 +00:00
BuildRequires: ghc-hscolour-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-process-devel
2017-02-23 04:30:33 +00:00
#BuildRequires: ghc-refact-devel
BuildRequires: ghc-text-devel
2012-07-16 02:16:58 +00:00
BuildRequires: ghc-transformers-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-uniplate-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
BuildRequires: ghc-yaml-devel
2012-11-06 08:37:38 +00:00
# End cabal-rpm deps
2010-02-20 01:56:14 +00:00
%description
HLint gives suggestions on how to improve your source code.
%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}-doc = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): 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.
2010-02-20 01:56:14 +00:00
2017-02-23 04:30:33 +00:00
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{refact}
%endif
%global version %{main_version}
2010-02-20 01:56:14 +00:00
%prep
%setup -q -a1
2010-02-20 01:56:14 +00:00
%build
2017-02-23 04:30:33 +00:00
%ghc_libs_build %{subpkgs}
%ghc_lib_build
2010-02-20 01:56:14 +00:00
%install
2017-02-23 04:30:33 +00:00
%ghc_libs_install %{subpkgs}
%ghc_lib_install
%ghc_fix_rpath %{pkgver}
mv %{buildroot}%{_ghclicensedir}/{,ghc-}%{name}
2017-02-23 04:30:33 +00:00
2013-12-22 13:01:55 +00:00
mkdir -p %{buildroot}%{_mandir}/man1
mv %{buildroot}%{_datadir}/%{name}-%{version}/hlint.1 %{buildroot}%{_mandir}/man1
2010-07-31 12:18:32 +00:00
2010-02-20 01:56:14 +00:00
%post -n ghc-%{name}-devel
%ghc_pkg_recache
2012-01-05 04:04:23 +00:00
%postun -n ghc-%{name}-devel
%ghc_pkg_recache
2010-02-20 01:56:14 +00:00
%files
2016-09-28 09:32:27 +00:00
%license LICENSE
2017-02-23 04:30:33 +00:00
%doc CHANGES.txt README.md
2015-04-03 04:09:51 +00:00
%{_bindir}/%{name}
2010-02-20 01:56:14 +00:00
%{_datadir}/%{name}-%{version}
2010-07-31 12:18:32 +00:00
%{_mandir}/man1/%{name}*
2010-02-20 01:56:14 +00:00
%files -n ghc-%{name} -f ghc-%{name}.files
2016-09-28 09:32:27 +00:00
%license LICENSE
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
2012-01-05 04:04:23 +00:00
2010-02-20 01:56:14 +00:00
%changelog
* Tue Jan 09 2018 Jens Petersen <petersen@redhat.com> - 2.0.11-5
- update to 2.0.11
- clock and extra packaged
* Tue Jan 2 2018 Jens Petersen <petersen@redhat.com> - 2.0.9-4
- update to 2.0.9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.41-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.41-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-02-23 04:30:33 +00:00
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 1.9.41-1
- update to 1.9.41
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jun 21 2016 Jens Petersen <petersen@redhat.com> - 1.9.10-4
- build fixes for newer ghc8 and newer hscolour
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-04-03 04:09:51 +00:00
* Fri Apr 3 2015 Jens Petersen <petersen@redhat.com> - 1.9.10-1
- update to 1.9.10
* Fri Aug 29 2014 Jens Petersen <petersen@redhat.com> - 1.9.4-1
- update to 1.9.4
- refresh to cblrpm-0.8.11
- update tag license to BSD
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.50-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.50-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-01-16 03:22:56 +00:00
* Thu Jan 16 2014 Jens Petersen <petersen@redhat.com> - 1.8.50-1
- update to 1.8.50
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.46-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 1.8.46-2
- update to new simplified Haskell Packaging Guidelines
* Tue Jun 11 2013 Jens Petersen <petersen@redhat.com> - 1.8.46-1
- update to 1.8.46
2013-03-12 16:07:50 +00:00
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.8.43-1
- update to 1.8.43
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-06 08:37:38 +00:00
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 1.8.33-1
- update to 1.8.33 with cabal-rpm
2012-09-10 03:20:35 +00:00
* Mon Sep 10 2012 Jens Petersen <petersen@redhat.com> - 1.8.31-1
- 1.8.31
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-16 02:22:19 +00:00
* Mon Jul 16 2012 Jens Petersen <petersen@redhat.com> - 1.8.30-1
- update to 1.8.30
2012-07-16 02:16:58 +00:00
- change prof BRs to devel
2012-06-21 10:38:02 +00:00
* Thu Jun 21 2012 Jens Petersen <petersen@redhat.com> - 1.8.29-2
- rebuild
2012-06-09 14:27:35 +00:00
* Sat Jun 9 2012 Jens Petersen <petersen@redhat.com> - 1.8.29-1
- update to 1.8.29
2012-03-22 14:27:54 +00:00
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 1.8.24-1
- update to 1.8.24
2012-02-07 16:55:38 +00:00
* Tue Feb 7 2012 Jens Petersen <petersen@redhat.com> - 1.8.23-1
- update to 1.8.23
2012-01-05 04:04:23 +00:00
* Thu Jan 5 2012 Jens Petersen <petersen@redhat.com> - 1.8.20-1
- update to 1.8.20 and cabal2spec-0.25.2
* Fri Oct 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8.17-1.1
- rebuild with new gmp without compat lib
2011-10-15 09:22:44 +00:00
* Sat Oct 15 2011 Jens Petersen <petersen@redhat.com> - 1.8.17-1
- update to 1.8.17
2011-10-11 22:25:25 +00:00
* Wed Oct 12 2011 Peter Schiffer <pschiffe@redhat.com> - 1.8.13-1.1
- rebuild with new gmp
2011-07-22 05:40:41 +00:00
* Fri Jul 22 2011 Jens Petersen <petersen@redhat.com> - 1.8.13-1
- update to 1.8.13
2011-06-22 04:00:59 +00:00
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.8.11-1
- update to 1.8.11
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
2011-03-11 13:02:57 +00:00
* Fri Mar 11 2011 Jens Petersen <petersen@redhat.com> - 1.8.7-1
- update to 1.8.7
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.8.3-6
- Enable build on sparcv9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-22 15:19:29 +00:00
* Sun Jan 23 2011 Jens Petersen <petersen@redhat.com> - 1.8.3-4
- rebuild
2011-01-18 03:36:06 +00:00
* Tue Jan 18 2011 Jens Petersen <petersen@redhat.com> - 1.8.3-3
- update to cabal2spec-0.22.4
2010-12-05 08:56:04 +00:00
* Sun Dec 5 2010 Jens Petersen <petersen@redhat.com> - 1.8.3-2
- rebuild
2010-11-29 01:27:46 +00:00
* Mon Nov 29 2010 Jens Petersen <petersen@redhat.com> - 1.8.3-1
- update to 1.8.3
2010-07-31 12:18:32 +00:00
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 1.7.3-2
- move manpage to mandir
* Tue Jul 27 2010 Jens Petersen <petersen@redhat.com> - 1.7.3-1
- update to 1.7.3
- update to cabal2spec-0.22.2 and obsolete doc subpackage
- use hscolour
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 1.7.2-1
- update to 1.7.2
- sync with cabal2spec-0.22
2010-02-20 01:56:14 +00:00
* Mon Feb 15 2010 Conrad Meyer <konrad@tylerc.org> - 1.6.20-1
- Bump to 1.6.20
- Remove LicenseClarification
* Sun Jan 10 2010 Conrad Meyer <konrad@tylerc.org> - 1.6.14-1
- Bump to 1.6.14
* Sat Nov 14 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.12-1
- Bump to 1.6.12
- Fix dep to ghc-cpphs-devel
* Sun Nov 8 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.11-2
- Add license clarification from author (changed license back to GPLv2).
* Thu Oct 29 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.11-1
- Bump version.
* Fri Sep 11 2009 Conrad Meyer <konrad@tylerc.org> - 1.6.8-1
- Bump version.
* Fri Jul 17 2009 Conrad Meyer <konrad@tylerc.org> - 1.4-1
- Fixed BR on ghc-hscolour (to ghc-hscolour-devel).
- Version bumped.
- Add missing BR on ghc-rpm-macros.
* Mon Jan 12 2009 Conrad Meyer <konrad@tylerc.org> - 1.2-1
- initial packaging for Fedora created by cabal2spec