automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autopack patch level 2


From: Masatake YAMATO
Subject: Autopack patch level 2
Date: Mon, 11 Feb 2002 04:58:48 +0900 (JST)

I've improved Christophe Tronche's autopack patch.
I've also put the patch to http://www.gyve.org/~jet/autopack/pl2.tar.gz.

Christophe Tronche wrote:

    There's been discussion for years on this list about the benefits
    of adding some rules to automake so that generated Makefiles would
    be able to handle automatically the building of packages with the
    various available packagers. This is my humble contribution to the
    debate. It takes the form of a (rather long) discussion of what
    I've done and the diff against today's CVS tree. This first
    attempt is directed toward "RPM" (the RedHat Package Manager)
    because it's the one I'm using the most these days.

See also 
http://mail.gnu.org/pipermail/automake/2001-November/009851.html
and http://www.gyve.org/~jet/autopack

* removed GROUP and ICON arguments for AP_INIT_AUTOPACK.
  (Instead I introduced two new macros to specify them. See below.)

* added two macros for generating rpm. 

  - AP_INFO_GROUP(GROUP)
  - AP_INFO_ICON(ICON)

* added a macro for specifying dependencies
  
  - AP_INFO_DEPENDENCY(DEPENDENCY)
  You can specify the package dependency.

  e.g. 
  AP_INFO_DEPENDENCY([automake > 1.4])
  AP_INFO_DEPENDENCY([autoconf >= 2.52])

* added a code that check the existence of rpm and perl. 
  commands when configure is run. added a code that check 
  arguments for AP_INIT_AUTOPACK.

* supported man pages.

* renamed the automatically generated spec file template to 
  ap-$(PACKAGE).spec.in. To avoid overwriting a manual-written 
  spec file by a develper.

* added srpm(source rpm) supports.
  make srpm generats a source rpm.

Masatake YAMATO



reply via email to

[Prev in Thread] Current Thread [Next in Thread]