Commit Graph

2272 Commits

Author SHA1 Message Date
Jordan Sissel b22c299d95 - oops. 2011-05-18 01:24:37 -07:00
Jordan Sissel daa751c898 - version bump and add changelist 2011-05-18 01:23:55 -07:00
Jordan Sissel ea78fd34b9 - add changelist! 2011-05-18 01:22:45 -07:00
Jordan Sissel c5d218fcd4 - use DEBEMAIL and DEBFULLNAME from environment as the default
maintainer. https://github.com/jordansissel/fpm/issues/37
- remove some print statements that we don't need
2011-05-18 01:17:01 -07:00
Jordan Sissel 317c69f2bd - Add new flags for the python source:
--python-bin - path to the python binary you want to run
  --python-easyinstall - path to the easy_install script you want to use
  https://github.com/jordansissel/fpm/issues/38
2011-05-18 01:08:35 -07:00
Jordan Sissel 92fdaebdb6 - forgot to commit this. 2011-05-18 00:49:59 -07:00
Jordan Sissel b1ebf910c4 - move main program to FPM::Program
- support an ~/.fpmrc - the syntax of this file is one flag per line.
  This file is optional.
  https://github.com/jordansissel/fpm/issues/39
- Support --replaces (only .deb supports this right now, rpm seems to
  not).
2011-05-18 00:38:55 -07:00
Jordan Sissel 930efe974a Merge branch 'master' of github.com:jordansissel/fpm 2011-05-17 00:37:20 -07:00
Jordan Sissel 24c9bd9562 - add contributors and license file (License is MIT) 2011-05-17 00:30:34 -07:00
Jordan Sissel 6f72b32954 Merge pull request #34 from ahpook/jruby_rpm
Added functionality to build RPMS of jruby
2011-05-17 00:29:30 -07:00
Jordan Sissel 74db133090 version bump 2011-05-17 00:20:31 -07:00
Jordan Sissel 952ff93aff - Add general way for source plugins to add flags specific to that
plugin. For now, only 'gem' uses this.
- Add flag --gem-bin-path to install a gem's executables to a specific
  place. Some folks like /usr/bin, so, package puppet with bins there:
  * fpm -s gem -t deb --gem-bin-path /usr/bin puppet

  The original implementation for this bin-path flag was by lassizci.
  https://github.com/jordansissel/fpm/pull/27
2011-05-17 00:17:22 -07:00
Jordan Sissel f78f52110f version bump 2011-05-16 19:49:48 -07:00
Jordan Sissel 33f77bbab2 - sometimes 'install_requirements' can be None. 2011-05-16 19:49:21 -07:00
Jordan Sissel 62e5d3b948 - note python support 2011-05-16 19:03:00 -07:00
Jordan Sissel 219fe803e5 - fix path if relative 2011-05-16 18:55:16 -07:00
Jordan Sissel bac9ee1131 - support version-specific downloads for python 2011-05-16 18:52:46 -07:00
Jordan Sissel dd0e099354 - version bump for new python support 2011-05-16 18:34:23 -07:00
Jordan Sissel d06d8e3140 - fix dep regexp to permit package names without version conditions 2011-05-16 18:33:27 -07:00
Jordan Sissel 49d25fea59 Merge branch 'master' of github.com:jordansissel/fpm 2011-05-16 18:20:11 -07:00
Jordan Sissel aeb3d4c7e8 - Add python packaging support.
* Uses 'easy_install' to download packages from pypi.
  * You can also give the path to a setup.py to use if you already have
    the project locally.
  * Automatically chooses 'native' or 'all' arch depending on whether
    the python project has C extensions
2011-05-16 18:18:04 -07:00
Jordan Sissel b886ffb412 - ignore pyc 2011-05-16 18:15:17 -07:00
Jordan Sissel 4f1903aebb Merge pull request #35 from MichaelBlume/patch-1
fix typo in options output
2011-05-16 14:53:58 -07:00
Michael Blume 5176409429 fix typo in options output 2011-05-16 13:59:46 -07:00
Eric Sorenson 407cc4b785 Added functionality to build RPMS of jruby
Left deb as default but now you can 'make rpm' if that's your kink.
Wurks gud, (though your jdk dependency may vary):

[eric@leterel ~/fpm/jruby]$ rpm -q --requires -p jruby-1.6.1.noarch.rpm
jdk >= 1.6.0
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[eric@leterel ~/fpm/jruby]$ sudo rpm -Uvh ./jruby-1.6.1.noarch.rpm
Preparing...                ########################################### [100%]
   1:jruby                  ########################################### [100%]
