Geoffroy,

You're still not using the spec I provided, but an incomplete port of it. 
Please use this spec file (attached again).

In the %doc section, you try to package an non existing file "RELEASE" wich is 
in your %doc section and not in the provided spec file %doc section. removing 
the "touch RELEASE" in the %build section is not sufficient. you needs to 
remove the RELEASE as well in the %doc section. the provided working spec file 
md5sum is: 3d65d891f27e183ee5bda9df5f937a27

The relevant part of the log:

Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9xxu20
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ DOCDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ export DOCDIR
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ cp -pr AUTHORS ChangeLog COPYING README INSTALL RELEASE 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
cp: cannot stat `RELEASE': No such file or directory

Cheers,

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : vendredi 14 décembre 2012 00:33
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] RE :  RE :  opkgc SPEC Clean fix.

Ok, wrong log, my bad but the spec file still does not work, here are the 
details:

= Out-of-the-box, minus the configure problem =

# rpmbuild -bb ./opkgc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UiWGPQ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf opkgc-1.0.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/opkgc-1.0.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd opkgc-1.0.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ihPe5P
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ touch NEWS
+ ./configure --prefix=/usr
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for rsync... yes
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... 
${exec_prefix}/lib64/python2.6/site-packages
checking for xmlto... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/setup.py
config.status: creating doc/Makefile
config.status: creating conf/Makefile
config.status: creating templates/Makefile
+ /usr/bin/make
Making all in src
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/OpkgcLib
copying OpkgcLib/Rpm.py -> build/lib/OpkgcLib
copying OpkgcLib/Logger.py -> build/lib/OpkgcLib
copying OpkgcLib/Config.py -> build/lib/OpkgcLib
copying OpkgcLib/OpkgDescription.py -> build/lib/OpkgcLib
copying OpkgcLib/Deb.py -> build/lib/OpkgcLib
copying OpkgcLib/PkgDescription.py -> build/lib/OpkgcLib
copying OpkgcLib/Compiler.py -> build/lib/OpkgcLib
copying OpkgcLib/XmlTools.py -> build/lib/OpkgcLib
copying OpkgcLib/__init__.py -> build/lib/OpkgcLib
copying OpkgcLib/Tools.py -> build/lib/OpkgcLib
running build_scripts
creating build/scripts-2.6
copying and adjusting opkgc -> build/scripts-2.6
changing mode of build/scripts-2.6/opkgc from 644 to 755
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
Making all in conf
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
m4 -D_pkgdatadir_=/usr/share/opkgc opkgc.conf.in > opkgc.conf
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
Making all in templates
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
Making all in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eEglNU
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
+ /usr/bin/make install DESTDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
Making install in src
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
python setup.py build
running build
running build_py
running build_scripts
python setup.py install -f --prefix=/usr 
--root=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
running install
running build
running build_py
running build_scripts
running install_lib
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6
creating 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages
creating 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Rpm.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Logger.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Config.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/OpkgDescription.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Deb.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/PkgDescription.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Compiler.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/XmlTools.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/__init__.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Tools.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Rpm.py
 to Rpm.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Logger.py
 to Logger.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Config.py
 to Config.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/OpkgDescription.py
 to OpkgDescription.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Deb.py
 to Deb.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/PkgDescription.py
 to PkgDescription.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Compiler.py
 to Compiler.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/XmlTools.py
 to XmlTools.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/__init__.py
 to __init__.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Tools.py
 to Tools.pyc
running install_scripts
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
copying build/scripts-2.6/opkgc -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
changing mode of /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin/opkgc to 
755
running install_egg_info
Writing 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/opkgc-1.0.1-py2.6.egg-info
/bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -c opkg-convert 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
Making install in conf
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
if test ! -e "/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/etc/opkgc.conf"; 
then \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 opkgc.conf 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/etc/opkgc.conf; \
        fi
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
Making install in templates
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
for t in debian rpm; do \
          /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/tmpl/$t; \
          rsync -av --exclude '.svn' --exclude '*~' $t 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/tmpl; \
        done
sending incremental file list
debian/
debian/README.debian.tmpl
debian/changelog.tmpl
debian/compat
debian/control.tmpl
debian/copyright.tmpl
debian/rules.in

sent 5126 bytes  received 130 bytes  10512.00 bytes/sec
total size is 4712  speedup is 0.90
sending incremental file list
rpm/
rpm/opkg.spec.tmpl

sent 2957 bytes  received 35 bytes  5984.00 bytes/sec
total size is 2850  speedup is 0.95
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
Making install in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
for file in ; do \
          sect=`echo $file | sed 's/^.*\([0-9]\)/\1/'`; \
          inst=`echo $file | sed -e 's/^.*\///'`; \
          /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man$section"; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$file" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man$sect/$inst"; \
        done
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc"; \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
          done; \
        fi
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc"; \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
          done; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 db.css 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/"; \
        fi
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
            ( cd $t; \
              /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 * 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
            ); \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 db.css 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/"; \
          done; \
        fi
for t in opkg.xsd; do \
          /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc"; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/$t"; \
        done
/bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/samples
rsync -avr --exclude '.svn' --exclude '*~' samples 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc
sending incremental file list
samples/
samples/config.xml
samples/configurator.html
samples/doc/
samples/doc/README
samples/scripts/
samples/scripts/a_script
samples/scripts/another_script
samples/scripts/api-post-install
samples/scripts/api-post-uninstall
samples/scripts/api-pre-install
samples/scripts/api-pre-uninstall
samples/scripts/client-post-install
samples/scripts/client-post-uninstall
samples/scripts/client-pre-install
samples/scripts/client-pre-uninstall
samples/scripts/server-post-install
samples/scripts/server-post-uninstall
samples/scripts/server-pre-install
samples/scripts/server-pre-uninstall
samples/testing/
samples/testing/test_root
samples/testing/test_user

sent 15169 bytes  received 389 bytes  31116.00 bytes/sec
total size is 13841  speedup is 0.89
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[2]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: opkgc-1.0.1-2.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9xxu20
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ DOCDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ export DOCDIR
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ cp -pr AUTHORS ChangeLog COPYING README INSTALL RELEASE 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
cp: cannot stat `RELEASE': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.9xxu20 (%doc)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.9xxu20 (%doc)

