[openmamba-users-it] Fwd: Re: [openmamba-devel-it] aiuto con autospec

gil puntogil a libero.it
Gio 28 Feb 2008 10:11:17 CET


Il Wednesday 27 February 2008 00:58:32 Silvan Calarco ha scritto:
> Alle martedì 26 febbraio 2008, gil ha scritto:
> > cosa vuol dire questo:  #/usr/bin/update-menus: required file not found
> > ..? che non ha trovato un buildrequired?
> >                               #/usr/bin/update-menus: required file not
> > found ## AUTOBUILDREQ-END
>
> Mi suona come un requirement di una funzionalità propria di mandriva che
> non c'è in openmamba, hai mica scopiazzato qualcosa? :-)
>
> ciao
> Silvan

ciao
non ne vengo a capo...
grazie 
gil
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70554
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf kbfx-0.4.9.3.1
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/kbfx-0.4.9.3.1.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kbfx-0.4.9.3.1
+ rm -Rf build
+ mkdir build
+ cd build
+ export DESTDIR=/var/tmp/kbfx-root
+ DESTDIR=/var/tmp/kbfx-root
+ cmake ../ '-DCMAKE_INSTALL_PREFIX=%{prefix}'
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Strigi support is: OFF!
-- Will use 'kmenuedit'!
-- Building for KDE3
-- Checking to see if CXX compiler accepts flag -fexceptions
-- Checking to see if CXX compiler accepts flag -fexceptions - yes
-- Checking to see if CXX compiler accepts flag -fstack-protector
-- Checking to see if CXX compiler accepts flag -fstack-protector - yes
-- Looking for XOpenDisplay 
in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay 
in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - 
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found KDE3 include dir: /opt/kde3/include
-- Found KDE3 library dir: /opt/kde3/lib
-- Found KDE3 dcopidl preprocessor: /opt/kde3/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /opt/kde3/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /opt/kde3/bin/kconfig_compiler
-- Found meinproc: /opt/kde3/bin/meinproc
-- Found gnu msgfmt: /usr/bin/msgfmt
-- Checking to see if linker accepts flag -Wl,--no-undefined - yes
-- Checking to see if linker accepts flag -Wl,--allow-shlib-undefined - yes
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/RPM/BUILD/kbfx-0.4.9.3.1/build
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.14995
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd kbfx-0.4.9.3.1
+ cd build
+ CFLAGS='-O2  -fomit-frame-pointer -pipe -march=athlon'
+ export CFLAGS
+ CXXFLAGS='-O2  -fomit-frame-pointer -pipe -march=athlon'
+ export CXXFLAGS
+ FFLAGS='-O2  -fomit-frame-pointer -pipe -march=athlon'
+ export FFLAGS
+ KDEDIR=/opt/kde3
+ export KDEDIR
+ 
PATH=/usr/lib/qt3/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/opt/kde3/bin:/usr/lib/qt3/bin:/opt/java/jdk/bin:/opt/java/jre/bin:/home/gil/bin
+ export PATH
+ ./configure --host=i586-openmamba-linux-gnu --build=i586-openmamba-linux-gnu --target=i586-openmamba-linux-gnu --program-prefix= --prefix=/opt/kde3 --exec-prefix=/opt/kde3 --bindir=/opt/kde3/bin --sbindir=/opt/kde3/sbin --sysconfdir=/etc/opt/kde3 --datadir=/opt/kde3/share --includedir=/opt/kde3/include --libdir=/opt/kde3/lib --libexecdir=/opt/kde3/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
/var/tmp/rpm-tmp.14995: line 35: ./configure: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.14995 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.14995 (%build)
ERROR: rpmbuild è terminato con il codice d'errore `1'

-------------- parte successiva --------------
%define kdedir %(echo `kde-config --prefix`)
%define qtver  %(echo `rpm -q --queryformat '%{VERSION}' libqt`)
%define kdever  %(echo `rpm -q --queryformat '%{VERSION}' kdelibs`)
%define kdebas  %(echo `rpm -q --queryformat '%{VERSION}' kdebase`)

Name:          kbfx
Version:       0.4.9.3.1
Release:       1mamba
Summary:       A KMenu replacement
Group:         Graphical desktop/KDE
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil a libero.it>
URL:           http://www.kbfx.org/
Source:        http://repository.slacky.eu/slackware-12.0/desktop/kbfx/%{version}/src/kbfx-%{version}.tar.bz2
License:       GPL
BuildRequires: arts
BuildRequires: alsa-utils
BuildRequires: cmake
BuildRequires: glibc-devel
BuildRequires: kdebase-devel
BuildRequires: kdelibs-devel
BuildRequires: kdemultimedia-devel
BuildRequires: libarts-devel
BuildRequires: libgcc
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: libidn-devel
BuildRequires: libSM-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtool
BuildRequires: libqt-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXrender-devel
BuildRequires: libXft-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
BuildRequires: xorg-cf-files
Requires:      libqt >= %{qtver}
Requires:      kdelibs >= %{kdever}
Requires:      kdebase >= %{kdebas}
BuildRoot:     %{_tmppath}/%{name}-%{version}-root 


%description
KBFX is an alternative to the classical K-Menu button and it's menu.
It improves the user experience by enabling the user to set a bigger (and thus more visible) start button and by finally replacing the Win95-like K-Menu with the Spinx bar.
If you still want the old menu, because you're used to it, it is still available as an option in kbfx.

Main features:
 Spinx Bar has 6 Basic Functionalities.
 1.Selecting an Application Group
 2.Selecting an Application
 3.Type and locate an Application
 4.Logout of the Desktop
 5.Lock the Desktop
 6.Launch KBFX settings manager
 7.Scroll up and down the application list

Extra features:
 1.Double buffered Widgets to minimize flicker.
 2.Animated scroll bars
 3.New Tooltip
 4.Gif/Mng File Support
 5.New Control Manager

%prep

%setup -q 
rm -Rf build
mkdir build
cd build
export DESTDIR=${RPM_BUILD_ROOT}
cmake  ../ -DCMAKE_INSTALL_PREFIX=%{prefix}
%build
cd build
#export KDEDIRS=%{kdedir}
%configure_kde
%install
[ "{RPM_BUILD_ROOT}" != / ] && rm -rf %{RPM_BUILD_ROOT}#{buildroot}
export DESTDIR=${RPM_BUILD_ROOT}
make install
%clean
[ "{RPM_BUILD_ROOT}" != / ] && rm -rf {RPM_BUILD_ROOT}#%{buildroot}
%files -f %{name}.lang
%defattr(-, root, root)
%{prefix}/*
#%{_kdelibdir}/kde3/*.so
#%{_kdelibdir}/kde3/*.la
%doc AUTHORS COPYING ChangeLog README TODO
%changelog
* Wed Feb 27 2008 gil <puntogil a libero.it> 0.4.9.3.1-1mamba
- package created by autospec


Maggiori informazioni sulla lista openmamba-users-it