Commit Graph

48 Commits

Author SHA1 Message Date
5af63af1b0 plugins/spec-create.in: cmake: use new macros since cmake 3.27.3-2mamba 2023-08-27 19:49:24 +02:00
a7972f338c plugins/spec-create: add LICENSES directory if present; templates/kde5: minor changes 2023-08-27 16:40:59 +02:00
21c14fc931 spec-create.in: fix settings BuildRequires: meson for meson 2023-08-19 19:40:54 +02:00
3277e4f7ee Update distribution references in some comments 2022-01-06 14:50:42 +01:00
1747b898a2 Removed obsolete templates for kde3 and kde4 2021-02-24 18:01:51 +01:00
0372675fbd spec-create.in: support for Meson 2019-11-02 16:04:09 +01:00
38a689e2de libnetwork.lib.in: git sources: simple support for checking out at a specific commit by supporting the syntax: --git-branch branch[@commit_id] 2019-10-27 15:18:42 +01:00
Davide Madrisan
970b29e4a1 Add a basic support for the KDE Framework 5 packages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-05-06 22:35:32 +02:00
Davide Madrisan
26856b5b71 spec-create: Honour the pck version set by the user for specs generated from git
specfile.create(): always execute 'git.create_tarball()' with the option
'--pck-version'. This way a user-provided package version will be used
instead of the default one.

This patch will permit to force a user defined package version when desired.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-20 21:00:14 +02:00
Davide Madrisan
0ae1946627 spec-create - remove unused code
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-19 21:41:49 +02:00
Davide Madrisan
93f2d120e9 spec-create: add support for tarballs with autogen.sh and no configure
Create a correct %build block in the specfile generated from tarballs
that do not provide any 'configure' script but only an 'autogen,sh' one.
Feature asked by Silvan Calarco.

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-18 22:26:15 +02:00
a7db8b7c72 templates/ghc: new template for ghc modules 2013-12-09 10:49:41 +01:00
38ccd4e178 spec-create: new options '--packager-fullname' and '--packager-email' 2013-11-07 22:45:44 +01: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
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
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
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
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
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
Davide Madrisan
6adc14a8a1 spec-create: Select makefile as build_techology when makefiles or GNUmalefiles are found, not only Makefiles
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-09 23:07:31 +02:00
Davide Madrisan
0594180470 libnetwork.lib: move code from spec-create to the new function git.create_tarball()
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-24 22:39:23 +02:00
Davide Madrisan
a360868bda sped-create: exist with error when git is required but cannot be found
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 21:00:46 +02:00
Davide Madrisan
1ccfb7faff sped-create: also support git URL starting by http:// and https://
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 20:40:33 +02:00
Davide Madrisan
4ec7565752 spec-create: add a "## GITSOURCE" comment when git is used
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 00:18:04 +02:00
Davide Madrisan
36fcfd24d6 spec-create: allow specfile creation from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-22 16:51:59 +02:00
Davide Madrisan
a662178d61 spec-create: add a build requirent for cmake and scons when required
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-25 23:46:01 +02:00
Davide Madrisan
e4ce9bf357 spec-create: preliminary support for scon
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-25 22:05:44 +02:00
Davide Madrisan
90f3996a3d spec-create: fix expansion of lines containing @configure@
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-22 01:05:56 +01:00
Davide Madrisan
ff13cc3031 spec-create,templates: add the %debug_package macro when required
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-06 23:13:44 +01:00
Davide Madrisan
3daac96b68 plugins,tools,tests,libs: use LC_ALL instead of LANG
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-02 21:16:48 +01:00
Davide Madrisan
0f71f389e3 spec-create, templates/library: support library packages with a name not starting by lib 2011-12-18 15:24:59 +01:00
Davide Madrisan
7ee4298afd spec-create: fix error message 2011-12-18 15:02:51 +01:00
Davide Madrisan
89e3325bea spec-create: support up to two nested @if/@else/@fi blocks in the templates 2011-12-18 14:18:35 +01:00
Davide Madrisan
1d2c39f52c spec-create, templates: move part of package documemtation to the devel package or add a comment if the devel package is not provided by the template. 2011-12-16 22:00:51 +01:00
Davide Madrisan
f49b9a4893 spec-create: support source packages with a makefile but no configure script 2011-12-16 14:07:29 +01:00
Silvan Calarco
aa237198c2 Initial commit 2011-04-26 21:39:44 +02:00