hlint/hlint.spec

165 lines
4.2 KiB
RPMSpec
Raw Normal View History

2012-01-05 04:04:23 +00:00
# cabal2spec-0.25.2
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
2010-02-20 01:56:14 +00:00
%global pkg_name hlint
%global common_summary Haskell Source code suggestions
%global common_description Hlint gives suggestions on how to improve your source code.
Name: %{pkg_name}
2012-06-09 14:27:35 +00:00
Version: 1.8.29
2012-06-21 10:38:02 +00:00
Release: 2%{?dist}
2010-02-20 01:56:14 +00:00
Summary: %{common_summary}
Group: Development/Languages
License: GPLv2
2011-10-15 09:22:44 +00:00
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{name}
2010-02-20 01:56:14 +00:00
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
2011-06-22 04:00:59 +00:00
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
2012-01-05 04:04:23 +00:00
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
2011-10-15 09:22:44 +00:00
# END cabal2spec
2012-01-05 04:04:23 +00:00
BuildRequires: ghc-cpphs-prof
BuildRequires: ghc-haskell-src-exts-prof
BuildRequires: ghc-uniplate-prof
BuildRequires: ghc-hscolour-prof
BuildRequires: ghc-transformers-prof
2010-02-20 01:56:14 +00:00
%description
%{common_description}
%prep
%setup -q
%build
%ghc_lib_build
2010-02-20 01:56:14 +00:00
%install
%ghc_lib_install
2010-02-20 01:56:14 +00:00
2010-07-31 12:18:32 +00:00
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
mv $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/hlint.1 $RPM_BUILD_ROOT%{_mandir}/man1
2010-02-20 01:56:14 +00:00
2012-01-05 04:04:23 +00:00
%ghc_package
%ghc_description
%ghc_devel_package
%ghc_devel_description
%ghc_devel_post_postun
2010-02-20 01:56:14 +00:00
%files
%doc LICENSE
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}-%{version}
2010-07-31 12:18:32 +00:00
%{_mandir}/man1/%{name}*
2010-02-20 01:56:14 +00:00
2012-03-22 14:27:54 +00:00
%ghc_files LICENSE
2012-01-05 04:04:23 +00:00
2010-02-20 01:56:14 +00:00
%changelog
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