Commit Graph

287 Commits

Author SHA1 Message Date
Jens Petersen
dc71f25047 - drop the broken summary and description args to the ghc-ghc package and
use ghc-rpm-macros-0.6.1
2010-06-24 03:16:12 +00:00
Jens Petersen
aee0ea8fc1 strip all dynlinked files not just shared objects (ghc-rpm-macros-0.5.9) 2010-06-23 10:30:14 +00:00
Jens Petersen
d3940a51d0 remove erroneous -o pkg merge option to ghc-ghc 2010-06-20 23:19:09 +00:00
Jens Petersen
2c2e6bed6c fix description of ghc-ghc 2010-06-20 23:13:58 +00:00
Jens Petersen
b6bfcab66d - 6.12.3 release
- build with hscolour
- use ghc-rpm-macro-0.5.8 for ghc_strip_shared macro
2010-06-20 13:01:02 +00:00
Jens Petersen
9d4f5cb613 - (6.12.3 rc1)
- ghost package.cache
- fix description and summary of ghc internal library (John Obbele)
2010-05-28 06:40:59 +00:00
Jens Petersen
d06a8f2815 - drop ghc-utf8-string obsoletes since it is no longer provided
- run testsuite fast
2010-05-25 10:20:06 +00:00
Jens Petersen
16ee9ca997 - BR python for testsuite
- note break of haskell-platform-2010.1.0.0
- forward port following fixes from F-13 branch:
- drop old ghc682, ghc681, haddock09 obsoletes
- drop haddock_version and no longer provide haddock explicitly
- add obsoletes for ghc-utf8-string (#571478, reported by Jochen Schmitt)
- update ghc-rpm-macros BR to 0.5.6 for ghc_pkg_recache
2010-04-23 06:01:01 +00:00
Jens Petersen
be9079ab14 - update to 6.12.2
- add testsuite with bcond and run it in check section
2010-04-23 04:09:50 +00:00
Jens Petersen
a6e9993668 clean away release reset comment and version reset too 2010-01-11 23:16:08 +00:00
Jens Petersen
89aaac8f35 remove the ghc_binlib_package for haskeline and terminfo too! 2010-01-11 22:55:52 +00:00
Jens Petersen
5f19e51ca3 - drop ghc-6.12.1-no-filter-libs.patch
- filter ghc lib files from ghc-prof
2010-01-11 15:41:30 +00:00
Jens Petersen
7b2f6a749e try dropping all haskeline, mtl, and terminfo to build 2010-01-11 14:28:48 +00:00
Jens Petersen
205495df99 ghc-mtl package was added to fedora so filtering it again 2010-01-11 12:46:27 +00:00
Jens Petersen
b87c7b1c5d ghc-rpm-macros-0.5.4 fixes wrong version requires between lib subpackages 2010-01-11 07:42:48 +00:00
Jens Petersen
5ada020f4e changelog tweak to say subpackages 2010-01-11 04:18:31 +00:00
Jens Petersen
0fbb24d072 ghc-rpm-macros-0.5.2 fixes broken pkg_name requires for lib packages 2010-01-11 04:16:46 +00:00
Jens Petersen
b21eb153ec - include haskeline, mtl, and terminfo for now with
ghc-6.12.1-no-filter-libs.patch
- use ghc_binlibpackage, grep -v and ghc_gen_filelists to generate the
    library subpackages (ghc-rpm-macros-0.5.1)
- always set GhcLibWays (Lorenzo Villani)
- use ghcdocbasedir to revert html doc path to upstream's html/ for
    consistency
2010-01-10 16:03:50 +00:00
Jens Petersen
3b5aa06c88 add p_dyn (dynamic profiling libs) for binlib packages 2009-12-22 09:35:43 +00:00
Jens Petersen
b277f721ac pre became 6.12.1 final 2009-12-16 08:11:43 +00:00
Jens Petersen
0f975a5111 require ghc-rpm-macros-0.3.1 and use ghc_version_override 2009-12-16 07:58:28 +00:00
Jens Petersen
bedcaee130 - add ghc-6.12.1-gen_contents_index-haddock-path.patch to adjust haddock
path since we removed html/ from libraries path
2009-12-12 11:34:17 +00:00
Jens Petersen
feffa93079 - exclude ghc .conf file from package.conf.d in base package
- use ghc_reindex_haddock
- add scripts for ghc-ghc-devel and ghc-ghc-doc
- add doc bcond
2009-12-12 10:47:38 +00:00
Jens Petersen
60aa61e3bc - remove redundant mingw and perl from ghc-tarballs/
- fix exclusion of ghc internals lib from base packages with -mindepth
- rename the final file lists to PKGNAME.files for clarity
2009-12-12 03:59:37 +00:00
Jens Petersen
b467c90b76 disable smp build for now: broken for 8 cpus at least 2009-12-11 19:17:18 +00:00
Jens Petersen
f673bd89fa - update to ghc-6.12.1-pre
- separate bcond options into enabled and disabled for clarity
- only enable shared for intel x86 archs (Lorenzo Villani)
- add quick build profile (Lorenzo Villani)
- remove package_debugging hack (use "make install-short")
- drop sed BR (Lorenzo Villani)
- put all build.mk config into one cat block (Lorenzo Villani)
- export CFLAGS to configure (Lorenzo Villani)
- add dynamic linking test to check section (thanks Lorenzo Villani)
- remove old ghc66 obsoletes
- subpackage huge ghc internals library (thanks Lorenzo Villani)
- BR ghc-rpm-macros >= 0.3.0
- move html docs to docdir/ghc from html subdir (Lorenzo Villani)
2009-12-11 18:40:16 +00:00
Jens Petersen
381aca137f manpage is back 2009-11-23 13:40:42 +00:00
Jens Petersen
26fcbdc18a ok I guess BR ncurses-devel should stay 2009-11-23 13:02:08 +00:00
Jens Petersen
4b82adefe4 - update to 6.12.1 rc2
- build shared libs, woohoo! and package in standalone libs subpackage
- add bcond for manual and extralibs
- reenable ppc secondary arch
- don't provide ghc-haddock-*
- no longer need BR ncurses-devel or post policycoreutils requires
- add vanilla v to GhcLibWays when building without prof
- handle without hscolour
- can't smp make currently
- lots of filelist fixes for handling shared libs
- run ghc-pkg recache posttrans
- no need to install gen_contents_index by hand
2009-11-23 12:43:54 +00:00
Bryan O'Sullivan
b3f5839a60 Comprehensive attempts at packaging fixes 2009-11-13 07:06:41 +00:00
Bryan O'Sullivan
30dd278708 package.conf.d 2009-11-13 04:59:42 +00:00
Bryan O'Sullivan
4656dedc90 Give up on man pages for now 2009-11-13 04:29:19 +00:00
Bryan O'Sullivan
792037f8e8 Bump release 2009-11-13 03:37:54 +00:00
Bryan O'Sullivan
3da47cd87b Try to install man pages 2009-11-13 03:36:38 +00:00
Bryan O'Sullivan
36c509220a Bump release 2009-11-13 02:59:48 +00:00
Bryan O'Sullivan
fa36f01e95 fix %check 2009-11-13 02:59:15 +00:00
Bryan O'Sullivan
7320d2d2ff Build fixes 2009-10-12 03:58:22 +00:00
Bryan O'Sullivan
64a92f34b6 Figure out how to install docs 2009-10-12 02:48:15 +00:00
Bryan O'Sullivan
be50ea68e1 Correct the version of the embedded Haddock 2009-10-12 01:18:42 +00:00
Bryan O'Sullivan
41ceb8a529 First attempt at GHC 6.12 RC 1 2009-10-12 01:06:41 +00:00
Jens Petersen
e6bc25d894 - selinux file context no longer needed in post script
- (for ghc-6.12-shared) drop ld.so.conf.d files
--------------------------------------------------------------
2009-10-01 08:45:50 +00:00
Jens Petersen
92df927325 version haskell-platform note 2009-09-28 05:39:09 +00:00
Jesse Keating
b19d8634e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 00:03:07 +00:00
Bryan O'Sullivan
7532ff0904 ghc 6.10.4 2009-07-22 04:04:45 +00:00
Jens Petersen
95a0f6c3c6 - add haddock_version and use it to obsolete haddock and ghc-haddock-* 2009-05-30 06:16:53 +00:00
Jens Petersen
16c9fecedf tweak haddock changelog comment 2009-05-28 00:11:55 +00:00
Jens Petersen
5c4b5faeff - drop ghc-mk-pkg-install-inplace.patch: no longer needed with new 6.11
buildsys
- add bcond for extralibs
- rename doc bcond to manual
2009-05-22 04:29:13 +00:00
Jens Petersen
f7351e6085 update haddock provides 2009-05-22 03:17:29 +00:00
Jens Petersen
e092da1081 editline is no longer needed to build 2009-05-13 07:23:07 +00:00
Jens Petersen
4d88e55f20 - update to 6.10.3
- macros.ghc moved to ghc-rpm-macros package
- fix handling of hscolor files in filelist generation
- give up ppc unregisterized build since it failed
2009-05-13 07:17:04 +00:00
Jens Petersen
773bb46c70 try unregisterised ppc to see if that stops the segfaulting with runghc 2009-05-02 06:57:24 +00:00
Jens Petersen
12ad68912d remember to actually turn off shared libs for now 2009-04-29 07:33:54 +00:00
Jens Petersen
fbbca4c56f only BR libffi-devel for shared build 2009-04-28 10:09:37 +00:00
Jens Petersen
e93fe4deda - add experimental bcond hscolour
- BR libffi-devel
- add experimental support for building shared libraries (for ghc-6.11)
- add libs subpackage for shared libraries
- create a ld.conf.d file for libghc*.so
- drop redundant setting of GhcLibWays in build.mk for no prof
- drop redundant setting of HADDOCK_DOCS
- simplify filelist names
- add a check section based on tests from debian package
- be more careful about doc files in filelist
2009-04-28 09:45:16 +00:00
Jens Petersen
a60b93f8dd remove ghc-requires from %install and %files 2009-04-24 07:59:57 +00:00
Jens Petersen
43b24a206d - define ghc_version in macros.ghc in place of ghcrequires
- drop ghc-requires script for now
2009-04-24 07:28:14 +00:00
Jens Petersen
7b1f4da984 - add ghc-requires rpm script to generate ghc version dependencies (thanks
to Till Maas)
- update macros.ghc:
- add %%ghcrequires to call above script
- pkg_libdir and pkg_docdir no longer to appear in packages and replaced by
    ghcpkgdir and ghcdocdir inside macros.ghc
- make filelist also for docs
2009-04-19 04:28:22 +00:00
Bryan O'Sullivan
1b7e30e4b7 Update to GHC 6.10.2 2009-04-08 21:39:16 +00:00
Jens Petersen
34b48fdbc8 - clean away tabs and excess whitespace padding
- ExclusiveArch: %{ix86} x86_64 ppc alpha
2009-02-27 03:44:31 +00:00
Jens Petersen
a5fa326f81 - drop ghc_archs since it breaks koji
- fix missing -devel in ghc_gen_filelists
- change from ExclusiveArch to ExcludeArch ppc64 since alpha was
    bootstrapped by oliver
2009-02-27 01:05:09 +00:00
Oliver Falk
64f30a94e8 Reenable build on alpha, after we finally managed to build ghc 2009-02-26 09:34:42 +00:00
Jens Petersen
7debd90bb1 - use %%ix86 for change from i386 to i586 in rawhide
- add ghc_archs macro in macros.ghc for other packages
- obsolete haddock09
- use %%global instead of %%define
- use bcond for doc and prof
- rename ghc_gen_filelists lib filelist to -devel.files
--------------------------------------------------------------------
2009-02-25 06:51:56 +00:00
Jesse Keating
a00f693e62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 21:14:13 +00:00
Jens Petersen
6269f30f2f update changelog timestamp 2009-02-13 02:15:56 +00:00
Jens Petersen
cc989bbc31 comment whitespace tweak 2009-02-13 01:51:10 +00:00
Jens Petersen
574cea7124 revert the last -doc files move changes for now 2009-02-13 01:18:06 +00:00
Jens Petersen
0eea3c51b5 - require and buildrequire libedit-devel > 2.11-2
- move top doc dirs to main package for better sharing
- move gen_contents_index and ghost index files to main package
- protect ghc_register_pkg and ghc_unregister_pkg
2009-02-10 08:15:40 +00:00
Jens Petersen
1acf5c7d02 fix to libedit means can drop BR ncurses-devel workaround (#481252) 2009-01-23 07:24:23 +00:00
Jens Petersen
001d3451a6 buildrequire ncurses-devel to fix build of missing editline package needed
for ghci line-editing (#478466)
2009-01-19 10:58:49 +00:00
Jens Petersen
e74c4291aa bump release 2009-01-19 05:47:00 +00:00
Jens Petersen
65d3718c16 - move spec templates to haskell-packaging for easy updating
- provide correct haddock version
spec templating:
- use bcond for
- add doc subpackages to lib and binlib templates
- add license header for cabal2spec
2009-01-19 05:39:55 +00:00
Jens Petersen
644d44d682 more template fixes:
- version pkg_docdir
- put provides in lib subsubpackage
- binlib scripts are for lib subpackage
2008-12-05 09:50:10 +00:00
Jens Petersen
18d2312b75 tweak changelog 2008-12-01 05:49:24 +00:00
Jens Petersen
ad8913e5ff - update macros.ghc to latest proposed revised packaging guidelines:
- use runghc
- drop trivial cabal_build and cabal_haddock macros
- ghc_register_pkg and ghc_unregister_pkg replace ghc_preinst_script,
    ghc_postinst_script, ghc_preun_script, and ghc_postun_script
- lib templates' prof subpackage requires main library again
- make cabal2spec work on .cabal files too, and read and check name and
    version directly from .cabal file
- ghc-prof does not need to own libraries/ dirs owned by main package
2008-12-01 05:46:36 +00:00
Jens Petersen
74a3f2521e - make cabal2spec work on .cabal files too, and read and check name and
version from .cabal
2008-11-28 02:47:49 +00:00
Jens Petersen
b17255a641 - add support for bin and binlib packages to cabal2spec script and only
grep .cabal files for exposed-module/executable
- output bin and/or lib status too
2008-11-25 09:15:17 +00:00
Jens Petersen
0682b80a1d - add cabal2spec and cabal-lib-template.spec for easy Cabal library
packaging
- simplify script macros: make ghc_preinst_script and ghc_postun_script
    no-ops and ghc_preun_script only unregister for uninstall
2008-11-25 02:52:10 +00:00
Jens Petersen
6c9b784686 - fix broken urls to haddock docs created by gen_contents_index script
- avoid haddock errors when upgrading by making doc post script posttrans
2008-11-11 03:48:10 +00:00
Bryan O'Sullivan
f20412293b libraries/prologue.txt should not have been ghosted 2008-11-05 22:19:30 +00:00
Bryan O'Sullivan
6e900886a0 libraries/prologue.txt should not have been ghosted 2008-11-05 21:58:34 +00:00
Bryan O'Sullivan
cd0fae4df4 Fix a minor packaging glitch 2008-11-05 05:32:13 +00:00
Bryan O'Sullivan
378558c597 ghc 6.10.1 release 2008-11-05 04:32:03 +00:00
Jens Petersen
ab507b7b80 - cabal_configure does not need redundant --haddockdir
- actually ghc-pkg no longer seems to create package.conf.old backups
- include LICENSE in doc
2008-10-23 06:40:25 +00:00
Jens Petersen
a8cf709ba6 need to create ghost package.conf.old for ghc-6.10 2008-10-23 03:42:59 +00:00
Jens Petersen
c7ae1a2bd5 - use gen_contents_index to re-index haddock
- add %%pkg_docdir to cabal_configure
- requires(post) ghc for haddock for doc
- improve doc file lists
- no longer need to create ghost package.conf.old
- remove or rename alternatives files more consistently
2008-10-23 03:00:41 +00:00
Bryan O'Sullivan
cb5a89f23c Update macros to put haddock bits in the right place 2008-10-15 03:42:23 +00:00
Bryan O'Sullivan
8a484b3e87 Try to fix doc indexing 2008-10-14 21:32:36 +00:00
Bryan O'Sullivan
354d10e225 Generate haddocks after installing ghc-doc 2008-10-14 18:55:27 +00:00
Jens Petersen
3c43e3814f - provide haddock = 2.2.2
- add selinux file context for unconfined_execmem following darcs package
- post requires policycoreutils
2008-10-13 05:20:47 +00:00
Bryan O'Sullivan
a8b8189107 Port F-10 changes to devel 2008-10-13 03:05:05 +00:00
Bryan O'Sullivan
ef6ff25c36 Don't remove hsc2hs, rename it 2008-10-01 22:26:01 +00:00
Jens Petersen
2e71ab898c bring back %package_debugging for bos since it does "more" than
--short-circuit
2008-09-26 07:14:14 +00:00
Jens Petersen
6a740e49cf revert back from using %configure since it fails on ppc 2008-09-24 08:03:22 +00:00
Jens Petersen
c5b8789b8e tweak docs changelog entries 2008-09-24 07:36:11 +00:00
Jens Petersen
2a4aeca5cc - bring back including haddock-generated lib docs, now under docdir/ghc
- fix macros.ghc filepath (#460304)
- spec file cleanups:
- fix the source urls back
- drop requires chkconfig
- do not override __spec_install_post
- override _target_platform so we can use %%configure
- setup docs building in build.mk
- no longer need to remove network/include/Typeable.h
- install binaries under libdir not libexec
- remove hsc2hs and runhaskell binaries since are alternatives
2008-09-24 07:34:44 +00:00
Jens Petersen
97f36761c3 fix writing of _sysconfdir 2008-09-17 07:11:56 +00:00
Jens Petersen
d85f6b0a84 - add macros.ghc for new Haskell Packaging Guidelines (#460304) 2008-09-17 06:00:51 +00:00
Bryan O'Sullivan
860e5f3f03 More build fixes 2008-06-19 03:43:53 +00:00
Bryan O'Sullivan
34b478a7fd Remove unnecessary dependency on alex 2008-06-19 02:41:10 +00:00
Bryan O'Sullivan
fb0f222aeb GHC 6.8.3 2008-06-18 19:49:45 +00:00
Bryan O'Sullivan
92410e9528 First cut at ghc 6.8.3 spec file 2008-06-18 16:44:34 +00:00
Jens Petersen
f7ca4dbacb bump changelog for another rebuidl attempt 2008-04-08 06:46:15 +00:00
Jesse Keating
ffb1ceca09 - Autorebuild for GCC 4.3 2008-02-18 21:23:56 +00:00
Jens Petersen
bae7070ccb - remove unrecognized --htmldir from configure
- drop old buildrequires on libX11-devel and libXt-devel
2008-02-14 08:31:32 +00:00
Jens Petersen
1892b30c0b remove unrecognized --docdir from configure 2008-02-14 08:11:43 +00:00
Jens Petersen
0a7ad4bf36 rebuild with gcc43 2008-02-14 07:36:23 +00:00
Bryan O'Sullivan
3d1944144e Sync up with fixes from F-8 2008-01-22 01:10:50 +00:00
Bryan O'Sullivan
f57118ecb9 Old configure does not grok docdir,htmldir 2008-01-07 23:24:04 +00:00
Bryan O'Sullivan
d59db7372a Fix haddock paths 2008-01-07 22:57:23 +00:00
Bryan O'Sullivan
7728a76fc5 Import some changes from F-8 tree 2007-12-12 23:21:18 +00:00
Bryan O'Sullivan
7528b142b9 ghc 6.8.2 2007-12-12 22:36:10 +00:00
Bryan O'Sullivan
8e74151e81 Exclude alpha 2007-11-23 18:15:15 +00:00
Bryan O'Sullivan
e8ba9bc72a Upgrade to ghc 6.8.1 2007-11-06 00:35:13 +00:00
Bryan O'Sullivan
a20a5e5947 Add happy to buldreqs 2007-09-30 03:53:49 +00:00
Bryan O'Sullivan
11b87bfd13 Work around rpm braindamage: you can't have "%" in comments!? 2007-09-30 03:18:21 +00:00
Bryan O'Sullivan
cdb710ffe5 Update to ghc-6.8.0.20070928 2007-09-30 03:06:57 +00:00
Bryan O'Sullivan
5ae9c5759d Install new man page for GHC 2007-05-10 19:52:43 +00:00
Bryan O'Sullivan
19c596ba3c Exclude ppc64 for now (bug 239713) 2007-05-10 17:53:17 +00:00
Bryan O'Sullivan
67f21357a4 Update to GHC 6.6.1 2007-05-10 17:09:49 +00:00
Jens Petersen
2047747149 - remove truncated duplicate Typeable.h header in network (Bryan
O'Sullivan) Resolves: #222865
2007-01-21 22:42:51 +00:00
Jens Petersen
812b066786 - update to 6.6 release
- buildrequire haddock >= 0.8
- fix summary of ghcver package (Michel Salim, #209574)
2006-11-03 05:00:12 +00:00
Jens Petersen
4eb22b2025 turn on docs again 2006-09-28 01:44:23 +00:00
Jens Petersen
a97ca19f8f turn off building docs until haddock is back 2006-09-25 13:28:47 +00:00
Jens Petersen
889645708c - ghost package.conf.old (Gérard Milmeister)
- set unconfined_execmem_exec_t context on executables with ghc rts
    (#195821)
2006-09-25 10:05:59 +00:00
Jens Petersen
64398adc4a - buildrequire libXt-devel so that the X11 package and deps get built
(Garrett Mitchener, #190201)
2006-04-29 07:33:52 +00:00
Jens Petersen
9c5a6c23e1 update to 6.4.2 release 2006-04-21 07:59:27 +00:00
Jens Petersen
c12a20f950 - buildrequire libX11-devel instead of xorg-x11-devel (Kevin Fenzi,
#181024)
- make ghc-doc require ghc (Michel Salim, #180449)
2006-03-02 08:40:15 +00:00
Jens Petersen
1ae0da02b7 - turn on build_doc since haddock is now in Extras
- no longer specify ghc version to build with (Ville Skyttä, #170176)
2005-10-11 03:05:07 +00:00
Jens Petersen
3c45d5400c turn on build_doc since haddock is now in Extras 2005-10-03 02:46:03 +00:00
Jens Petersen
824ff1734d bump release 2005-09-20 23:38:34 +00:00
Jens Petersen
af099c0af9 - 6.4.1 release
- the following patches are now upstream: ghc-6.4-powerpc.patch,
    rts-GCCompact.h-x86_64.patch, ghc-6.4-dsforeign-x86_64-1097471.patch,
    ghc-6.4-rts-adjustor-x86_64-1097471.patch
- builds with gcc4 so drop %%_with_gcc32
- x86_64 build restrictions (no ghci and split objects) no longer apply
2005-09-20 23:37:16 +00:00
Jens Petersen
340d4c8b21 revert to non-bootstrap build 2005-06-02 01:55:58 +00:00
Jens Petersen
a677d5cbbf - add bootstrap files for i386, ppc and x86_64
- add temporary bootstrap spec file
- temporarily point Makefile at ghc-bootstrap.spec
- add ghc-doc-no-ps-install.patch to avoid install of ps docs
2005-05-31 11:04:47 +00:00
Jens Petersen
2a0c7d6865 restore %setup so that it builds again 2005-05-19 10:33:43 +00:00
Jens Petersen
0581bc1883 break build (since BRs compat-gcc) in a more Makefile.common friendly way 2005-05-12 09:22:03 +00:00
Jens Petersen
87abc3c55c deliberately break building for now since ghc doesn't build yet with gcc4
(Warren Togami)
2005-05-12 08:00:41 +00:00
Jens Petersen
01ca4204e6 auto-import ghc-6.4-8 on branch devel from ghc-6.4-8.src.rpm initial import
to Extras
2005-05-12 07:37:43 +00:00