Re: spec files and TreeIter docs




On Nov 17, 2004, at 9:15 PM, Carl Nygard wrote:

On Wed, 2004-11-17 at 20:40, Ross McFarland wrote:
On Wed, 2004-11-17 at 19:22, Carl Nygard wrote:
Two questions:

Where are the docs for Gtk2::TreeIter?

this works for me:
        perldoc Gtk2::TreeIter

Not for me.  I've got perl-Gtk2-1.040-1  does that matter?

we've had these per-object manpages since about this time last year, so they should be in 1.04x.

installed from an RPM? if not, what version of the Glib module do you have?

by the way, 1.06x is nicer.  ;-)


How to get Makefile.PL to create a spec file, or do I have to do that
myself?  I just want to build an rpm easily.  Any clues?

the easiest thing to do is:
        perl Makefile.PL
        make dist-srpms
that should build a src rpm and put it in ~/rpms/ you can do whatever
you want from there. there's also a make dist-rpms target, but it can be
pretty flaky.

Also doesn't work.  grep rpm Makefile returns nothing.  grep dist
Makefile shows nothing related to rpms, just tarball distribs.

interesting.  i get this:

homie:~/src/gtk2-perl-xs/Gtk2-stable-1-04$ grep rpm Makefile
RPMS_DIR=$(HOME)/rpms
dist-rpms :: Makefile dist perl-$(DISTNAME).spec $(RPMS_DIR)/
rpmbuild -ba --define "_topdir $(RPMS_DIR)" perl-$(DISTNAME).spec
dist-srpms :: Makefile dist perl-$(DISTNAME).spec $(RPMS_DIR)/
rpmbuild -bs --nodeps --define "_topdir $(RPMS_DIR)" perl-$(DISTNAME).spec

(that's 1.043, but this wouldn't have changed from 1.040.)


Is there some secret I'm missing?  Even perldoc ExtUtils::MakeMaker
doesn't say anything about rpm files.

it wouldn't --- all of the rpm-related stuff is in Gtk2's Makefile, generated by Glib::MakeHelper.

--
Jolt is my co-pilot.
  -- Slogan on a giant paper airplane hung in Lobby 7 at MIT.
     http://hacks.mit.edu/




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