meego-developer-tools:spectacle.git
5 years agoPrepare for 0.25 release. 0.25
Marko Saukko [Mon, 2 Jul 2012 13:20:31 +0000 (16:20 +0300)]
Prepare for 0.25 release.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoRemove the check for Makefile for packaging-tools Fixes MER#388.
Marko Saukko [Mon, 2 Jul 2012 12:37:01 +0000 (15:37 +0300)]
Remove the check for Makefile for packaging-tools Fixes MER#388.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdded test case for LocaleFilesPkgName key.
Marko Saukko [Mon, 2 Jul 2012 12:15:09 +0000 (15:15 +0300)]
Added test case for LocaleFilesPkgName key.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdded LocaleFilesPkgName so users can change the package which the locale
Marko Saukko [Mon, 2 Jul 2012 12:13:32 +0000 (15:13 +0300)]
Added LocaleFilesPkgName so users can change the package which the locale
files are put. Fixes MER#402.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdded test for LocaleName key.
Marko Saukko [Mon, 2 Jul 2012 11:46:34 +0000 (14:46 +0300)]
Added test for LocaleName key.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoUnify the locale code in tmpl, by checking the LocaleName and intltool earlier.
Marko Saukko [Mon, 2 Jul 2012 11:45:21 +0000 (14:45 +0300)]
Unify the locale code in tmpl, by checking the LocaleName and intltool earlier.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdded config file and possibility to change the default answer of
Marko Saukko [Mon, 2 Jul 2012 11:08:31 +0000 (14:08 +0300)]
Added config file and possibility to change the default answer of
Q: Please upgrade your spectacle, continue?(Y/n)
This is part of the fix for MER#192.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoSummary should not end with a dot (MER#383).
Marko Saukko [Mon, 25 Jun 2012 11:33:36 +0000 (14:33 +0300)]
Summary should not end with a dot (MER#383).

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoFix typo.
Marko Saukko [Mon, 25 Jun 2012 11:29:17 +0000 (14:29 +0300)]
Fix typo.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdd URL to warning.
Marko Saukko [Thu, 7 Jun 2012 06:21:31 +0000 (09:21 +0300)]
Add URL to warning.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoWarn if there is already directory with same name present when trying to download...
Marko Saukko [Thu, 7 Jun 2012 06:19:46 +0000 (09:19 +0300)]
Warn if there is already directory with same name present when trying to download source tarball.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoIf the file is not available remove the created 0 size file. Fixes BMC#15189
Marko Saukko [Thu, 7 Jun 2012 06:15:10 +0000 (09:15 +0300)]
If the file is not available remove the created 0 size file. Fixes BMC#15189

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoWhen updating a package the default systemd behaviour should not be stopping the...
Marko Saukko [Wed, 6 Jun 2012 10:09:14 +0000 (13:09 +0300)]
When updating a package the default systemd behaviour should not be stopping the service first.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoStart 0.25 development.
Marko Saukko [Wed, 6 Jun 2012 09:57:30 +0000 (12:57 +0300)]
Start 0.25 development.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoPrepare for version 0.24.1. 0.24.1
Marko Saukko [Tue, 5 Jun 2012 12:35:53 +0000 (15:35 +0300)]
Prepare for version 0.24.1.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoThis test has been hanging around for a while and the actual functionality has been...
Marko Saukko [Tue, 29 May 2012 15:37:49 +0000 (18:37 +0300)]
This test has been hanging around for a while and the actual functionality has been there quite some time already.. so assuming that the test is ok.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoBuildRequires doesn't support paths to files if not explicitly told with Provides.
Marko Saukko [Tue, 29 May 2012 15:26:10 +0000 (18:26 +0300)]
BuildRequires doesn't support paths to files if not explicitly told with Provides.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoPrepare for 0.24 release. 0.24
Marko Saukko [Mon, 21 May 2012 10:28:38 +0000 (13:28 +0300)]
Prepare for 0.24 release.

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdd Marko to AUTHORS
Marko Saukko [Mon, 21 May 2012 10:27:52 +0000 (13:27 +0300)]
Add Marko to AUTHORS

Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
5 years agoAdded test case for autosubpackages key. 6
Marko Saukko [Tue, 28 Feb 2012 07:41:27 +0000 (09:41 +0200)]
Added test case for autosubpackages key.

5 years agoFix auto depend value.
Marko Saukko [Tue, 28 Feb 2012 07:40:54 +0000 (09:40 +0200)]
Fix auto depend value.

5 years agoHandle AutoSubPackages as any other SubPackage and add more templates for different...
Marko Saukko [Mon, 27 Feb 2012 16:08:21 +0000 (18:08 +0200)]
Handle AutoSubPackages as any other SubPackage and add more templates for different types of autosubpackages.

5 years agoAdd test cases for key macros and macros2.
Marko Saukko [Fri, 24 Feb 2012 13:05:01 +0000 (15:05 +0200)]
Add test cases for key macros and macros2.

5 years agoIgnore some more tmp files.
Marko Saukko [Fri, 24 Feb 2012 12:57:59 +0000 (14:57 +0200)]
Ignore some more tmp files.

5 years agoFilter git tags ending with ^{} out when using SCM.
Marko Saukko [Fri, 24 Feb 2012 12:54:53 +0000 (14:54 +0200)]
Filter git tags ending with ^{} out when using SCM.

5 years agoFix pholder_preun testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:59:43 +0000 (13:59 +0200)]
Fix pholder_preun testcase against current code.

