meego-developer-tools:spectacle.git
7 years agopump version to 0.16 for release 0.16
JF Ding [Thu, 22 Apr 2010 11:13:28 +0000 (19:13 +0800)]
pump version to 0.16 for release

7 years agotestsuites: add case for new key 'NoDesktop'
JF Ding [Thu, 22 Apr 2010 11:13:03 +0000 (19:13 +0800)]
testsuites: add case for new key 'NoDesktop'

7 years agospecify: new key 'NoDesktop' to skip desktop files
JF Ding [Thu, 22 Apr 2010 11:07:57 +0000 (19:07 +0800)]
specify: new key 'NoDesktop' to skip desktop files

7 years agoupdate README
JF Ding [Thu, 22 Apr 2010 05:19:56 +0000 (13:19 +0800)]
update README

7 years agosupport rpmlintrc ignore
Anas Nashif [Sun, 11 Apr 2010 18:17:28 +0000 (11:17 -0700)]
support rpmlintrc ignore

7 years agopump version to 0.15 0.15
JF Ding [Wed, 31 Mar 2010 09:24:38 +0000 (17:24 +0800)]
pump version to 0.15

7 years agotestsuite: cases for checking for setup keys
JF Ding [Wed, 31 Mar 2010 09:20:19 +0000 (17:20 +0800)]
testsuite: cases for checking for setup keys

7 years agodoc: update README for namespace supporting
JF Ding [Wed, 31 Mar 2010 09:15:44 +0000 (17:15 +0800)]
doc: update README for namespace supporting

7 years agochecking: no-effect combine of setup keys
JF Ding [Wed, 31 Mar 2010 09:00:45 +0000 (17:00 +0800)]
checking: no-effect combine of setup keys

'NoSetup', 'SetupOptions', 'SourcePrefix'

7 years agofixing of support ARCHs checking
JF Ding [Wed, 31 Mar 2010 08:11:53 +0000 (16:11 +0800)]
fixing of support ARCHs checking

7 years agospec2spec: various enhancement/cleanup of msg show
JF Ding [Wed, 31 Mar 2010 08:03:40 +0000 (16:03 +0800)]
spec2spec: various enhancement/cleanup of msg show

7 years agospecify: option --skip-scm to skip fetching from SCM
JF Ding [Tue, 30 Mar 2010 15:24:32 +0000 (23:24 +0800)]
specify: option --skip-scm to skip fetching from SCM

7 years agocatch yaml syntax errors when loading
JF Ding [Tue, 30 Mar 2010 14:49:40 +0000 (22:49 +0800)]
catch yaml syntax errors when loading

7 years agodecent quit when ^C pressed when asking input
JF Ding [Tue, 30 Mar 2010 14:43:56 +0000 (22:43 +0800)]
decent quit when ^C pressed when asking input

7 years agotestsuite: update and new cases for autoreqs handling
JF Ding [Tue, 30 Mar 2010 12:02:07 +0000 (20:02 +0800)]
testsuite: update and new cases for autoreqs handling

7 years agotmpl: remove auto requires handing from tmpl to python
JF Ding [Tue, 30 Mar 2010 11:50:54 +0000 (19:50 +0800)]
tmpl: remove auto requires handing from tmpl to python

for more compact code and duplicate checking

7 years agotestsuite: update for changes of desktop files handling
JF Ding [Tue, 30 Mar 2010 10:39:49 +0000 (18:39 +0800)]
testsuite: update for changes of desktop files handling

7 years agofiles: run update-desktop-db for desktop files in post/postun
JF Ding [Tue, 30 Mar 2010 10:37:47 +0000 (18:37 +0800)]
files: run update-desktop-db for desktop files in post/postun

7 years agofix: namespace disturb in pkgconfig proposals checking
JF Ding [Tue, 30 Mar 2010 09:25:33 +0000 (17:25 +0800)]
fix: namespace disturb in pkgconfig proposals checking

7 years agotestsuite: new cases for all arch namespace enabled keys
JF Ding [Tue, 30 Mar 2010 09:18:57 +0000 (17:18 +0800)]
testsuite: new cases for all arch namespace enabled keys

7 years agotestsuite: renamed several cases to follow the same rule
JF Ding [Tue, 30 Mar 2010 09:09:38 +0000 (17:09 +0800)]
testsuite: renamed several cases to follow the same rule