= If i remove RELEASE =

It works. So yes i did a mistake in the log BUT the spec file that was in trunk 
clearly did not work (configure problem + doc problem). Then, yes i grabbed the 
wrong log and the version in trunk does not really fix the problem.

----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Envoyé: Jeudi 13 Décembre 2012 13:46:26
Objet: [Oscar-devel] RE :  RE :  opkgc SPEC Clean fix.

Geoffroy,

Looking at your log, it looks like you are using your spec file which has a 
comment in the %file section which seems a bad idea:
cp: cannot stat `THIS': No such file or directory
cp: cannot stat `IS': No such file or directory
cp: cannot stat `SIMPLY': No such file or directory
cp: cannot stat `ALL': No such file or directory
cp: cannot stat `BROKEN': No such file or directory
cp: cannot stat `ON': No such file or directory
cp: cannot stat `CENTOS': No such file or directory
cp: cannot stat `6': No such file or directory

A common error in rpms spec file is to comment %macros. This is dangerous as 
often, macros are expanded on more than one line resulting on the 1st line 
still commented and the others not.
A safe rule is to never  comment %makeinstall or %configure or %doc. (just 
replace the % with #)
(I used to often fall in that trap ;-) and found the above solution)

For the files listed twice, it is wired...can you test my spec file?

Cheers,

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : jeudi 13 décembre 2012 19:00
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] RE :  opkgc SPEC Clean fix.

Sure, here is what i get:

