From: Eugene Prokopiev <prokopiev@stc.donpac.ru> To: community@altlinux.ru Subject: [Comm] Опакечивание DBMail : зависимости от ненужных и несуществующих файлов Date: Sat, 10 Sep 2005 15:19:09 +0400 Message-ID: <4322C12D.1040402@stc.donpac.ru> (raw) Здравствуйте! Решил опакетить 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 <eugene_prokopiev@mail.ru> 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 Откуда это берется? Я вроде не упоминал этих файлов в спеке или я ошибаюсь? -- С уважением, Прокопьев Евгений
next reply other threads:[~2005-09-10 11:19 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-09-10 11:19 Eugene Prokopiev [this message] 2005-09-10 11:23 ` Eugene Ostapets 2005-09-10 12:39 ` Eugene Prokopiev 2005-09-10 20:03 ` Eugene Ostapets 2005-09-11 17:40 ` Eugene Prokopiev 2005-09-11 19:00 ` Eugene Ostapets 2005-09-13 10:08 ` [Comm] Adm... " Michael Shigorin 2005-09-13 10:19 ` Eugene Ostapets 2005-09-13 14:41 ` [Comm] Re: *Опакечивание* " Michael Shigorin 2005-09-10 11:33 ` [Comm] Опакечивание " Eugene Prokopiev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4322C12D.1040402@stc.donpac.ru \ --to=prokopiev@stc.donpac.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git