7 years agotmpl: add arch namespace support for Patches
JF Ding [Tue, 30 Mar 2010 08:52:32 +0000 (16:52 +0800)]
tmpl: add arch namespace support for Patches

7 years agotmpl: add arch namespace support to Requires of main/subpkgs
JF Ding [Tue, 30 Mar 2010 08:46:51 +0000 (16:46 +0800)]
tmpl: add arch namespace support to Requires of main/subpkgs

7 years agotmpl: rewrite arch namespace code for PkgBR/PkgConfigBR/ConfigOptions
JF Ding [Tue, 30 Mar 2010 08:40:19 +0000 (16:40 +0800)]
tmpl: rewrite arch namespace code for PkgBR/PkgConfigBR/ConfigOptions

7 years agospecify: add sanity checking for arch namespace
JF Ding [Tue, 30 Mar 2010 07:59:23 +0000 (15:59 +0800)]
specify: add sanity checking for arch namespace

7 years agobug: care about AsWholeName for subpkg pre/post(un)
JF Ding [Tue, 30 Mar 2010 04:26:27 +0000 (12:26 +0800)]
bug: care about AsWholeName for subpkg pre/post(un)

7 years agotmpl: add support for pre/preun/post/postun for subpkgs
JF Ding [Tue, 30 Mar 2010 04:15:46 +0000 (12:15 +0800)]
tmpl: add support for pre/preun/post/postun for subpkgs

7 years agospec2spec: check the input spec to avoid wrong convert
JF Ding [Mon, 29 Mar 2010 06:52:23 +0000 (14:52 +0800)]
spec2spec: check the input spec to avoid wrong convert

if the input spec is already a specified one, stop then

7 years agospec2spec: bug in parsing subpkg name in headers
JF Ding [Thu, 25 Mar 2010 08:54:14 +0000 (16:54 +0800)]
spec2spec: bug in parsing subpkg name in headers

7 years agospec2spec: tolorence for wrong subpkg specify
JF Ding [Thu, 25 Mar 2010 08:44:47 +0000 (16:44 +0800)]
spec2spec: tolorence for wrong subpkg specify

7 years agocorrect desktop files matching in files
JF Ding [Wed, 24 Mar 2010 07:16:41 +0000 (15:16 +0800)]
correct desktop files matching in files

7 years agomore precise match for share libs in files
JF Ding [Wed, 24 Mar 2010 06:09:26 +0000 (14:09 +0800)]
more precise match for share libs in files

