diff options
author | Gunnar Wrobel <wrobel@pardus.de> | 2010-09-15 07:25:08 (GMT) |
---|---|---|
committer | Gunnar Wrobel <wrobel@pardus.de> | 2010-09-15 07:25:08 (GMT) |
commit | 8164430785d0409acb78c8009150875ae8561cc1 (patch) | |
tree | 40740f6f6d921b9dd5d9f431a5d22ab2d7125e81 | |
parent | d4a8d67f0332bbf443696459e85d02c49d6a5cfd (diff) | |
download | kolab-webadmin-refactor-kolab-webadmin.tar.gz |
Finalize the PEAR based installation. The kolab-webadmin source directory should be ready to be removed.refactor-kolab-webadmin
-rw-r--r-- | DEVELOPMENT | 70 | ||||
-rw-r--r-- | data/locale/Makefile | 28 | ||||
-rw-r--r-- | package.xml | 32 |
3 files changed, 114 insertions, 16 deletions
diff --git a/DEVELOPMENT b/DEVELOPMENT new file mode 100644 index 0000000..1da3334 --- /dev/null +++ b/DEVELOPMENT @@ -0,0 +1,70 @@ +Development notes +================= + +The kolab-webadmin package is a PHP based web application. Since no +compilation is necessary it is sufficient to package the "freebusy" +directory for a release. + +The Kolab Server packages were usually not released as source +packages. This should be changed with this new package layout. The +"dist" target will produce a kolab-webadmin-*.tar.gz package that can +be distributed as source package. The same run will produce a +kolab-webadmin-*.src.rpm package that is suited for installation on an +OpenPKG system. + +Version numbering +================= + +kolab-webadmin is a Kolab Server core package. Released packages should +have the same core version as the Server release. As a part of Kolab +Server 2.1.0 the version number should be 2.1.0. + +Released source packages will look like this: + + kolab-webadmin-2.1.0.tar.gz + +Released source RPMs will look like this: + + kolab-webadmin-2.1.0-20070813.src.rpm + +A NEW VERSION AND RELEASE NUMBER HAVE TO BE SET IN + + kolab-webadmin.spec + +Once development picks up after a release, please set + +%define V_cvs 1 + +in kolab-filter.spec. + +Source packages will then look like this: + + kolab-webadmin-2.1.0.cvs-20070815.tar.gz + +Source RPMs will be named similar: + + kolab-webadmin-2.1.0.cvs-20070815.src.rpm + +For tagging the next release the version number needs to be increased +to the new Kolab Server version (e.g. 2.2.0) and the CVS variable needs +to be reset to 0: + +%define V_cvs 0 + +Change log +========== + +The change log for the package is provided in +"admin/docs/ChangeLog". Please keep this file up-to-date if you +change the source code of this package. + +Depending on the editor it may be helpful to link +admin/docs/ChangeLog to ChangeLog in the top level directory of this +package. + +Contributors +============ + +The developers of this package are listed in +"admin/docs/AUTHORS". Please keep this file up-to-date if you +change the source code of this package. diff --git a/data/locale/Makefile b/data/locale/Makefile new file mode 100644 index 0000000..b1821e4 --- /dev/null +++ b/data/locale/Makefile @@ -0,0 +1,28 @@ +MSGFMT=msgfmt + +CLEANFILES = */LC_MESSAGES/messages.mo + +PHP_LOCALE_DE_PO = de/LC_MESSAGES/messages.po +PHP_LOCALE_DE_MO = de/LC_MESSAGES/messages.mo +PHP_LOCALE_FR_PO = fr/LC_MESSAGES/messages.po +PHP_LOCALE_FR_MO = fr/LC_MESSAGES/messages.mo +PHP_LOCALE_NL_PO = nl/LC_MESSAGES/messages.po +PHP_LOCALE_NL_MO = nl/LC_MESSAGES/messages.mo +PHP_LOCALE_IT_PO = it/LC_MESSAGES/messages.po +PHP_LOCALE_IT_MO = it/LC_MESSAGES/messages.mo +PHP_LOCALE_ES_PO = es/LC_MESSAGES/messages.po +PHP_LOCALE_ES_MO = es/LC_MESSAGES/messages.mo + +MO = $(PHP_LOCALE_DE_MO) \ + $(PHP_LOCALE_FR_MO) \ + $(PHP_LOCALE_NL_MO) \ + $(PHP_LOCALE_IT_MO) \ + $(PHP_LOCALE_ES_MO) \ + +all: $(MO) + +$(MO): + $(MSGFMT) -o $@ $(@:%.mo=%.po) + +clean: + rm $(CLEANFILES) diff --git a/package.xml b/package.xml index 82bad82..ed951f4 100644 --- a/package.xml +++ b/package.xml @@ -31,27 +31,27 @@ <dir name="locale"> <dir name="de"> <dir name="LC_MESSAGES"> - <file name="messages.po" role="data" /> + <file name="messages.mo" role="data" /> </dir> <!-- /data/locale/de/LC_MESSAGES --> </dir> <!-- /data/locale/de --> <dir name="es"> <dir name="LC_MESSAGES"> - <file name="messages.po" role="data" /> + <file name="messages.mo" role="data" /> </dir> <!-- /data/locale/es/LC_MESSAGES --> </dir> <!-- /data/locale/es --> <dir name="fr"> <dir name="LC_MESSAGES"> - <file name="messages.po" role="data" /> + <file name="messages.mo" role="data" /> </dir> <!-- /data/locale/fr/LC_MESSAGES --> </dir> <!-- /data/locale/fr --> <dir name="it"> <dir name="LC_MESSAGES"> - <file name="messages.po" role="data" /> + <file name="messages.mo" role="data" /> </dir> <!-- /data/locale/it/LC_MESSAGES --> </dir> <!-- /data/locale/it --> <dir name="nl"> <dir name="LC_MESSAGES"> - <file name="messages.po" role="data" /> + <file name="messages.mo" role="data" /> </dir> <!-- /data/locale/nl/LC_MESSAGES --> </dir> <!-- /data/locale/nl --> <file name="extract_messages" role="data" /> @@ -168,12 +168,12 @@ <file name="maintainer.php" role="www" /> </dir> <!-- /www/admin/maintainer --> <dir name="pics"> - <file name="codefusion.png" role="data" /> - <file name="erfrakon.png" role="data" /> - <file name="intevation_logo.png" role="data" /> - <file name="kdab.png" role="data" /> - <file name="kde.png" role="data" /> - <file name="kolab_logo.png" role="data" /> + <file name="codefusion.png" role="www" /> + <file name="erfrakon.png" role="www" /> + <file name="intevation_logo.png" role="www" /> + <file name="kdab.png" role="www" /> + <file name="kde.png" role="www" /> + <file name="kolab_logo.png" role="www" /> </dir> <!-- /www/admin/pics --> <dir name="settings"> <file name="index.php" role="www" /> @@ -221,11 +221,11 @@ <phprelease> <filelist> <install as="locale/extract_messages" name="data/locale/extract_messages" /> - <install as="locale/de/LC_MESSAGES/messages.po" name="data/locale/de/LC_MESSAGES/messages.po" /> - <install as="locale/es/LC_MESSAGES/messages.po" name="data/locale/es/LC_MESSAGES/messages.po" /> - <install as="locale/fr/LC_MESSAGES/messages.po" name="data/locale/fr/LC_MESSAGES/messages.po" /> - <install as="locale/it/LC_MESSAGES/messages.po" name="data/locale/it/LC_MESSAGES/messages.po" /> - <install as="locale/nl/LC_MESSAGES/messages.po" name="data/locale/nl/LC_MESSAGES/messages.po" /> + <install as="locale/de/LC_MESSAGES/messages.mo" name="data/locale/de/LC_MESSAGES/messages.mo" /> + <install as="locale/es/LC_MESSAGES/messages.mo" name="data/locale/es/LC_MESSAGES/messages.mo" /> + <install as="locale/fr/LC_MESSAGES/messages.mo" name="data/locale/fr/LC_MESSAGES/messages.mo" /> + <install as="locale/it/LC_MESSAGES/messages.mo" name="data/locale/it/LC_MESSAGES/messages.mo" /> + <install as="locale/nl/LC_MESSAGES/messages.mo" name="data/locale/nl/LC_MESSAGES/messages.mo" /> <install as="templates/addrdeleted.tpl" name="data/templates/addrdeleted.tpl" /> <install as="templates/addresslist.tpl" name="data/templates/addresslist.tpl" /> <install as="templates/addrlistall.tpl" name="data/templates/addrlistall.tpl" /> |