meego-developer-tools:spectacle.git
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

6 years agoBMC#15643: *.desktop in subpkg cannot trigger auto-handling
JF Ding [Mon, 11 Apr 2011 23:56:21 +0000 (07:56 +0800)]
BMC#15643: *.desktop in subpkg cannot trigger auto-handling

The desktop file installation should be valid for all packages, whenever
any packages, the main and subs, contain them.

6 years agoa couple of warning fixes
Anas Nashif [Thu, 31 Mar 2011 05:32:12 +0000 (06:32 +0100)]
a couple of warning fixes

6 years agoBuild: Install python code to DESTDIR 4
Jon Nordby [Sat, 12 Mar 2011 18:36:39 +0000 (18:36 +0000)]
Build: Install python code to DESTDIR

Obeying DESTDIR is important for distribution packagers
so they can install all files into the packaging root directory.

6 years agoBuild: Use PYTHON envvar if set.
Jon Nordby [Sat, 12 Mar 2011 18:32:01 +0000 (18:32 +0000)]
Build: Use PYTHON envvar if set.

Allows the user/packager to select which Python version to use.
Fixes build on distributions where Python 3 is the default python for
instance.

6 years agoappend lost file for testsuites
JF Ding [Fri, 11 Mar 2011 13:19:33 +0000 (21:19 +0800)]
append lost file for testsuites

6 years agoclearer errmsg for reserved spec sections for lost subpkgs
JF Ding [Fri, 11 Mar 2011 13:17:00 +0000 (21:17 +0800)]
clearer errmsg for reserved spec sections for lost subpkgs

6 years agobump version to 0.22 0.22
JF Ding [Fri, 25 Feb 2011 06:40:15 +0000 (14:40 +0800)]
bump version to 0.22

6 years agoupdate README
JF Ding [Fri, 25 Feb 2011 06:39:10 +0000 (14:39 +0800)]
update README

6 years agoupdate testsuites according recent changes
JF Ding [Tue, 22 Feb 2011 03:52:38 +0000 (11:52 +0800)]
update testsuites according recent changes

6 years agomore clear msg for error "Description"
JF Ding [Tue, 22 Feb 2011 03:50:29 +0000 (11:50 +0800)]
more clear msg for error "Description"

6 years agoadd 'NoIconCache' key to disable ops explicitly
JF Ding [Tue, 22 Feb 2011 03:12:33 +0000 (11:12 +0800)]
add 'NoIconCache' key to disable ops explicitly

if using:
NoIconCache: yes

the generated spec will not insert gtk-update-icon-cache releated stuff

6 years agoFix BMC#12975: need not gtk-update-icon-cache for Qt based pkg
JF Ding [Thu, 17 Feb 2011 11:04:17 +0000 (19:04 +0800)]
Fix BMC#12975: need not gtk-update-icon-cache for Qt based pkg

and will insert "Requires(post): gtk2" to spec

6 years agoFix BMC#12494: update pkgconfig-provides.csv
JF Ding [Thu, 17 Feb 2011 08:29:44 +0000 (16:29 +0800)]
Fix BMC#12494: update pkgconfig-provides.csv

with latest repodata, using the following simple script:

    from lxml import etree as et
    import re

    lines=[]
    for pkg in et.parse(file('fs.xml')).getroot():
        name = pkg.get('name')
        for ff in pkg:
            if ff.tag == '{%s}file' % ff.nsmap.popitem()[1]:
                m = re.match('.*/pkgconfig/.*?([^/]*)\.pc$', ff.text)
                if m:
                    lines.append('%s,pkgconfig(%s)' % (name, m.group(1)))
    print '\n'.join(sorted(lines))

repodata are from oss/ia32 + non-oss/ia32 + oss/arm + non-oss/arm daily
snapshot repos

6 years agoFix BMC#12248, BMC#12111: udpate valid GROUPS according guideline
JF Ding [Wed, 16 Feb 2011 11:10:17 +0000 (19:10 +0800)]
Fix BMC#12248, BMC#12111: udpate valid GROUPS according guideline

http://wiki.meego.com/Packaging/Guidelines#Domain.2FSubsystem_based_RPM_Groups

6 years agoFix BMC#11661: more generic services files matching
JF Ding [Wed, 16 Feb 2011 10:33:23 +0000 (18:33 +0800)]
Fix BMC#11661: more generic services files matching

6 years agoFix BMC#12725: Description should be mandatory and stricter check
JF Ding [Wed, 16 Feb 2011 10:08:11 +0000 (18:08 +0800)]
Fix BMC#12725: Description should be mandatory and stricter check

if Description is ${Summary} or equal to Summary content, regard as
errors

6 years agoFix BMC#12720: crash with empty %files section in .spec
JF Ding [Wed, 16 Feb 2011 09:55:30 +0000 (17:55 +0800)]
Fix BMC#12720: crash with empty %files section in .spec