only match:
/usr/lib/*.so*
/lib/*.so*

will not match
/usr/lib/abc/*.so*

7 years agochecking Files and Requires if NoFiles specified
JF Ding [Wed, 24 Mar 2010 05:57:55 +0000 (13:57 +0800)]
checking Files and Requires if NoFiles specified

7 years agonewkey: NoFiles, no %files for empty main package
JF Ding [Tue, 23 Mar 2010 09:17:15 +0000 (17:17 +0800)]
newkey: NoFiles, no %files for empty main package

7 years agospec2spec: bugs in parsing macro definitions
JF Ding [Mon, 22 Mar 2010 10:33:09 +0000 (18:33 +0800)]
spec2spec: bugs in parsing macro definitions

7 years agoMerge commit 'origin/master'
JF Ding [Mon, 22 Mar 2010 10:17:25 +0000 (18:17 +0800)]
Merge commit 'origin/master'

7 years agotmpl: %postun operation for Icons
JF Ding [Mon, 22 Mar 2010 10:12:54 +0000 (18:12 +0800)]
tmpl: %postun operation for Icons

7 years agoSupport namespaces for architectures and evtl. distributions
Anas Nashif [Mon, 22 Mar 2010 02:16:45 +0000 (19:16 -0700)]
Support namespaces for architectures and evtl. distributions

7 years agotestsuites: cases for auto locale searching 0.14
JF Ding [Thu, 18 Mar 2010 08:08:00 +0000 (16:08 +0800)]
testsuites: cases for auto locale searching

when 'intltool' in 'PkgBR', add find_lang automatically,
and 'NoAutoLocael' can suppress it.

7 years agorename 'NoLocale' to 'NoAutoLocale' to clarify the meaning
JF Ding [Thu, 18 Mar 2010 07:58:50 +0000 (15:58 +0800)]
rename 'NoLocale' to 'NoAutoLocale' to clarify the meaning

and the default value of this bool key is False now

7 years agopump version to 0.14
JF Ding [Wed, 17 Mar 2010 13:38:23 +0000 (21:38 +0800)]
pump version to 0.14

7 years agodoc: udpate README
JF Ding [Wed, 17 Mar 2010 13:37:25 +0000 (21:37 +0800)]
doc: udpate README

7 years agotestsuites: new case for empty keys checking
JF Ding [Wed, 17 Mar 2010 13:34:31 +0000 (21:34 +0800)]
testsuites: new case for empty keys checking

7 years agotestsuite: case for new %preun placeholder
JF Ding [Wed, 17 Mar 2010 13:33:00 +0000 (21:33 +0800)]
testsuite: case for new %preun placeholder

7 years agofix problem in %preun placeholder support
JF Ding [Wed, 17 Mar 2010 13:32:16 +0000 (21:32 +0800)]
fix problem in %preun placeholder support

7 years agotestsuites: update testing frame to cmp patched output
JF Ding [Wed, 17 Mar 2010 13:28:43 +0000 (21:28 +0800)]
testsuites: update testing frame to cmp patched output

By this, test cases will not affected by tmpl minor changes.

7 years agocleanup all boolean keys: exists status to present logic
JF Ding [Wed, 17 Mar 2010 12:42:28 +0000 (20:42 +0800)]
cleanup all boolean keys: exists status to present logic

Then, in templ, we can use "has_key" or not to present the logic value

7 years agospec2spec: add parsing for %preun and remanaged code
JF Ding [Wed, 17 Mar 2010 10:19:28 +0000 (18:19 +0800)]
spec2spec: add parsing for %preun and remanaged code

7 years agotmpl: add customized "%preun" script place holder
JF Ding [Wed, 17 Mar 2010 09:55:04 +0000 (17:55 +0800)]
tmpl: add customized "%preun" script place holder

7 years agospecify: sanity checking for empty keys
JF Ding [Wed, 17 Mar 2010 08:56:35 +0000 (16:56 +0800)]
specify: sanity checking for empty keys

7 years agospec2spec: more proper parsing for pkgconfig requires
JF Ding [Wed, 17 Mar 2010 08:46:11 +0000 (16:46 +0800)]
spec2spec: more proper parsing for pkgconfig requires

7 years agospec2spec: more proper handling for opts of headers
JF Ding [Wed, 17 Mar 2010 08:16:32 +0000 (16:16 +0800)]
spec2spec: more proper handling for opts of headers

7 years agospec2spec: bug in Requires parsing
JF Ding [Wed, 17 Mar 2010 04:00:58 +0000 (12:00 +0800)]
spec2spec: bug in Requires parsing

7 years agospec2spec: fix bug in handling '-n' subpkg name
JF Ding [Wed, 17 Mar 2010 03:36:00 +0000 (11:36 +0800)]
spec2spec: fix bug in handling '-n' subpkg name

7 years agoproper handling for bool keys dumping
JF Ding [Wed, 17 Mar 2010 02:57:18 +0000 (10:57 +0800)]
proper handling for bool keys dumping

7 years agospec2spec: add parsing for %pre/post/postun
JF Ding [Tue, 16 Mar 2010 10:55:25 +0000 (18:55 +0800)]
spec2spec: add parsing for %pre/post/postun

7 years agotestsuites: update cases according tmpl changes
JF Ding [Tue, 16 Mar 2010 10:43:23 +0000 (18:43 +0800)]
testsuites: update cases according tmpl changes

7 years agodoc: update README with new added spec placeholders
JF Ding [Tue, 16 Mar 2010 10:22:26 +0000 (18:22 +0800)]
doc: update README with new added spec placeholders

7 years agotestsuites: add cased for new 'postun/pre' place holders
JF Ding [Tue, 16 Mar 2010 10:09:47 +0000 (18:09 +0800)]
testsuites: add cased for new 'postun/pre' place holders

7 years agotmpl: add customized "%pre" script place holder
JF Ding [Tue, 16 Mar 2010 10:09:22 +0000 (18:09 +0800)]
tmpl: add customized "%pre" script place holder

7 years agotmpl: add customized "%postun" script place holder
JF Ding [Tue, 16 Mar 2010 09:54:34 +0000 (17:54 +0800)]
tmpl: add customized "%postun" script place holder

7 years agotestsuites: update cases related new 'Check' key
JF Ding [Tue, 16 Mar 2010 09:27:07 +0000 (17:27 +0800)]
testsuites: update cases related new 'Check' key

7 years agospec2spec: add support of %check convert
JF Ding [Tue, 16 Mar 2010 09:25:52 +0000 (17:25 +0800)]
spec2spec: add support of %check convert

7 years agorenamed 'NeedRunTests' to 'Check' and renamed 'check'
JF Ding [Tue, 16 Mar 2010 08:32:11 +0000 (16:32 +0800)]
renamed 'NeedRunTests' to 'Check' and renamed 'check'

in .spec, 'check_scriptlets' place holder renamed to 'check'
but remain compatibility for old spectified packages with them.

7 years agospec2spec: more precise parsing for PkgConfigBR
JF Ding [Mon, 15 Mar 2010 10:52:57 +0000 (18:52 +0800)]
spec2spec: more precise parsing for PkgConfigBR

7 years agotestsuites: update test cases with recent changes
JF Ding [Mon, 15 Mar 2010 10:33:17 +0000 (18:33 +0800)]
testsuites: update test cases with recent changes

because of trailing white spaces cleanup work

7 years agotestsuites: colored and clear output of wrong result
JF Ding [Mon, 15 Mar 2010 10:25:40 +0000 (18:25 +0800)]
testsuites: colored and clear output of wrong result

7 years agoupdate Makefile for more clean cleanup
JF Ding [Mon, 15 Mar 2010 09:16:53 +0000 (17:16 +0800)]
update Makefile for more clean cleanup

7 years agotestsuites: new case for renamed keys checking and
JF Ding [Mon, 15 Mar 2010 09:11:50 +0000 (17:11 +0800)]
testsuites: new case for renamed keys checking and

update case names for renamed keys

7 years agorename 'WholeName' to 'AsWholeName'
JF Ding [Mon, 15 Mar 2010 09:10:42 +0000 (17:10 +0800)]
rename 'WholeName' to 'AsWholeName'

7 years agotestsuite: case for key 'AutoDepend' and 'WholeName'
JF Ding [Mon, 15 Mar 2010 08:32:18 +0000 (16:32 +0800)]
testsuite: case for key 'AutoDepend' and 'WholeName'

7 years agonewkey: 'WholeName' for subpackages only
JF Ding [Mon, 15 Mar 2010 08:09:33 +0000 (16:09 +0800)]
newkey: 'WholeName' for subpackages only

when specified 'WholeName' for subpackage, its 'Name' will be used
as the whole package name, and .spec will get:
%package -n ``Name``

7 years agotestsuite: case for dropped key checking
JF Ding [Mon, 15 Mar 2010 07:55:01 +0000 (15:55 +0800)]
testsuite: case for dropped key checking

7 years agodropped 'PostScripts' key and checking for all dropped keys
JF Ding [Mon, 15 Mar 2010 07:43:58 +0000 (15:43 +0800)]
dropped 'PostScripts' key and checking for all dropped keys

by now, 'Documents', 'PostScripts' were deprecated, in the future
the related should be removed when all pkgs need not them.

7 years agofix problem in %post handle and update doc
JF Ding [Mon, 15 Mar 2010 07:31:54 +0000 (15:31 +0800)]
fix problem in %post handle and update doc

7 years agoFixed testsuite for fdupes
Anas Nashif [Sun, 14 Mar 2010 17:37:39 +0000 (10:37 -0700)]
Fixed testsuite for fdupes

7 years agoAdded custom post section, initial arch support
Anas Nashif [Sun, 14 Mar 2010 17:13:25 +0000 (10:13 -0700)]
Added custom post section, initial arch support

Support custom post section
add arch namespace to config options

7 years agoupdate Makefile with test support
JF Ding [Sun, 14 Mar 2010 15:22:30 +0000 (23:22 +0800)]
update Makefile with test support

7 years agounittest: add all the files for special unittest framework
JF Ding [Sun, 14 Mar 2010 15:21:05 +0000 (23:21 +0800)]
unittest: add all the files for special unittest framework

And the basic 38 specify test cases

7 years agoadd missing checking for key 'ExtraInstall'
JF Ding [Sun, 14 Mar 2010 15:11:40 +0000 (23:11 +0800)]
add missing checking for key 'ExtraInstall'

7 years agoupdate README for missing document
JF Ding [Sun, 14 Mar 2010 15:04:22 +0000 (23:04 +0800)]
update README for missing document

7 years agoadd missing checking for key 'FilesInput'
JF Ding [Sun, 14 Mar 2010 10:13:32 +0000 (18:13 +0800)]
add missing checking for key 'FilesInput'

7 years agospec2spec: add convert for ExclusiveArch tags
JF Ding [Sun, 14 Mar 2010 10:10:27 +0000 (18:10 +0800)]
spec2spec: add convert for ExclusiveArch tags

7 years agofixed: bug in $br_desktop handling in spec
JF Ding [Sun, 14 Mar 2010 10:08:09 +0000 (18:08 +0800)]
fixed: bug in $br_desktop handling in spec

7 years agoadded missing checking for key 'RunFdupes' and 'PostScripts'
JF Ding [Sun, 14 Mar 2010 09:45:31 +0000 (17:45 +0800)]
added missing checking for key 'RunFdupes' and 'PostScripts'

7 years agoadd duplicate checking for YAML 'Files' key
JF Ding [Sun, 14 Mar 2010 08:28:59 +0000 (16:28 +0800)]
add duplicate checking for YAML 'Files' key

7 years agofixed: bug in parsing filelist with 'Files' key
JF Ding [Sun, 14 Mar 2010 07:42:55 +0000 (15:42 +0800)]
fixed: bug in parsing filelist with 'Files' key

7 years agoMerge branch 'master' of git.moblin.org:spectacle
Anas Nashif [Sun, 7 Mar 2010 18:01:05 +0000 (10:01 -0800)]
Merge branch 'master' of git.moblin.org:spectacle

7 years agoVarious fixes
Anas Nashif [Sun, 7 Mar 2010 18:00:25 +0000 (10:00 -0800)]
Various fixes

7 years agospecify: option to skip download newer source files
JF Ding [Sun, 7 Mar 2010 11:04:29 +0000 (19:04 +0800)]
specify: option to skip download newer source files

7 years agospecify: option to specify filepath of output spec
JF Ding [Sun, 7 Mar 2010 10:49:28 +0000 (18:49 +0800)]
specify: option to specify filepath of output spec

7 years agoAdd checking for missing/invalid/types of yaml keys
JF Ding [Sun, 7 Mar 2010 09:19:30 +0000 (17:19 +0800)]
Add checking for missing/invalid/types of yaml keys

1. checking the types of all keys: string, list, bool
2. checking mandatory keys for main and sub packages
3. checking all invalid keys for main and sub packages

7 years agouse default LocaleName value when only LocaleOptions specified
JF Ding [Fri, 5 Mar 2010 08:01:06 +0000 (16:01 +0800)]
use default LocaleName value when only LocaleOptions specified

7 years agoMerge commit 'origin/master'
JF Ding [Tue, 2 Mar 2010 06:49:58 +0000 (14:49 +0800)]
Merge commit 'origin/master'

7 years agoupdate documents with all recent changes
JF Ding [Tue, 2 Mar 2010 06:48:49 +0000 (14:48 +0800)]
update documents with all recent changes

7 years agoupdate files_parsing according the 'Files' key
JF Ding [Tue, 2 Mar 2010 06:27:24 +0000 (14:27 +0800)]
update files_parsing according the 'Files' key

7 years agoAdd YAML 'Files' support to converters
JF Ding [Tue, 2 Mar 2010 06:12:22 +0000 (14:12 +0800)]
Add YAML 'Files' support to converters

7 years agofixed potential bugs for tarball name parsing
JF Ding [Tue, 2 Mar 2010 06:05:04 +0000 (14:05 +0800)]
fixed potential bugs for tarball name parsing

7 years agoadd 'Files' key to store filelist for small pkg
JF Ding [Tue, 2 Mar 2010 05:37:52 +0000 (13:37 +0800)]
add 'Files' key to store filelist for small pkg

If both 'Files' and ">> files" inline content in spec exists,
will warning user to cleanup.

7 years agoNo BuildRoot and no %clean sections
nashif [Tue, 2 Mar 2010 02:18:29 +0000 (18:18 -0800)]
No BuildRoot and no %clean sections