# rpmbuild -bb ./opkgc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7H0PK7
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf opkgc-1.0.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/opkgc-1.0.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd opkgc-1.0.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R5auIr
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ touch NEWS
+ ./configure --prefix=/usr
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for rsync... yes
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... 
${exec_prefix}/lib64/python2.6/site-packages
checking for xmlto... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/setup.py
config.status: creating doc/Makefile
config.status: creating conf/Makefile
config.status: creating templates/Makefile
+ /usr/bin/make
Making all in src
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/OpkgcLib
copying OpkgcLib/Rpm.py -> build/lib/OpkgcLib
copying OpkgcLib/Logger.py -> build/lib/OpkgcLib
copying OpkgcLib/Config.py -> build/lib/OpkgcLib
copying OpkgcLib/OpkgDescription.py -> build/lib/OpkgcLib
copying OpkgcLib/Deb.py -> build/lib/OpkgcLib
copying OpkgcLib/PkgDescription.py -> build/lib/OpkgcLib
copying OpkgcLib/Compiler.py -> build/lib/OpkgcLib
copying OpkgcLib/XmlTools.py -> build/lib/OpkgcLib
copying OpkgcLib/__init__.py -> build/lib/OpkgcLib
copying OpkgcLib/Tools.py -> build/lib/OpkgcLib
running build_scripts
creating build/scripts-2.6
copying and adjusting opkgc -> build/scripts-2.6
changing mode of build/scripts-2.6/opkgc from 644 to 755
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
Making all in conf
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
m4 -D_pkgdatadir_=/usr/share/opkgc opkgc.conf.in > opkgc.conf
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
Making all in templates
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
Making all in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AJld4Q
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
+ /usr/bin/make install DESTDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
Making install in src
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
python setup.py build
running build
running build_py
running build_scripts
python setup.py install -f --prefix=/usr 
--root=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
running install
running build
running build_py
running build_scripts
running install_lib
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6
creating 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages
creating 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Rpm.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Logger.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Config.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/OpkgDescription.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Deb.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/PkgDescription.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Compiler.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/XmlTools.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/__init__.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
copying build/lib/OpkgcLib/Tools.py -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Rpm.py
 to Rpm.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Logger.py
 to Logger.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Config.py
 to Config.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/OpkgDescription.py
 to OpkgDescription.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Deb.py
 to Deb.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/PkgDescription.py
 to PkgDescription.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Compiler.py
 to Compiler.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/XmlTools.py
 to XmlTools.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/__init__.py
 to __init__.pyc
byte-compiling 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/OpkgcLib/Tools.py
 to Tools.pyc
running install_scripts
creating /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
copying build/scripts-2.6/opkgc -> 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
changing mode of /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin/opkgc to 
755
running install_egg_info
Writing 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/lib/python2.6/site-packages/opkgc-1.0.1-py2.6.egg-info
/bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -c opkg-convert 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/bin
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/src'
Making install in conf
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
if test ! -e "/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/etc/opkgc.conf"; 
then \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 opkgc.conf 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/etc/opkgc.conf; \
        fi
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/conf'
Making install in templates
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
for t in debian rpm; do \
          /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/tmpl/$t; \
          rsync -av --exclude '.svn' --exclude '*~' $t 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/tmpl; \
        done
sending incremental file list
debian/
debian/README.debian.tmpl
debian/changelog.tmpl
debian/compat
debian/control.tmpl
debian/copyright.tmpl
debian/rules.in

sent 5126 bytes  received 130 bytes  10512.00 bytes/sec
total size is 4712  speedup is 0.90
sending incremental file list
rpm/
rpm/opkg.spec.tmpl

sent 2957 bytes  received 35 bytes  5984.00 bytes/sec
total size is 2850  speedup is 0.95
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/templates'
Making install in doc
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
for file in ; do \
          sect=`echo $file | sed 's/^.*\([0-9]\)/\1/'`; \
          inst=`echo $file | sed -e 's/^.*\///'`; \
          /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man$section"; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$file" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/man/man$sect/$inst"; \
        done
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc"; \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
          done; \
        fi
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc"; \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
          done; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 db.css 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/"; \
        fi
