Author: fmui
Date: Wed Jan 2 11:44:47 2013
New Revision: 1427748
URL: http://svn.apache.org/viewvc?rev=1427748&view=rev
Log:
ObjectiveCMIS: split the release package into a source and a binary package
Modified:
chemistry/objectivecmis/trunk/NOTICE
chemistry/objectivecmis/trunk/README
chemistry/objectivecmis/trunk/release.sh
Modified: chemistry/objectivecmis/trunk/NOTICE
URL:
http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/NOTICE?rev=1427748&r1=1427747&r2=1427748&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/NOTICE (original)
+++ chemistry/objectivecmis/trunk/NOTICE Wed Jan 2 11:44:47 2013
@@ -1,5 +1,5 @@
Apache Chemistry ObjectiveCMIS
-Copyright 2012 The Apache Software Foundation
+Copyright 2012-2013 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file
Modified: chemistry/objectivecmis/trunk/README
URL:
http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/README?rev=1427748&r1=1427747&r2=1427748&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/README (original)
+++ chemistry/objectivecmis/trunk/README Wed Jan 2 11:44:47 2013
@@ -7,12 +7,13 @@ provide an interoperability API to CMIS
However, as the base library is built on the Foundation.framework it can be
used
for developing Mac OSX applications as well.
-The ObjectiveCMIS library is distributed as a ZIP file containing
+The ObjectiveCMIS library is distributed in two packages.
- the source: library and test source files
- the library: libObjectiveCMIS.a
- public header files: contained in the ObjectiveCMIS folder
- documentation: provided as a docset (generated using appledocs).
+* The source package contains the source code of the library and the source
code
+ of the unit tests as well as a XCode project.
+
+* The binary package contains the library (libObjectiveCMIS.a), the public
+ header files and the API documentation as a docset (generated using
appledocs).
Minimum Requirements
@@ -28,7 +29,7 @@ How to include the library on your XCode
------------------------------------------------
The easiest way to include the ObjectiveCMIS library into your project is to
-unzip the ObjectiveCMIS ZIP file.
+unzip the ObjectiveCMIS binary package.
Then go to the 'File' menu in XCode and select the 'Add Files to...' option.
Add the headers and library files contained in the ZIP distribution to your
project:
Modified: chemistry/objectivecmis/trunk/release.sh
URL:
http://svn.apache.org/viewvc/chemistry/objectivecmis/trunk/release.sh?rev=1427748&r1=1427747&r2=1427748&view=diff
==============================================================================
--- chemistry/objectivecmis/trunk/release.sh (original)
+++ chemistry/objectivecmis/trunk/release.sh Wed Jan 2 11:44:47 2013
@@ -16,8 +16,15 @@
# limitations under the License.
OBJECTIVECMIS_VERSION=0.1
-OBJECTIVECMIS_PACK=chemistry-objectivecmis-$OBJECTIVECMIS_VERSION.zip
-OBJECTIVECMIS_RC=RC1
+OBJECTIVECMIS_PACK_SRC=chemistry-objectivecmis-$OBJECTIVECMIS_VERSION-src.zip
+OBJECTIVECMIS_PACK_BIN=chemistry-objectivecmis-$OBJECTIVECMIS_VERSION-bin.zip
+OBJECTIVECMIS_RC=RC2
+
+if [ -d release ]
+then
+ rm -R release
+fi
+mkdir release
if [ -d release-temp ]
then
@@ -25,16 +32,14 @@ then
fi
mkdir release-temp
-echo "Copying files..."
+echo "Creating source package..."
if [ -d release-pack ]
then
rm -R release-pack
fi
mkdir release-pack
mkdir release-pack/src
-mkdir release-pack/doc
-mkdir release-pack/bin
cp NOTICE release-pack
cp LICENSE release-pack
@@ -43,6 +48,24 @@ rsync -a --exclude='.*' ObjectiveCMIS re
rsync -a --exclude='.*' ObjectiveCMIS.xcodeproj release-pack/src
rsync -a --exclude='.*' ObjectiveCMISTests release-pack/src
+cd release-pack
+
+zip -r ../release/$OBJECTIVECMIS_PACK_SRC *
+
+cd ..
+
+
+echo "Preparing binary package..."
+
+rm -R release-pack
+mkdir release-pack
+mkdir release-pack/doc
+mkdir release-pack/bin
+
+cp NOTICE release-pack
+cp LICENSE release-pack
+cp README release-pack
+
echo "Generating documentation ..."
@@ -64,28 +87,29 @@ cp -R build/Debug-universal/* release-pa
echo "Creating package..."
-if [ -d release ]
-then
- rm -R release
-fi
-mkdir release
-
cd release-pack
-zip -r ../release/$OBJECTIVECMIS_PACK *
+zip -r ../release/$OBJECTIVECMIS_PACK_BIN *
cd ..
-echo "Signing package ..."
+echo "Signing packages ..."
cd release
-gpg --armor --output $OBJECTIVECMIS_PACK.asc --detach-sig $OBJECTIVECMIS_PACK
-gpg --print-md MD5 $OBJECTIVECMIS_PACK > $OBJECTIVECMIS_PACK.md5
-gpg --print-md SHA1 $OBJECTIVECMIS_PACK > $OBJECTIVECMIS_PACK.sha
-gpg --print-md MD5 $OBJECTIVECMIS_PACK.asc > $OBJECTIVECMIS_PACK.asc.md5
-gpg --print-md SHA1 $OBJECTIVECMIS_PACK.asc > $OBJECTIVECMIS_PACK.asc.sha
+gpg --armor --output $OBJECTIVECMIS_PACK_SRC.asc --detach-sig
$OBJECTIVECMIS_PACK_SRC
+gpg --print-md MD5 $OBJECTIVECMIS_PACK_SRC > $OBJECTIVECMIS_PACK_SRC.md5
+gpg --print-md SHA1 $OBJECTIVECMIS_PACK_SRC > $OBJECTIVECMIS_PACK_SRC.sha
+gpg --print-md MD5 $OBJECTIVECMIS_PACK_SRC.asc >
$OBJECTIVECMIS_PACK_SRC.asc.md5
+gpg --print-md SHA1 $OBJECTIVECMIS_PACK_SRC.asc >
$OBJECTIVECMIS_PACK_SRC.asc.sha
+
+gpg --armor --output $OBJECTIVECMIS_PACK_BIN.asc --detach-sig
$OBJECTIVECMIS_PACK_BIN
+gpg --print-md MD5 $OBJECTIVECMIS_PACK_BIN > $OBJECTIVECMIS_PACK_BINC.md5
+gpg --print-md SHA1 $OBJECTIVECMIS_PACK_BIN > $OBJECTIVECMIS_PACK_BIN.sha
+gpg --print-md MD5 $OBJECTIVECMIS_PACK_BIN.asc >
$OBJECTIVECMIS_PACK_BIN.asc.md5
+gpg --print-md SHA1 $OBJECTIVECMIS_PACK_BIN.asc >
$OBJECTIVECMIS_PACK_BIN.asc.sha
+
cd ..