[newbies] %prep в spec файле зачем-то выполняет %configure.
gBopHuk_alt
gbophuk_alt на mail.ru
Вс Янв 8 15:35:54 MSK 2012
В Вск, 08/01/2012 в 13:08 +0200, Michael Shigorin пишет:
> Секция %build в таком случае присутствует, но пуста:
>
> %build
>
> %install
> # ...
Теперь вывод стал таким, суть не изменилась:
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.49256
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd wxformbuilder-3.1.70
+ CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=i686'
+ export CFLAGS
+ CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=i686'
+ export CXXFLAGS
+ FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=i686'
+ export FFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --disable-dependency-tracking
--without-included-gettext
/usr/src/tmp/rpm-tmp.49256: line 100: ./configure: No such file or
directory
error: Bad exit status from /usr/src/tmp/rpm-tmp.49256 (%build)
spec:
Name: wxformbuilder
Version: 3.1.70
Release: alt0
Summary: Designer for wxwidgets
Summary(ru_RU.UTF-8): Редакотр форм для wxwidgets
License: GPL
Group: Development/Tools
Url: http://wxformbuilder.org
Source: %name-%version.tar.gz
#Patch:
#Requires
#BuildRequires:
#Conflicts:
#Obsoletes:
#Provides:
%description
wxWidgets is an excellent framework that enables the
creation of multi-platform applications with and without
a graphical user interface. There are several applications
that help create dialogs visually, even so, some practical
problems have led me to start the development of a new application.
Those problems include, the limited set of widgets or the impossibility
to include non-graphical components.
%description -l ru_RU.UTF-8
Редиактор форм для wxwidgets. Помогает наглядно построить внешний вид
приложения насписанного с помошью wxwidgets.
%prep
%setup
%build
#%configure
#%make_build
%install
#%makeinstall_std
mkdir %buildroot
install ./* %buildroot
#%find_lang %name
%files
%_bindir/*
%_libdir/%name
%_libdir/*.so
%_datadir/%name
%_datadir/applications/*
%_datadir/icons/gnome/48x48/mimetypes/*
%_datadir/pixmaps/*
%_datadir/mime/packages/*
%_datadir/menu/*
%_datadir/doc/%name
%_man1dir/*
%changelog
* Tue Jan 03 2012 bla-bla <bla-bla на gmail.com> 3.1.70-alt0
- This packeg was create with --no-sisyphus-chek parameter and can
contains some mistakes
- Данный пакет был собран с параметрами --no-sisyphus-check и может
содежать ошибки
Подробная информация о списке рассылки devel-newbies