* [sisyphus] сборка пакетов @ 2007-08-02 11:44 ` Maks Tuncov 2007-08-02 12:06 ` Slava Semushin 0 siblings, 1 reply; 2+ messages in thread From: Maks Tuncov @ 2007-08-02 11:44 UTC (permalink / raw) To: sisyphus hi! Пытаюсь собрать нужную программу в виде rpm. взял src от мандривы, сделал ему rpm -ivh поправил немного spec на предмет ругани rpmbb далее делаю [b] rpmbb программа.spec [/b] делает разное, но в конце пишет так: ****************************************************************************** [b] config.status: creating src/interface/resources/version.rc config.status: creating src/fzshellext/Makefile config.status: creating src/fzshellext/version.rc config.status: creating src/include/config.h config.status: executing depfiles commands + make make: Entering directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6' Making all in . make[1]: Entering directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6' Making all in src make[1]: Entering directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6/src' Making all in include make[2]: Entering directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6/src/include' Makefile:531: .deps/FileZilla.Po: No such file or directory make[2]: *** No rule to make target `.deps/FileZilla.Po'. Stop. make[2]: Leaving directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6/src/include' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6/src' make: *** [all-recursive] Error 1 make: Leaving directory `/home/omega/RPM/BUILD/filezilla-3.0.0-beta6' ошибка: Неверный код возврата из /home/omega/tmp/rpm-tmp.82654 (%build) Ошибки сборки пакетов: Неверный код возврата из /home/omega/tmp/rpm-tmp.82654 (%build) ------------------------------------------------------- Check log for... !!!!!!!! ERROR !!!!! [/b] ****************************************************************************** если попытаться перейти в каталог где лежат распакованные исходники - и попробовать там ./configure && make - все в порядке ******************** spec ******************* [b] [omega@localhost filezilla-3.0.0-beta6]$ cat ../../SPECS/filezilla.spec Name: filezilla Version: 3.0.0 Release: 0.beta6.2 Summary: FileZilla is a fast and reliable FTP client Group: Networking/File transfer License: GPL URL: http://filezilla.sourceforge.net/ Source0: FileZilla_3.0.0-beta6_src.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description FileZilla is a fast and reliable FTP client and server with lots of useful features and an intuitive interface %files -f %{name}.lang %defattr(-,root,root,-) %{_bindir}/%{name} %{_bindir}/fzsftp %dir %{_datadir}/%{name} %{_datadir}/%{name}/resources %{_datadir}/%{name}/locales %{_datadir}/applications/*-%{name}.desktop %{_iconsdir}/filezilla.png #-------------------------------------------------------------------- %prep %setup -q -n %name-%version-beta6 %build %configure %make %install rm -rf %buildroot make install DESTDIR=%buildroot mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF [Desktop Entry] Name=Filezilla Comment=FileZilla is a fast and reliable FTP client Exec=%{_bindir}/%{name} Icon=%{name} Terminal=false Type=Application Categories=X-MandrivaLinux-Internet-FileTransfer;Network;FileTransfer; Encoding=UTF-8 EOF %__mkdir -p %{buildroot}/%{_iconsdir} ln -s %{buildroot}%{_datadir}/filezilla/resources/filezilla.png %{buildroot}/%{_iconsdir}/filezilla.png %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %changelog * Fri Mar 30 2007 Nicolas Le'cureuil <neoclust@mandriva.org> 3.0.0-0.beta6.2mdv2007.1 + Revision: 150123 - Fix summary - Add icon into menu (bug #29881) * Sat Mar 03 2007 Emmanuel Andry <eandry@mandriva.org> 3.0.0-0.beta6.1mdv2007.1 + Revision: 131879 - New version 3.0.0 beta 6 - create menu entry * Tue Jan 23 2007 Nicolas Le'cureuil <neoclust@mandriva.org> 3.0.0-0.beta5.1mdv2007.1 + Revision: 112676 - Import filezilla [/b] ******************** end of spec ******************* где здесь отверткой покрутить? ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sisyphus] сборка пакетов 2007-08-02 11:44 ` [sisyphus] сборка пакетов Maks Tuncov @ 2007-08-02 12:06 ` Slava Semushin 0 siblings, 0 replies; 2+ messages in thread From: Slava Semushin @ 2007-08-02 12:06 UTC (permalink / raw) To: maks_tuncov, ALT Linux Sisyphus discussion list 2007/8/2, Maks Tuncov <maks_tuncov / mail.ru>: [...] По спеку: > Name: filezilla > Version: 3.0.0 > Release: 0.beta6.2 Релизы в АЛЬТе обычно начинаются с alt: alt0.beta6 [...] > Source0: FileZilla_3.0.0-beta6_src.tar.bz2 > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root s/Source0/Source/ Вторую строчку вообще нужно удалить. > > %description > FileZilla is a fast and reliable FTP client and server with lots > of useful features and an intuitive interface > > %files -f %{name}.lang > %defattr(-,root,root,-) > %{_bindir}/%{name} > %{_bindir}/fzsftp > %dir %{_datadir}/%{name} > %{_datadir}/%{name}/resources > %{_datadir}/%{name}/locales > %{_datadir}/applications/*-%{name}.desktop > %{_iconsdir}/filezilla.png - Секция %files как-то странно смотрится после %description, её нужно перенести до %changelog'а - Вот это: %defattr(-,root,root,-) удалите - Из всех макросов можно поудалять фигурные скобки, типа: s/%{_bindir}/%_bindir/ - s|%{_datadir}/applications|%_desktopdir| > %prep > %setup -q -n %name-%version-beta6 s/%setup -q/%setup/ [...] > %install > rm -rf %buildroot > make install DESTDIR=%buildroot -rm -rf %buildroot -make install DESTDIR=%buildroot +%make_install DESTDIR=%buildroot install [...] > %clean > rm -rf $RPM_BUILD_ROOT Можно удалить. > %changelog > * Fri Mar 30 2007 Nicolas Le'cureuil <neoclust@mandriva.org> > 3.0.0-0.beta6.2mdv2007.1 > + Revision: 150123 > - Fix summary > - Add icon into menu (bug #29881) [...] А вы где? Добавьте себя: add_changelog filezilla.spec и потом vim'ом. > где здесь отверткой покрутить? Попробуйте собрать более новую версию. На сайте уже beta11 есть. -- + Slava Semushin | slava.semushin @ gmail.com + ALT Linux Team | php-coder @ altlinux.ru ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-02 12:06 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-08-02 11:44 ` [sisyphus] сборка пакетов Maks Tuncov 2007-08-02 12:06 ` Slava Semushin
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git