2009-05-13 07:37:39 +00:00
|
|
|
Name: ghc-rpm-macros
|
2010-07-31 07:21:51 +00:00
|
|
|
Version: 0.7.0.610.4
|
2009-12-08 00:49:48 +00:00
|
|
|
Release: 1%{?dist}
|
2009-05-13 07:37:39 +00:00
|
|
|
Summary: Macros for building packages for GHC
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPLv3
|
|
|
|
URL: https://fedoraproject.org/wiki/Haskell_SIG
|
|
|
|
|
|
|
|
# This is a Fedora maintained package which is specific to
|
|
|
|
# our distribution. Thus the source is only available from
|
|
|
|
# within this srpm.
|
|
|
|
Source0: ghc-rpm-macros.ghc
|
|
|
|
Source1: COPYING
|
|
|
|
Source2: AUTHORS
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
A set of macros for building GHC packages following the Haskell Guidelines
|
|
|
|
of the Haskell SIG. This package probably shouldn't be installed on its own
|
|
|
|
as GHC is needed in order to make use of these macros.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -c -T
|
|
|
|
cp %{SOURCE1} %{SOURCE2} .
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
echo no build stage needed
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm
|
|
|
|
cp -p %{SOURCE0} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING AUTHORS
|
2009-05-13 07:44:36 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/rpm/macros.ghc
|
2009-05-13 07:37:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2010-07-31 07:21:51 +00:00
|
|
|
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 0.7.0.610.4-1
|
|
|
|
- fix backport of ghc_gen_filelists pkg_name arg handling
|
|
|
|
|
2010-07-31 06:21:10 +00:00
|
|
|
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 0.7.0.610.3-1
|
|
|
|
- make ghc_gen_filelists pkg_name arg optional
|
|
|
|
|
2010-07-31 05:49:33 +00:00
|
|
|
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 0.7.0.610.2-1
|
|
|
|
- also backport cabal_pkg_conf for f13 compatibility
|
|
|
|
- fix ghc_strip_dynlinked when no dynlinked files
|
|
|
|
|
2010-07-31 04:44:43 +00:00
|
|
|
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 0.7.0.610.1-1
|
|
|
|
- backport 0.7.1 to ghc-6.10:
|
|
|
|
- add ghc_bin_build, ghc_bin_install, ghc_lib_build, ghc_lib_install,
|
|
|
|
ghc_strip_dynlinked, ghcdocbasedir, and drop unused cabal_makefile
|
|
|
|
- ghc_reindex_haddock uses ghcdocbasedir
|
|
|
|
- ghc_package_devel, ghc_package_doc, and ghc_package_prof helper macros
|
|
|
|
- Notes:
|
|
|
|
- no shared libraries in ghc-6.10.4 so shared and dynmic are not supported
|
|
|
|
- no name-ver override to maintain compatibility with optional pkg_name
|
|
|
|
in current released f12 binlib packages
|
|
|
|
- for same reason ghcdocdir, ghcpkgdir, ghc_gen_filelists do not take
|
|
|
|
optional name arg
|
2010-07-31 06:21:10 +00:00
|
|
|
- ghc-6.10.4 haddock does not support hscolour
|
2010-07-31 04:44:43 +00:00
|
|
|
|
2009-12-25 15:37:49 +00:00
|
|
|
* Thu Dec 24 2009 Jens Petersen <petersen@redhat.com> - 0.2.6-1
|
|
|
|
- backport:
|
|
|
|
- add ghc_requires, ghc_doc_requires, ghc_prof_requires
|
|
|
|
- allow ghc_version_override to override ghc_version (for ghc)
|
|
|
|
|
2009-12-08 00:49:48 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.5-1
|
|
|
|
- make ghc_pkg_ver only return pkg version
|
|
|
|
|
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.4-1
|
|
|
|
- change GHCRequires to ghc_pkg_ver
|
|
|
|
|
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.3-1
|
|
|
|
- use the latest installed pkg version for %%GHCRequires
|
|
|
|
|
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.2-1
|
|
|
|
- add %%GHCRequires for automatically versioned library deps
|
|
|
|
|
2009-09-22 10:08:17 +00:00
|
|
|
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-2
|
|
|
|
- no, revert versioned ghcdocdir again!
|
|
|
|
|
2009-09-22 03:25:59 +00:00
|
|
|
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-1
|
|
|
|
- version ghcdocdir to allow multiple doc versions like ghcpkgdir
|
|
|
|
|
2009-07-25 00:05:15 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-09 09:24:58 +00:00
|
|
|
* Tue Jun 9 2009 Jens Petersen <petersen@redhat.com> - 0.2-1
|
|
|
|
- drop version from ghcdocdir since it breaks haddock indexing
|
|
|
|
|
2009-05-13 07:44:36 +00:00
|
|
|
* Wed May 13 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-7
|
|
|
|
- specifies the macros file as a %%conf
|
|
|
|
|
2009-05-13 07:37:39 +00:00
|
|
|
* Sat May 9 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-6
|
|
|
|
- removes archs and replaces with noarch
|
|
|
|
- bumps to avoid conflicts with jens
|
|
|
|
|
|
|
|
* Fri May 8 2009 Jens Petersen <petersen@redhat.com> - 0.1-5
|
|
|
|
- make it arch specific to fedora ghc archs
|
|
|
|
- setup a build dir so it can build from the current working dir
|
|
|
|
|
|
|
|
* Wed May 6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-4
|
|
|
|
- renamed license file
|
|
|
|
- removed some extraneous comments needed only at review time
|
|
|
|
|
|
|
|
* Wed May 6 2009 Yaakov M. Nemoy <ynemoy@fedoraproject.org> - 0.1-3
|
|
|
|
- updated license to GPLv3
|
|
|
|
- added AUTHORS file
|
|
|
|
|
|
|
|
* Tue May 5 2009 Yaakov M. Nemoy <ghc@hexago.nl> - 0.1-2
|
|
|
|
- moved copying license from %%build to %%prep
|
|
|
|
|
|
|
|
* Mon May 4 2009 Yaakov M. Nemoy <ghc@hexago.nl> - 0.1-1
|
|
|
|
- creation of package
|
|
|
|
|