if test "" != ""; then \
          for t in ; do \
            /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
            ( cd $t; \
              /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 * 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/$t"; \
            ); \
            /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 db.css 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/"; \
          done; \
        fi
for t in opkg.xsd; do \
          /bin/mkdir -p 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc"; \
          /bin/sh /root/rpmbuild/BUILD/opkgc-1.0.1/install-sh -m 644 "$t" 
"/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/opkgc/$t"; \
        done
/bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc/samples
rsync -avr --exclude '.svn' --exclude '*~' samples 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc
sending incremental file list
samples/
samples/config.xml
samples/configurator.html
samples/doc/
samples/doc/README
samples/scripts/
samples/scripts/a_script
samples/scripts/another_script
samples/scripts/api-post-install
samples/scripts/api-post-uninstall
samples/scripts/api-pre-install
samples/scripts/api-pre-uninstall
samples/scripts/client-post-install
samples/scripts/client-post-uninstall
samples/scripts/client-pre-install
samples/scripts/client-pre-uninstall
samples/scripts/server-post-install
samples/scripts/server-post-uninstall
samples/scripts/server-pre-install
samples/scripts/server-pre-uninstall
samples/testing/
samples/testing/test_root
samples/testing/test_user

sent 15169 bytes  received 389 bytes  31116.00 bytes/sec
total size is 13841  speedup is 0.89
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1/doc'
make[1]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[2]: Entering directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
make[1]: Leaving directory `/root/rpmbuild/BUILD/opkgc-1.0.1'
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: opkgc-1.0.1-2.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IdB2Th
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd opkgc-1.0.1
+ DOCDIR=/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ export DOCDIR
+ rm -rf /root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ /bin/mkdir -p 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
+ cp -pr AUTHORS ChangeLog COPYING README INSTALL RELEASE AUTHORS COPYING 
ChangeLog INSTALL Makefile Makefile.am Makefile.in NEWS README aclocal.m4 conf 
config.guess config.log config.status config.sub configure configure.ac doc 
install-sh missing src templates THIS IS SIMPLY ALL BROKEN ON CENTOS 6 AUTHORS 
COPYING ChangeLog INSTALL Makefile Makefile.am Makefile.in NEWS README 
aclocal.m4 conf config.guess config.log config.status config.sub configure 
configure.ac doc install-sh missing src templates 
/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1
cp: cannot stat `RELEASE': No such file or directory
cp: warning: source file `AUTHORS' specified more than once
cp: warning: source file `COPYING' specified more than once
cp: warning: source file `ChangeLog' specified more than once
cp: warning: source file `INSTALL' specified more than once
cp: warning: source file `README' specified more than once
cp: cannot stat `THIS': No such file or directory
cp: cannot stat `IS': No such file or directory
cp: cannot stat `SIMPLY': No such file or directory
cp: cannot stat `ALL': No such file or directory
cp: cannot stat `BROKEN': No such file or directory
cp: cannot stat `ON': No such file or directory
cp: cannot stat `CENTOS': No such file or directory
cp: cannot stat `6': No such file or directory
cp: warning: source file `AUTHORS' specified more than once
cp: warning: source file `COPYING' specified more than once
cp: warning: source file `ChangeLog' specified more than once
cp: warning: source file `INSTALL' specified more than once
cp: warning: source file `Makefile' specified more than once
cp: warning: source file `Makefile.am' specified more than once
cp: warning: source file `Makefile.in' specified more than once
cp: warning: source file `NEWS' specified more than once
cp: warning: source file `README' specified more than once
cp: warning: source file `aclocal.m4' specified more than once
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/conf' 
to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/conf'
cp: warning: source file `config.guess' specified more than once
cp: warning: source file `config.log' specified more than once
cp: warning: source file `config.status' specified more than once
cp: warning: source file `config.sub' specified more than once
cp: warning: source file `configure' specified more than once
cp: warning: source file `configure.ac' specified more than once
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/doc' 
to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/doc'
cp: warning: source file `install-sh' specified more than once
cp: warning: source file `missing' specified more than once
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/src' 
to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/src'
cp: will not create hard link 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/templates'
 to directory 
`/root/rpmbuild/BUILDROOT/opkgc-1.0.1-2.x86_64/usr/share/doc/opkgc-1.0.1/templates'
error: Bad exit status from /var/tmp/rpm-tmp.IdB2Th (%doc)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.IdB2Th (%doc)

----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Envoyé: Jeudi 13 Décembre 2012 11:45:14
Objet: [Oscar-devel] RE :  opkgc SPEC Clean fix.

Geoffroy,

Thanks a lot for your support, :-)

Can you tell me the problem you are encountering, maybe I can help.

Cheers,

Olivier.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : jeudi 13 décembre 2012 17:02
À : oscar-devel@lists.sourceforge.net
Cc: LAHAYE Olivier
Objet : Re: [Oscar-devel] opkgc SPEC Clean fix.

Despite what you claim, i can assure you that it does not work on my CentOS 6.3 
system (basic, minimal CentOS 6.3 configuration). Otherwise, i will not have 
spent the time commented out the faulty part of the spec file.

I will try to test the attached spec file, meanwhile, if you have write access 
to SVN, feel free to check in.


----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Cc: valle...@ornl.gov
Envoyé: Jeudi 13 Décembre 2012 09:15:16
Objet: [Oscar-devel] opkgc SPEC Clean fix.




Geoffroy,

I've seen that you worked on opkgc spec file by removing man pages.
On CentOS-6.3" it realy works despite your comment. (same for de %doc section).

Anyway, here is a full fix of all issues in the spec file

