Commit Graph

113 Commits

Author SHA1 Message Date
bd287516e3 Merge branch 'master' of ssh://git.openmamba.org:4444/autospec 2013-12-09 10:50:36 +01:00
a7db8b7c72 templates/ghc: new template for ghc modules 2013-12-09 10:49:41 +01:00
Davide Madrisan
169fdd13f5 pck-update: package.generate_name(): return the correct value
when executed without the option '-p'.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-24 20:49:28 +01:00
Davide Madrisan
1b62dc674c autospec, pck-update: Update the copyleft messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-07 23:23:30 +01:00
38ccd4e178 spec-create: new options '--packager-fullname' and '--packager-email' 2013-11-07 22:45:44 +01:00
291f42297b pck-update: new options '--packager-fullname' and '--packager-email' 2013-11-07 22:45:02 +01:00
Davide Madrisan
e2d0437f60 pck-update: new function package.generate_name()
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-11-05 22:38:22 +01:00
eb1d352c92 pck-update: fix update of git urls starting with http:// and https://
Source URLs from git don't just end with '.git', btw they can be detected by searching for '.git/'
2013-08-04 22:32:56 +02:00
46ec87de31 pck-update: don't clone from git repository at every build is source with current version already exists 2013-08-04 22:23:50 +02:00
Davide Madrisan
5e8e99ecdc New autospec template ocaml-libs for OCaml libraries.
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 21:33:20 +02:00
b597848f6b pck-update: fix build requirements generation with multiple providers
When --whatprovides returns multiple requirements only consider the first one.
Seen with mono(..) requirements in monodevelop.
2013-07-17 14:32:17 +02:00
8b06b41b20 pck-update, libspec, libapse: support for a special specfile macro to disable scraping from specified sources
E.g.: enter the macro below in the specfile to disable scrape sources with indexes 0,2 and 4:
2013-06-05 00:23:06 +02:00
85d14ca35f pck-update: pass rpmbuild_opts to 'rpmbuild -bl' to fix unpackaged files list formatting with some configurations 2013-05-07 15:00:39 +02:00
Davide Madrisan
2f42c957ac Documentation: new target 'web': update italian manpage and the help messages of spec-create
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-03-04 22:19:53 +01:00
Davide Madrisan
88242edea8 spec-create: fix version detection of tarballs created via a git clone command
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-02-17 15:48:41 +01:00
ef3b9277ae spec-create: fix regexp to detect names starting with 'lib' (sample failing case: lilv) 2013-01-31 06:20:06 +01:00
26f2b6a93d pck-update: restore support for passing user parameters to rpm
This was apparently broken in commit 58edaf3373:
libspec: new function 'specfile.check_syntax()'
2013-01-04 16:56:05 +01:00
Davide Madrisan
58edaf3373 libspec: new function 'specfile.check_syntax()'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-08 23:32:54 +01:00
Davide Madrisan
88ce40667b config-getvar: update the help message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:24:51 +01:00
Davide Madrisan
6b8099f31d libtranslate.lib: new library
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:02:42 +01:00
Davide Madrisan
29e18765b6 autospec, plugins: rework the logic of the command-line options parser
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 23:21:06 +01:00
Davide Madrisan
288d828aaa translation framework: xgettext is buggy: use 'bash --dump-po-strings' instead and rework all the code
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 15:54:34 +01:00
Davide Madrisan
0e93767db4 plugins: do not ignore the 'color_scheme' set in the configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-24 00:11:27 +01:00
Davide Madrisan
5a00359a29 Point to the translation file autospec-all in all modules and libraries
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:45:02 +01:00
Davide Madrisan
13c66cf193 pck-update: do not ignore the option '--changelog' when the variable 'changelog_userdef' is defined in one of the configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-20 22:34:57 +01:00
Davide Madrisan
5774796d00 Makefile.env, Makefile's: add some variables to Makefiles.env and use them in the make targets 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 23:30:22 +01:00
Davide Madrisan
f525086f8b Makefile: new target 'pot-files'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 22:45:31 +01:00
Davide Madrisan
5008e884d4 libcfg.lib, config-getvar: option '-C|--config': accept a list of configuration files containing wilcards
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-15 22:55:31 +01:00
Davide Madrisan
343e644abe pck-update: fix a string translation by adding the missing '$' prefix
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-15 19:31:03 +01:00
Davide Madrisan
15f3575b2e autospec, plugins: add the option '-C|--config' for selecting a different user configuration file or list of user configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-14 22:42:08 +01:00
Davide Madrisan
a2056ba9d5 autospec, autospec.conf, plugins: replace the option '--colorize' by '--colors <color-theme>'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 18:56:52 +01:00
Davide Madrisan
0f301dc9fa all plugins: the option '--colorize-theme' must set colorize to '1'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 22:55:40 +01:00
Davide Madrisan
cd7d6b663d autospec,plugins,libraries: a color scheme can be selected now by using the new command-line option '--colorize-theme'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 15:47:12 +01:00
Davide Madrisan
b5a1a17876 plugins/*: Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled) to ignore color redefinitions made by user
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-09 22:57:36 +01:00
Davide Madrisan
8b6e2b2c50 config-getvar: update copyleft
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 20:33:11 +01:00
Davide Madrisan
45b6f0d61d pck-update: restore build requirement detection for *.so requirements
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 22:45:44 +01:00
Davide Madrisan
f929f20486 config-getvar: fix the help message (incorrect list of default files)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 22:24:08 +01:00
Davide Madrisan
15825d0a4b spec-create: new option '--changelog'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 21:26:51 +01:00
Davide Madrisan
941504de3c pck-update: add a warning message when a requirement is ignored
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-01 23:11:39 +01:00
Davide Madrisan
3716f5e0c2 pck-update: try to avoid reporting package requirements set with 'Requires:' as build requirements. Unless not better identified requirements are in 'a(b)' form don't report them as build requirements to avoid breaking stage1 builds and causing unneeded circular dependencies
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-01 22:27:12 +01:00
Davide Madrisan
f107a20bf8 libnetwork.lib; pck-update (action 3,5): improve the functions 'git.download()' and 'git.create_tarball()' by adding the option '--pck-version' and use it when calling 'git.download' in pck-update
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-30 23:17:59 +01:00
Davide Madrisan
80e22280fe pck-update (action 5): fix the package update from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-30 19:52:19 +01:00
Davide Madrisan
7cc90d2efb pck-update (action 3,5): preliminary support for source files updates from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-29 23:15:58 +01:00
Davide Madrisan
5d684cd01a pck-update: infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems when the URL contains the letter '&'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-16 21:44:17 +02:00
Davide Madrisan
ebc1fd88ad spec-create: modify the 'Source' tag by including a parsable git url
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-03 22:21:20 +02:00
Davide Madrisan
0a648b670e spec-create, lib/libnetwork.lib: add aupport for git branches in spec-create by adding the new options --git-branch and --preserve-dot-git
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-19 19:27:50 +02:00
Davide Madrisan
165e54e8d2 spec-create: document the creation of a specfile starting from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-09 20:11:13 +02:00
Stefano Cotta Ramusino
876146520e pck-update: action 3: generate right download URL after action 2
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
2012-07-04 03:44:14 +02:00
Davide Madrisan
b856cd2959 pck-update,libnetwork.lib: a package name can contain one or more undescores so add _ to the list of allowed characters
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-06-18 21:55:25 +02:00
Davide Madrisan
a14b989d3a pck-update (a4): allow a distribution-ID "upgrade" when updating the release number (example: 1mamba --> 2mamba2)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-29 23:20:59 +02:00