Commit Graph

4 Commits

Author SHA1 Message Date
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
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
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