5 years agoFix pholder_pre testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:59:23 +0000 (13:59 +0200)]
Fix pholder_pre testcase against current code.

5 years agoFix pholder_postun testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:59:02 +0000 (13:59 +0200)]
Fix pholder_postun testcase against current code.

5 years agoFix namespace_qmakeoptions testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:58:30 +0000 (13:58 +0200)]
Fix namespace_qmakeoptions testcase against current code.

5 years agoFix key_updatedesktopdb testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:58:02 +0000 (13:58 +0200)]
Fix key_updatedesktopdb testcase against current code.

5 years agoFix key_supportotherdistros testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:57:31 +0000 (13:57 +0200)]
Fix key_supportotherdistros testcase against current code.

5 years agoFix test_key_runfdupes testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:56:51 +0000 (13:56 +0200)]
Fix test_key_runfdupes testcase against current code.

5 years agoFix key_qmakeoptions_multidistros testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:55:54 +0000 (13:55 +0200)]
Fix key_qmakeoptions_multidistros testcase against current code.

5 years agoFix key_localeopts_without_localename testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:54:58 +0000 (13:54 +0200)]
Fix key_localeopts_without_localename testcase against current code.

5 years agoFix key_check testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:54:26 +0000 (13:54 +0200)]
Fix key_check testcase against current code.

5 years agoFix key_aswholename testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:53:46 +0000 (13:53 +0200)]
Fix key_aswholename testcase against current code.

5 years agoFix filesparsing_systemd testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:52:53 +0000 (13:52 +0200)]
Fix filesparsing_systemd testcase against current code.

5 years agoFix filesparsing_sharelib testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:51:02 +0000 (13:51 +0200)]
Fix filesparsing_sharelib testcase against current code.

5 years agoFix filesparsing_preserve_versioned_ones testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:50:12 +0000 (13:50 +0200)]
Fix filesparsing_preserve_versioned_ones testcase against current code.

5 years agoFix filesparsing_info testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:48:56 +0000 (13:48 +0200)]
Fix filesparsing_info testcase against current code.

5 years agoFix filesparsing_desktop testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:48:08 +0000 (13:48 +0200)]
Fix filesparsing_desktop testcase against current code.

5 years agoFix duplicate_autoreqs testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:47:31 +0000 (13:47 +0200)]
Fix duplicate_autoreqs testcase against current code.

5 years agoFix checking_renamed_keys testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:46:49 +0000 (13:46 +0200)]
Fix checking_renamed_keys testcase against current code.

5 years agoFix checking_pathmacro_proposals testcase against current code.
Marko Saukko [Fri, 24 Feb 2012 11:45:54 +0000 (13:45 +0200)]
Fix checking_pathmacro_proposals testcase against current code.