1/ Manage the the manuals using wildcars so it works even on latest mandriva 
linux that compress those man using xz.
2/ Fixed the configure.ac by commenting the AC_CANONICAL_TARGET
According to this link https://bugzilla.redhat.com/show_bug.cgi?id=204177
noarch package should not set this otherwise, when the %configure macro will 
define
"--target noarch", configure script will fail with: "Invalid configuration 
`noarch-redhat-linux-gnu'"

3/ Fixed the spec file to:
a/ use macros for make and smp flags
b/ use macro for configure

c/ man are ok even on modern distro like Mandriva wich compress mans with .xz
d/ %doc section cleaned and re-enabled.

You were right about autogen.sh which is not in the tarball. Though we must 
keep in mind that in the future, il we want to rebuild the package on a distro 
that has an incompatible autotools, the configure script may fail. maybe the 
"autoreconf" is the way to go?

All above tested using make dist-gzip and building the rpm by hand to cross 
check that everything is ok.

Cheers,

Olivier.


--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           opkgc
Version:        1.0.1
Release:        2
Summary:        Compiler for OSCAR package

Group:          Development/Languages
License:        GPL
URL:            http://oscar.openclustergroup.org/comp_opkgc
Source0:        opkgc-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
#BuildRequires:  python-devel, xmlto
#Requires: 	libxslt, python-lxml, python-cheetah

%description
opkgc transform the description of an OSCAR package into a set of native packages (.deb or RPM).
It includes the opkg-convert tool to convert OSCAR packages from old form to current form.

%prep
%setup -q

%build
#autoreconf -f -i -s
%configure

%{__make} %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
# cannot use makeinstall macro because pkgdatadir= is not part of the macro.
%__make install DESTDIR=$RPM_BUILD_ROOT
 
%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README INSTALL
%{python_sitelib}/*
%{_bindir}/opkgc
%{_bindir}/opkg-convert
%{_datadir}/%{name}/
%{_defaultdocdir}/%{name}/
%{_mandir}/man1/opkgc.1*
%{_mandir}/man5/opkg.5*
%config %{_sysconfdir}/opkgc.conf

%changelog
* Thu Dec 13 2012 Olivier Lahaye <olivier.lah...@cea.fr> 1.0.1-2
- Use macros when possible.
- Fix man packaging.
- Fix doc packaging.
* Wed Nov 14 2012 Geoffroy Vallee <valle...@ornl.gov> 1.0.1-1
- Update from upstrean (1.0.1).
* Sun Sep 30 2012 Geoffroy Vallee <valle...@ornl.gov> 1.0.0-2
- Updated build step using autogen
- Updated file section (doc and use macro instead of
  hardcoded paths)
* Tue Aug 07 2012 Geoffroy Vallee <valle...@ornl.gov> 1.0.0-1
- Update from upstrean (1.0.0).
* Mon May 30 2011 Geoffroy Vallee <valle...@ornl.gov> 0.6.0-2
- Run autoreconf before configure.
* Fri Mar 04 2011 Geoffroy Vallee <valle...@ornl.gov> 0.6.0-1
- Update from upstream (0.6.0).
* Tue Feb 08 2011 Geoffroy Vallee <valle...@ornl.gov> 0.5.0-1
- Update from upstream (0.5.0).
* Sun Aug 22 2010 Geoffroy Vallee <valle...@ornl.gov> 0.4.5-1
- Update from upstream (0.4.5).
* Tue Jun 08 2010 Geoffroy Vallee <valle...@ornl.gov> 0.4.4-1
- Update from upstream (0.4.4)
* Fri Oct 02 2009 Geoffroy Vallee <valle...@ornl.gov> 0.4.3-1
- Update from upstream (0.4.3)
* Mon Jun 29 2009 Geoffroy Vallee <valle...@ornl.gov> 0.4.2-1
- Update from upstream (0.4.2)
* Thu Dec 04 2008 Geoffroy Vallee <valle...@ornl.gov> 0.4.1-1
- Update from upstream (0.4.1)
* Tue Nov 13 2007 Jean Parpaillon <jean.parpail...@kerlabs.com> 0.4-1
- Update from upstrean (0.4)
* Mon Sep 13 2007 Jean Parpaillon <jean.parpail...@irisa.fr> 0.3.2-1
- Update from upstream (0.3.2)
- Fix dependency (libxslt that provides xsltproc, needed by opkg-convert)
* Mon Aug 6 2007 Jean Parpaillon <jean.parpail...@irisa.fr> 0.3.1-1
- Update from upstream (0.3.1)
* Wed Jul 18 2007 Jean Parpaillon <jean.parpail...@irisa.fr> 0.3-1
- Update from upstream (0.3)
* Wed Jun 27 2007 Jean Parpaillon <jean.parpail...@irisa.fr> 0.2.1-1
- First RPM release
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to