hlint/hlint.spec

210 lines
5.8 KiB
RPMSpec
Raw Normal View History

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
Name: %{pkg_name}
2014-01-16 03:22:56 +00:00
Version: 1.8.50
Release: 1%{?dist}
Summary: Haskell source code suggestions
2010-02-20 01:56:14 +00:00
License: GPLv2
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
2012-11-06 08:37:38 +00:00
2011-06-22 04:00:59 +00:00
BuildRequires: ghc-Cabal-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-containers-devel
2012-07-16 02:16:58 +00:00
BuildRequires: ghc-cpphs-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
2012-07-16 02:16:58 +00:00
BuildRequires: ghc-haskell-src-exts-devel
BuildRequires: ghc-hscolour-devel
2012-11-06 08:37:38 +00:00
BuildRequires: ghc-process-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
# 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
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: ghc-%{name} = %{version}-%{release}
%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.
2010-02-20 01:56:14 +00:00
%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
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
%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
%files -n ghc-%{name} -f ghc-%{name}.files
%doc 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
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