5 years agoFix builder_qmake_multidistros against current code.
Marko Saukko [Fri, 24 Feb 2012 11:44:58 +0000 (13:44 +0200)]
Fix builder_qmake_multidistros against current code.

5 years agoFix autolocale_intltool against current code.
Marko Saukko [Fri, 24 Feb 2012 11:41:32 +0000 (13:41 +0200)]
Fix autolocale_intltool against current code.

5 years agoMore empty line fixes.
Marko Saukko [Fri, 24 Feb 2012 11:40:48 +0000 (13:40 +0200)]
More empty line fixes.

5 years agoFix builder_python testcase against latest code.
Marko Saukko [Fri, 24 Feb 2012 11:23:06 +0000 (13:23 +0200)]
Fix builder_python testcase against latest code.

5 years agoFix autolocale_intltool testcase against latest code.
Marko Saukko [Fri, 24 Feb 2012 11:21:17 +0000 (13:21 +0200)]
Fix autolocale_intltool testcase against latest code.

5 years agoFix checking_ignored_configure testcase.
Marko Saukko [Fri, 24 Feb 2012 11:20:08 +0000 (13:20 +0200)]
Fix checking_ignored_configure testcase.

5 years agoFix key_localeopts_without_localename testcase.
Marko Saukko [Fri, 24 Feb 2012 10:37:00 +0000 (12:37 +0200)]
Fix key_localeopts_without_localename testcase.

5 years agoFix key_updatedesktopdb testcase.
Marko Saukko [Fri, 24 Feb 2012 10:30:51 +0000 (12:30 +0200)]
Fix key_updatedesktopdb testcase.

5 years agoFix pholder_preun testcase.
Marko Saukko [Fri, 24 Feb 2012 10:28:43 +0000 (12:28 +0200)]
Fix pholder_preun testcase.

5 years agoRequire the binaries used not the package names.
Marko Saukko [Fri, 24 Feb 2012 10:13:58 +0000 (12:13 +0200)]
Require the binaries used not the package names.

5 years agoAdd some SCM and Archive documentation.
Marko Saukko [Fri, 24 Feb 2012 09:48:14 +0000 (11:48 +0200)]
Add some SCM and Archive documentation.

5 years agoAdded xz Archive key option.
Marko Saukko [Fri, 24 Feb 2012 09:39:51 +0000 (11:39 +0200)]
Added xz Archive key option.

5 years agoAdded comments.
Marko Saukko [Fri, 24 Feb 2012 09:24:07 +0000 (11:24 +0200)]
Added comments.

5 years agoSome cleanups for documentation.
Marko Saukko [Thu, 23 Feb 2012 14:42:05 +0000 (16:42 +0200)]
Some cleanups for documentation.

5 years agoAdded Macros2 for adding macros before %prep section in .spec.
Marko Saukko [Thu, 23 Feb 2012 14:34:14 +0000 (16:34 +0200)]
Added Macros2 for adding macros before %prep section in .spec.

5 years agoMove Name above the # >> macros in .spec.
Marko Saukko [Thu, 23 Feb 2012 14:00:06 +0000 (16:00 +0200)]
Move Name above the # >> macros in .spec.

5 years agoAdded Macros support for yaml.
Marko Saukko [Wed, 22 Feb 2012 16:12:10 +0000 (18:12 +0200)]
Added Macros support for yaml.

5 years agoAdd possibility to disable automatic systemd service file loading and dependencies.
Marko Saukko [Wed, 22 Feb 2012 15:40:58 +0000 (17:40 +0200)]
Add possibility to disable automatic systemd service file loading and dependencies.

5 years agoRename NewService to SystemdService.
Marko Saukko [Wed, 22 Feb 2012 15:33:35 +0000 (17:33 +0200)]
Rename NewService to SystemdService.

5 years agoRemove some extra empty lines between sections.
Marko Saukko [Wed, 22 Feb 2012 14:54:52 +0000 (16:54 +0200)]
Remove some extra empty lines between sections.

5 years agoChange version to 0.24~git for development.
Marko Saukko [Wed, 22 Feb 2012 14:39:55 +0000 (16:39 +0200)]
Change version to 0.24~git for development.

