From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 29 Apr 2005 16:59:08 +0700 From: php-coder To: community@altlinux.ru Subject: Re: [Comm] spec =?cp1251?B?5Ov/?= SIM 0.8.3 Message-ID: <20050429095908.GA3119@mycomp.mydomain> Mail-Followup-To: community@altlinux.ru References: <20050429125256.1f6f1e35.vikerness@mail.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="CE+1k2dSO48ffgeK" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050429125256.1f6f1e35.vikerness@mail.ru> X-Mailer: The Bat! (v1.61) X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 09:50:58 -0000 Archived-At: List-Archive: List-Post: --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=cp1251 Content-Disposition: inline Content-Transfer-Encoding: 8bit --- Michael Isachenkov 2005-04-29 12:52:56 +0400 +++ php-coder 2005-04-29 16:52:15 +0700 > Собралось. Жду ругани и дополнений :) Hint: используйте cleanup_spec для того чтобы сделать спек более "чистым" и адаптированным для сборки в ALT Hint: используйте buildreq для генерации тега BuildRequires Обе программы находятся в пакете rpm-utils diff с некоторыми исправлениями/улучшениями прилагается -- + php-coder + php-coder[at]ngs[dot]ru --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sim.spec.diff" --- sim.spec.orig 2005-04-29 16:45:13 +0700 +++ sim.spec 2005-04-29 16:50:57 +0700 @@ -1,21 +1,16 @@ -%define name sim -%define version 0.8.3 -%define release 2aphlux - -Name: %name +Name: sim Summary: A QT/KDE ICQ instant messaging client -Version: %version -Release: %release -Source: %{name}-%{version}.tar.bz2 +Version: 0.8.3 +Release: 2aphlux +Source: %name-%version.tar.bz2 License: GPL Group: Networking/Instant messaging Url: http://sim-icq.sourceforge.net/ -BuildRoot: %{_tmppath}/%{name}-buildroot Requires: libqt3 > 3.0.4, kdelibs > 3.0 BuildRequires: libqt3-devel > 3.0.4, kdelibs-devel > 3.0 BuildRequires: autoconf_2.5, automake_1.7 BuildRequires: libfam-devel -Patch1: correct_appsdir.patch.bz2 +Patch: correct_appsdir.patch.bz2 %description Sim is a QT icq client with enhanced features and special support for KDE2/3. @@ -42,10 +37,9 @@ - Sending of the messages to several users %prep -rm -rf $RPM_BUILD_ROOT %setup -q -%patch1 -p0 -b .correct_appsdir +%patch -p0 -b .correct_appsdir %__subst 's,\.la\>,.so,' admin/acinclude.m4.in %__subst "s/\-ansi /\-fPIC -DPIC /g" admin/acinclude.m4.in @@ -55,7 +49,7 @@ #WANT_AUTOCONF_2_5=1 gmake -f admin/Makefile.common # my libtool doesn't know --tag. where did that come from ? -perl -pi -e 's/^(CXXLINK.*?)\s*--tag=CXX/$1/' sim/Makefile.in +%__perl -pi -e 's/^(CXXLINK.*?)\s*--tag=CXX/$1/' sim/Makefile.in %configure --disable-rpath %make @@ -64,34 +58,29 @@ %makeinstall # Menu -mkdir -p %buildroot/%_menudir -cat > %buildroot/%_menudir/%name < %buildroot/%_menudir/%name < 0.8.3-2mdk --CE+1k2dSO48ffgeK--