[eric@leterel ~/fpm/jruby]$ /opt/jruby/bin/jruby -e 'puts "hello world"'
hello world
2011-05-16 13:05:55 -07:00
Jordan Sissel ee75b7ae90 - version bump (issue/33) 2011-05-16 00:19:48 -07:00
Jordan Sissel f1b1799d48 - default version comparison should be >=0, as '>0' is deprecated.
https://github.com/jordansissel/fpm/issues/33
2011-05-16 00:18:38 -07:00
Jordan Sissel b00d1b42b1 - moved to lib/rpm/... 2011-05-14 00:50:16 -07:00
Jordan Sissel b3ebc06ff5 - factor out the rpm bits into separate class files
- include all known rpm 'tag' types
2011-05-14 00:49:46 -07:00
Jordan Sissel 0bba7d7955 - reading max-rpm internals shows more than the code review does. Win. 2011-05-13 17:11:47 -07:00
Jordan Sissel 22a2cae6d7 - more futile attempts at reverse-engineering the rpm format. 2011-05-13 03:41:57 -07:00
Jordan Sissel 7be13ff2c8 - more hackery. I'm still missing lots of tags from the header, so
something's borked.
2011-05-13 02:57:19 -07:00
Jordan Sissel 3602fdc8ea - start working on signature fetching 2011-05-13 01:03:56 -07:00
Jordan Sissel 4ea98be9f9 - fix packing/unpacking - A vs a (a uses nulls, A spaces) 2011-05-12 22:08:30 -07:00
Jordan Sissel 10cdbc31e4 - start hacking at rpm files with pure ruby. 2011-05-12 21:57:57 -07:00
Jordan Sissel 1a2d3369d0 - Refactor architecture selection.
Unless specified, the arch is selected automatically.
  The default arch is "native"

  Also support "native" and "all" strings which are converted to the
  appropriate values for the target packages.
    "all" will become "noarch" for rpms (stays as 'all' for deb)
    "native" will become amd64 or i386 for deb (or other)
    "native" will become the output of 'uname -m' for rpm.

  If the source is a gem, and the gem has no extensions (ruby C code),
  default to "all". If it has C extensions (like eventmachine and
  sqlite3 gems), then the arch defaults to "native"

  This resolves:
  https://github.com/jordansissel/fpm/pull/29
  https://github.com/jordansissel/fpm/issues/25
  https://github.com/jordansissel/fpm/issues/14
2011-05-12 21:20:25 -07:00
Jordan Sissel a8be482afa - move rpm multiline-description fix to just the rpm template 2011-05-11 15:52:59 -07:00
Jordan Sissel 3c803c9eda Merge branch 'master' of github.com:jordansissel/fpm 2011-05-11 15:49:32 -07:00
Jordan Sissel 0a91865593 Merge pull request #32 from asenchi/master
This add --url as a command line option.
2011-05-11 15:49:20 -07:00
Jordan Sissel 42c0bfbcb2 - add TODO 2011-05-11 15:49:08 -07:00
Curt Micol d9bb28db22 Remove superfluous url accessor. 2011-05-11 11:56:21 -04:00
Curt Micol c7078b2967 Adds --url as a command line option. 2011-05-11 11:47:05 -04:00
Jordan Sissel 246a9c23b0 - if the description is multiple lines, only use the first line for the
'summary' in the rpm
2011-05-10 18:10:11 -07:00
Jordan Sissel 542903b83c Merge pull request #30 from sabowski/desc_remove_empty_lines
Check for empty lines in the description field
2011-05-07 00:31:13 -07:00
sabowski fbc585d3bf Check for empty lines in the description field
The description field cannot contain empty lines in a debian control
file. Adds " ." to empty lines. Also removes double printing of the
description in the control file.
2011-05-06 23:49:11 -07:00
Jordan Sissel 192f889334 version bump 2011-05-06 14:31:42 -07:00
Jordan Sissel a1a79ace51 Merge pull request #28 from sabowski/req_ver_parsing
Correctly parse gem requirement with both upper and lower bounds for rpms created from gems
2011-05-06 14:15:58 -07:00
sabowski 478bf03e3b Correctly parse gem requirement with both upper and lower bounds for
rpms created from gems
2011-05-06 13:59:19 -07:00
Jordan Sissel f12b620ca7 - version bump for maintainer script support 2011-05-05 00:06:50 -07:00
Jordan Sissel 00aed80a74 - Refactor maintainer script support.
Supports {pre,post}{install,uninstall} tasks in deb and rpm now.

maintainers scripts are now supported. However, the interface is
likely to change in the future. I want to make a universal maintainer
script format that allows you to use the same exact script in an rpm
and in a deb package.

See https://github.com/jordansissel/fpm/issues/18
2011-05-05 00:02:27 -07:00