5 years agoIn mer usbutils-devel package was introduced to reduce the footprint.
Marko Saukko [Mon, 30 Jan 2012 07:09:39 +0000 (09:09 +0200)]
In mer usbutils-devel package was introduced to reduce the footprint.

5 years agobump version to 0.23 0.23
JF Ding [Mon, 10 Oct 2011 10:01:53 +0000 (18:01 +0800)]
bump version to 0.23

5 years agoupdate document files
JF Ding [Mon, 10 Oct 2011 10:00:20 +0000 (18:00 +0800)]
update document files

5 years agoupdate setup.py
JF Ding [Mon, 10 Oct 2011 09:53:22 +0000 (17:53 +0800)]
update setup.py

5 years agoMerge branch 'merge-requests/5'
JF Ding [Mon, 10 Oct 2011 09:46:04 +0000 (17:46 +0800)]
Merge branch 'merge-requests/5'

5 years agotypo in data/GROUPS
JF Ding [Fri, 7 Oct 2011 12:35:14 +0000 (20:35 +0800)]
typo in data/GROUPS

5 years agoBMC#23539: more precise req for Icon %post handling
JF Ding [Fri, 7 Oct 2011 11:36:36 +0000 (19:36 +0800)]
BMC#23539: more precise req for Icon %post handling

6 years agoremoved what looks like dead code, as it it duplicate 5
Olev Kartau [Wed, 24 Aug 2011 09:55:49 +0000 (12:55 +0300)]
removed what looks like dead code, as it it duplicate
case in if-else chain

6 years agoIn case of builder set to cmake, emit "BuildRequires: cmake"
Olev Kartau [Wed, 24 Aug 2011 09:27:40 +0000 (12:27 +0300)]
In case of builder set to cmake, emit "BuildRequires:  cmake"
without need to write it in yaml file. Fixes meego bug #15768

6 years agouse %cmake instead of make;
Olev Kartau [Tue, 23 Aug 2011 12:28:39 +0000 (15:28 +0300)]
use %cmake instead of make;
do not create specific meego-build directory to have out-of-source build

6 years agodeb2spectacle: generate filelist for sub-packages
Zhang Qiang [Thu, 4 Aug 2011 02:16:23 +0000 (10:16 +0800)]
deb2spectacle: generate filelist for sub-packages

Parse *.install file, and generate filelist for subpackages.

6 years agospec2spectacle: Ignore os and arch dependency
Zhang Qiang [Thu, 4 Aug 2011 02:08:45 +0000 (10:08 +0800)]
spec2spectacle: Ignore os and arch dependency

os and architecture dependencies are not support, so just ignore them
and maintainer can add manually.

example:
Control file dependency:
  Build-Depends: libselinux-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386] (>=1.1)
which can be transfered to spec dependency:
  BuildRequires:libselinux-dev>=1.1

6 years agodeb2spectacle:More fixes while generating YAML file
Zhang Qiang [Mon, 25 Jul 2011 03:05:31 +0000 (11:05 +0800)]
deb2spectacle:More fixes while generating YAML file

Add one more deb special varable: 'python:Provides'
Add 'Sources' field in main packages, wich could also help to generate
'%setup' macro in %prep section
Split out formal version for 'Verison' field.

6 years agodeb2spectacle:drop more deb field and fix type error
Zhang Qiang [Thu, 21 Jul 2011 08:52:02 +0000 (16:52 +0800)]
deb2spectacle:drop more deb field and fix type error

Ignore one more deb field 'Vcs-Bzr'. And change the value type of
'AsWholeName' as string, without this fix, subpackage can't be generated
out.

6 years agoBMC#18173: Added error checks for placeholders validity in spec file
Kalle Lampila [Fri, 11 Feb 2011 14:40:54 +0000 (16:40 +0200)]
BMC#18173: Added error checks for placeholders validity in spec file

check section start and stop correspondence
check sections not overlapping
check there is not duplicate sections
check there is not unknown section

Signed-off-by: Kalle Lampila <kalle.lampila@cybercom.com>
6 years agoavoid crash when unavailable subpkg placeholders in spec
JF Ding [Mon, 20 Jun 2011 09:33:17 +0000 (17:33 +0800)]
avoid crash when unavailable subpkg placeholders in spec

