2009-05-13 07:37:39 +00:00
|
|
|
Name: ghc-rpm-macros
|
2010-07-17 08:08:37 +00:00
|
|
|
Version: 0.8.1
|
2009-11-16 07:45:33 +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-17 08:08:37 +00:00
|
|
|
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.8.1-1
|
|
|
|
- fix ghc_strip_dynlinked for no dynlinked files
|
|
|
|
- devel should provide doc also when not obsoleting
|
|
|
|
|
2010-07-15 14:43:34 +00:00
|
|
|
* Fri Jul 16 2010 Jens Petersen <petersen@redhat.com> - 0.8.0-1
|
|
|
|
- merge -doc into -devel and provide -o obsoletes doc subpackage option
|
|
|
|
|
2010-06-28 07:33:22 +00:00
|
|
|
* Mon Jun 28 2010 Jens Petersen <petersen@redhat.com> - 0.7.1-1
|
|
|
|
- support hscolour'ing of src from haddock
|
|
|
|
- really remove redundant summary and description option flags
|
|
|
|
|
2010-06-26 08:53:39 +00:00
|
|
|
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.7.0-1
|
|
|
|
- new ghc_bin_build, ghc_bin_install, ghc_lib_build, ghc_lib_install
|
|
|
|
|
2010-06-24 06:05:43 +00:00
|
|
|
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.2-1
|
|
|
|
- a couple more fallback summary tweaks
|
|
|
|
|
2010-06-24 02:13:22 +00:00
|
|
|
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.1-1
|
|
|
|
- drop the summary -s and description -d package options since rpm does not
|
|
|
|
seem to allow white\ space in macro option args anyway
|
|
|
|
|
2010-06-23 10:24:53 +00:00
|
|
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.6.0-1
|
|
|
|
- make ghc_strip_dynlinked conditional on no debug_package
|
|
|
|
|
2010-06-23 10:05:24 +00:00
|
|
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.5.9-1
|
|
|
|
- replace ghc_strip_shared with ghc_strip_dynlinked
|
|
|
|
|
2010-06-20 12:44:49 +00:00
|
|
|
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.8-1
|
|
|
|
- add ghc_strip_shared to strip shared libraries
|
|
|
|
|
2010-06-20 12:10:25 +00:00
|
|
|
* Sun Jun 20 2010 Jens Petersen <petersen@redhat.com> - 0.5.7-1
|
|
|
|
- add comments over macros
|
|
|
|
- drop unused cabal_makefile
|
|
|
|
|
2010-04-12 14:52:34 +00:00
|
|
|
* Mon Apr 12 2010 Jens Petersen <petersen@redhat.com> - 0.5.6-1
|
|
|
|
- drop unused ghc_pkg_ver macro
|
|
|
|
- add ghc_pkg_recache macro
|
|
|
|
|
2010-01-14 14:32:25 +00:00
|
|
|
* Fri Jan 15 2010 Jens Petersen <petersen@redhat.com> - 0.5.5-1
|
2010-01-14 14:35:34 +00:00
|
|
|
- drop optional 2nd version arg from ghcdocdir, ghcpkgdir, and
|
2010-01-14 14:32:25 +00:00
|
|
|
ghc_gen_filelists: multiversion subpackages are not supported
|
|
|
|
- add ghcpkgbasedir
|
|
|
|
- bring back some shared conditions which were dropped temporarily
|
|
|
|
- test for ghcpkgdir and ghcdocdir in ghc_gen_filelists
|
|
|
|
- allow optional pkgname arg for cabal_pkg_conf
|
|
|
|
- can now package gtk2hs
|
|
|
|
|
2010-01-11 06:51:22 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.4-1
|
|
|
|
- use -v in ghc_requires and ghc_prof_requires for version
|
|
|
|
|
2010-01-11 05:13:02 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.3-1
|
|
|
|
- drop "Library for" from base lib summary
|
|
|
|
|
2010-01-11 03:13:01 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.2-1
|
|
|
|
- use -n in ghc_requires and ghc_prof_requires for when no pkg_name
|
|
|
|
|
2010-01-10 14:59:10 +00:00
|
|
|
* Mon Jan 11 2010 Jens Petersen <petersen@redhat.com> - 0.5.1-1
|
|
|
|
- add ghcdocbasedir
|
|
|
|
- revert ghcdocdir to match upstream ghc
|
|
|
|
- ghcdocdir and ghcpkgdir now take optional name version args
|
|
|
|
- update ghc_gen_filelists to new optional name version args
|
|
|
|
- handle docdir in ghc_gen_filelists
|
|
|
|
- ghc_reindex_haddock uses ghcdocbasedir
|
|
|
|
- summary and description options to ghc_binlib_package, ghc_package_devel,
|
|
|
|
ghc_package_doc, and ghc_package_prof
|
|
|
|
|
2010-01-09 15:58:27 +00:00
|
|
|
* Sun Jan 10 2010 Jens Petersen <petersen@redhat.com> - 0.5.0-1
|
|
|
|
- pkg_name must be set now for binlib packages too
|
|
|
|
- new ghc_lib_package and ghc_binlib_package macros make packaging too easy
|
|
|
|
- ghc_package_devel, ghc_package_doc, and ghc_package_prof helper macros
|
|
|
|
- ghc_gen_filelists now defaults to ghc-%%{pkg_name}
|
|
|
|
- add dynamic bcond to cabal_configure instead of cabal_configure_dynamic
|
|
|
|
|
2009-12-23 14:42:16 +00:00
|
|
|
* Thu Dec 24 2009 Jens Petersen <petersen@redhat.com> - 0.4.0-1
|
|
|
|
- add cabal_configure_dynamic
|
|
|
|
- add ghc_requires, ghc_doc_requires, ghc_prof_requires
|
|
|
|
|
2009-12-15 21:50:31 +00:00
|
|
|
* Tue Dec 15 2009 Jens Petersen <petersen@redhat.com> - 0.3.1-1
|
|
|
|
- use ghc_version_override to override ghc_version
|
|
|
|
- fix pkg .conf filelist match
|
|
|
|
|
2009-12-11 18:17:07 +00:00
|
|
|
* Sat Dec 12 2009 Jens Petersen <petersen@redhat.com> - 0.3.0-1
|
|
|
|
- major updates for ghc-6.12, package.conf.d, and shared libraries
|
|
|
|
- add shared support to cabal_configure, ghc_gen_filelists
|
|
|
|
- version ghcdocdir
|
|
|
|
- replace ghc_gen_scripts, ghc_install_scripts, ghc_register_pkg, ghc_unregister_pkg
|
|
|
|
with cabal_pkg_conf
|
|
|
|
- allow (ghc to) override ghc_version
|
|
|
|
|
2009-11-16 12:27:56 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.5-1
|
|
|
|
- make ghc_pkg_ver only return pkg version
|
|
|
|
|
2009-11-16 09:56:31 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.4-1
|
|
|
|
- change GHCRequires to ghc_pkg_ver
|
|
|
|
|
2009-11-16 09:14:11 +00:00
|
|
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.3-1
|
|
|
|
- use the latest installed pkg version for %%GHCRequires
|
|
|
|
|
2009-11-16 07:45:33 +00:00
|
|
|
* 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
|
|
|
|
|