From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4322C12D.1040402@stc.donpac.ru> Date: Sat, 10 Sep 2005 15:19:09 +0400 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: [Comm] =?koi8-r?b?79DBy8XeydfBzsnFIERCTWFpbCA6INrB18nTyc3P09TJ?= =?koi8-r?b?IM/UIM7FztXWztnIIMkgzsXT1d3F09TX1cDdycggxsHKzM/X?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 11:17:27 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Решил опакетить dbmail. Написал такой спек (на основе спека courier-imap): Name: dbmail Version: 2.0.7 Release: alt1 Summary: DBMail is a POP3/IMAP server that enables email to be stored in and retrieved from a database License: GPL Group: System/Servers URL: http://dbmail.org PreReq: chkconfig ########################################### # Relations with other POP3/IMAP server pkgs (like courier-imap) # Provide the abstract service names (which are virtual pkg names), # specify their origin (our pkg name as the epoch + version-release): Provides: IMAPD = %name:%version-%release Provides: POP3D = %name:%version-%release # Conflict with all other real pkgs which provide the same services # (they should specify the origin the same way, so the epoch-version-release # of the virtual pkgs POP3D & IMAPD will always differ from that of ours if # they are provided by a different real pkg): Conflicts: IMAPD < %name:%version-%release Conflicts: IMAPD > %name:%version-%release Conflicts: POP3D < %name:%version-%release Conflicts: POP3D > %name:%version-%release # End of the statements to describe relations with other POP3/IMAP server pkgs ######################################## BuildRequires: libMySQL-devel Requires: libMySQL Source0: %name-%version.tar.gz Source1: %name-pop3d.init Source2: %name-imapd.init Source3: %name-lmtpd.init %description DBMail is a POP3/IMAP server that enables email to be stored in and retrieved from a database. With this build only MySQL can be used as database backends. %prep %setup %build %configure --with-mysql %make_build %install # adjust $RPM_BUILD for install %__mkdir_p %buildroot/%_sbindir %__mkdir_p %buildroot/%_libdir %__mkdir_p %buildroot/%_man1dir %__mkdir_p %buildroot/%_man8dir %__mkdir_p %buildroot/%_sysconfdir %__mkdir_p %buildroot/%_initdir %__mkdir_p %buildroot/%_docdir/%name-%version %__make DESTDIR=%buildroot install # package config and init scripts %__install -m 0644 %name.conf %buildroot/%_sysconfdir/%name.conf %__install -m 0755 %SOURCE1 %buildroot/%_initdir/%name-pop3d %__install -m 0755 %SOURCE2 %buildroot/%_initdir/%name-imapd %__install -m 0755 %SOURCE3 %buildroot/%_initdir/%name-lmtpd # package docs %__install -m 0644 AUTHORS %buildroot/%_docdir/%name-%version %__install -m 0644 BUGS %buildroot/%_docdir/%name-%version %__install -m 0644 COPYING %buildroot/%_docdir/%name-%version %__install -m 0644 ChangeLog %buildroot/%_docdir/%name-%version %__install -m 0644 EXTRAS %buildroot/%_docdir/%name-%version %__install -m 0644 INSTALL %buildroot/%_docdir/%name-%version %__install -m 0644 INSTALL.exim %buildroot/%_docdir/%name-%version %__install -m 0644 INSTALL.postfix %buildroot/%_docdir/%name-%version %__install -m 0644 INSTALL.qmail %buildroot/%_docdir/%name-%version %__install -m 0644 NEWS %buildroot/%_docdir/%name-%version %__install -m 0644 README %buildroot/%_docdir/%name-%version %__install -m 0644 THANKS %buildroot/%_docdir/%name-%version %__install -m 0644 TODO %buildroot/%_docdir/%name-%version %__install -m 0644 UPGRADING %buildroot/%_docdir/%name-%version %__install -m 0644 VERSION %buildroot/%_docdir/%name-%version %__install -m 0755 -d contrib %buildroot/%_docdir/%name-%version %post %post_service %name-pop3d %post_service %name-imapd %post_service %name-lmtpd %preun %preun_service %name-pop3d %preun_service %name-imapd %preun_service %name-lmtpd %files %_initdir/* %config(noreplace) %_sysconfdir/%name.conf %_sbindir/* %_man8dir/* %_man1dir/* %_libdir/* %dir %_docdir/%name-%version %doc %_docdir/%name-%version/* %changelog * Sun Sep 10 2004 Eugene Prokopiev 2.0.7-alt1 - initial package for ALT Linux При сборке получаю: Поиск Requires (используя /usr/lib/rpm/find-requires) Выполняется(Requires): /bin/sh -e /home/john/tmp/rpm-tmp.20488 + umask 022 + /bin/mkdir -p /home/john/RPM/BUILD + cd /home/john/RPM/BUILD + /usr/lib/rpm/find-requires error: file /etc/dbmail-imap/imapd: No such file or directory error: file /etc/dbmail-imap/imapd-ssl: No such file or directory error: file /etc/sysconfig/dbmail-imap: No such file or directory error: file /etc/dbmail-lmtp/lmtpd: No such file or directory error: file /etc/dbmail-lmtp/lmtpd-ssl: No such file or directory error: file /etc/sysconfig/dbmail-lmtp: No such file or directory error: file /etc/dbmail-pop3/pop3d: No such file or directory error: file /etc/dbmail-pop3/pop3d-ssl: No such file or directory error: file /etc/sysconfig/dbmail-pop3: No such file or directory + exit 0 Provides: IMAPD = dbmail:2.0.7-alt1, POP3D = dbmail:2.0.7-alt1, libdbmail.so.0 PreReq: chkconfig Requires(rpmlib): rpmlib(VersionedDependencies) <= 3.0.3-1, rpmlib(PayloadFilesHavePrefix) <= 4.0-1, rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: libMySQL, /etc/dbmail-imap/imapd, /etc/dbmail-imap/imapd-ssl, /etc/dbmail-lmtp/lmtpd, /etc/dbmail-lmtp/lmtpd-ssl, /etc/dbmail-pop3/pop3d, /etc/dbmail-pop3/pop3d-ssl, /etc/rc.d/init.d(failure), /etc/rc.d/init.d(msg_starting), /etc/rc.d/init.d(msg_stopping), /etc/rc.d/init.d(status), /etc/rc.d/init.d(success), /etc/sysconfig/dbmail-imap, /etc/sysconfig/dbmail-lmtp, /etc/sysconfig/dbmail-pop3, coreutils, libauthdbmail.so.0, libc.so.6, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libcrypt.so.1, libcrypt.so.1(GLIBC_2.0), libm.so.6, libmysqlclient.so.12, libmysqldbmail.so.0, libnsl.so.1, libsortdbmail.so.0, libz.so.1, service, sh Откуда это берется? Я вроде не упоминал этих файлов в спеке или я ошибаюсь? -- С уважением, Прокопьев Евгений