Package: popt Version: 1.13 Revision: 1 BuildDependsOnly: True Maintainer: Victor Ganata DescPort: << NOTE: This release has not been sanctioned by the Fink Project << #Source: ftp://jbj.org/pub/rpm-4.4.x/%n-%v.tar.gz Source: http://rpm5.org/files/%n/%n-%v.tar.gz Source-MD5: b5c47ce0185c83f947953c77000533bf Depends: %N-shlibs (= %v-%r) BuildDepends: libgettext3-dev, gettext-bin (>= 0.14.5-1), gettext-tools (>= 0.14.5-1), libiconv-dev, automake1.9, autoconf (>= 2.60-1), libtool14 SetLDFLAGS: -no-undefined -lintl PatchScript: << #!/bin/sh -ev autoreconf -i -f # Change gettext catalog name popt => popt1 perl -pi -e 's,popt.pot,popt1.pot,g' Makefile* perl -pi -e 's,PACKAGE=popt,PACKAGE=popt1,g' configure perl -pi -e 's,Project-Id-Version: popt,Project-Id-Version: popt1,g' po/*.po perl -pi -e 's,\"popt\",\"popt1\",g' poptint.h mv %b/po/popt.pot %b/po/popt1.pot << ConfigureParams: --mandir=%p/share/man --with-libintl-prefix=%p --with-libiconv-prefix=%p InstallScript: make install DESTDIR=%d SplitOff: << Package: %N-shlibs Depends: libgettext3-shlibs, libiconv Replaces: %N (<= 1.6.2-1) Files: << lib/libpopt.*.dylib share/locale << Shlibs: << %p/lib/libpopt.0.dylib 1.0.0 %n (>= 1.6.4-1) << DocFiles: README COPYING CHANGES << DocFiles: README COPYING CHANGES Description: Library for parsing command line options DescPackaging: << 2005-02-09: Locale files have been versioned (%p/share/local/*/LC_MESSAGES/popt1.mo) and moved into the popt-shlibs package to allow for installation of future major versions of popt. << DescUsage: << Packages using glib should try to migrate to GOption instead of popt. See: http://live.gnome.org/GnomeGoals/PoptGOption << License: BSD