6 years agotestsuites: new case for systemd support
JF Ding [Mon, 20 Jun 2011 09:13:33 +0000 (17:13 +0800)]
testsuites: new case for systemd support

6 years agotestsuites: new case for path macros proposals
JF Ding [Mon, 20 Jun 2011 09:07:45 +0000 (17:07 +0800)]
testsuites: new case for path macros proposals

6 years agotestsuites: new case for arch prefix for 'Files'
JF Ding [Mon, 20 Jun 2011 08:54:30 +0000 (16:54 +0800)]
testsuites: new case for arch prefix for 'Files'

6 years agotestsuites: update output checking according recent changes
JF Ding [Mon, 20 Jun 2011 08:53:16 +0000 (16:53 +0800)]
testsuites: update output checking according recent changes

6 years agoBMC#17388: FEA, support auto %post* scripts for systemd services
JF Ding [Sun, 5 Jun 2011 11:25:46 +0000 (19:25 +0800)]
BMC#17388: FEA, support auto %post* scripts for systemd services

insert auto scripts for sections:
%post
systemctl daemon-reload
systemctl reload-or-try-restart ###.service

%postun
systemctl daemon-reload

%preun
systemctl stop ###.service

6 years agoauto requires for systemd service
JF Ding [Sun, 5 Jun 2011 10:48:34 +0000 (18:48 +0800)]
auto requires for systemd service

Requires: systemd
Requires(post):   systemd
Requires(preun):  systemd
Requires(postun): systemd

for part of feature request of BMC#17388

6 years agomore file path rpm macros supported
JF Ding [Sun, 5 Jun 2011 09:48:38 +0000 (17:48 +0800)]
more file path rpm macros supported

6 years agoBMC#18226: FEA, suggest for %{_bindir} like macros
JF Ding [Sun, 5 Jun 2011 09:26:57 +0000 (17:26 +0800)]
BMC#18226: FEA, suggest for %{_bindir} like macros

6 years agocleanup dead code for deprecated key Documents
JF Ding [Sun, 5 Jun 2011 08:39:10 +0000 (16:39 +0800)]
cleanup dead code for deprecated key Documents

6 years agodeb2spec: read binary Version from .dsc
JF Ding [Sun, 5 Jun 2011 08:24:23 +0000 (16:24 +0800)]
deb2spec: read binary Version from .dsc

6 years agodeb2spec: drop more debain only fields
JF Ding [Sat, 4 Jun 2011 11:00:36 +0000 (19:00 +0800)]
deb2spec: drop more debain only fields

6 years agounicode handling in dumper
JF Ding [Sat, 4 Jun 2011 10:49:29 +0000 (18:49 +0800)]
unicode handling in dumper

6 years agodeb2spec: convert the comparison in depends keys
JF Ding [Sat, 4 Jun 2011 06:32:01 +0000 (14:32 +0800)]
deb2spec: convert the comparison in depends keys

6 years agoput 'SCM' key in order in the output YAML
JF Ding [Sat, 4 Jun 2011 05:57:08 +0000 (13:57 +0800)]
put 'SCM' key in order in the output YAML

6 years agonew tool deb2spectacle added
JF Ding [Sat, 4 Jun 2011 05:51:57 +0000 (13:51 +0800)]
new tool deb2spectacle added

This new tool can be used to generate new YAML file based on the pkg
meta information from debian/control

6 years agoMerge remote branch 'merge/build-fixes'
JF Ding [Sun, 22 May 2011 13:58:02 +0000 (21:58 +0800)]
Merge remote branch 'merge/build-fixes'

6 years agosyntax
Anas Nashif [Sat, 16 Apr 2011 11:41:02 +0000 (12:41 +0100)]
syntax

6 years agoBMC#15752: FEA, arch specifying support for Files
JF Ding [Tue, 12 Apr 2011 00:40:47 +0000 (08:40 +0800)]
BMC#15752: FEA, arch specifying support for Files

6 years agoBMC#15013: squeeze out all empty values from list keys
JF Ding [Tue, 12 Apr 2011 00:21:53 +0000 (08:21 +0800)]
BMC#15013: squeeze out all empty values from list keys