From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3DFA10D3.4020105@rtcom.tver.ru> Date: Fri, 13 Dec 2002 19:54:43 +0300 From: "Dmitry V. Popkov" User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20021204 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Re: ...building ... FlightGear References: <20021213145619.GA1031@osdn.org.ua> <20021213150429.GE24818@basalt.office.altlinux.ru> <20021213153015.GC1031@osdn.org.ua> <3DFA0AFA.8090608@rtcom.tver.ru> <20021213163654.GL1031@osdn.org.ua> In-Reply-To: <20021213163654.GL1031@osdn.org.ua> Content-Type: multipart/mixed; boundary="------------020003000003020603000205" Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: This is a multi-part message in MIME format. --------------020003000003020603000205 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Michael Shigorin пишет: > On Fri, Dec 13, 2002 at 07:29:46PM +0300, Dmitry V. Popkov wrote: > >>>Мне так и показалось -- не успел попробовать более старые >>>autotools на предмет проявления излишнего интеллекта, поэтому >>>пока на этой "версии" и остановился. >> >>Собирая metakit ничего подобного не наблюдал. > > > Странно. Давайте синхронизируем спеки и наборы установленных > пакетов? > Для metakit лениво взял spec от mdk > >>>Там вообще косяков хватает, особенно в SimGear -- должно, по >>>идее, ставить заголовки в /usr/include/simgear/куча_каталогов/*.h, >>>а получается без кучи_каталогов. Пришлось собирать FG с >> >>При сборке с оригинальным SimGear.spec из поставки SimGear-0.3.1 >>все раскладывается именно так, как надо > > > Из него и делал. > приложил для сравнения > >>А вот сам FlightGear-0.9.1 не идет, segmentation fault :( . > > > Чудесно летает. Я наконец-то понял, _зачем_ GF4... (и пожалел, > что у меня GF2) gcc-3.2.1 ? > > Но спек рисовался с нуля, тащить старый мандрейковский пакет ради > 0.01% его объема как-то не хотелось. Дебиановские diff.gz слил, > но забыл посмотреть :-)) > > http://ftp.debian.org/debian/pool/main/f/flightgear/flightgear_0.8.0-1.diff.gz > Бросьте спек pls, пока пытаюсь запустить без rpm. -- D.V.P. --------------020003000003020603000205 Content-Type: text/plain; name="metakit.spec" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="metakit.spec" %define name metakit %define version 2.4.8 %define release 0.2dp %define prefix %{_prefix} %define lib_name_orig libmetakit %define lib_major 0 %define lib_name %{lib_name_orig}%{lib_major} Summary: Embeddable database Name: %{name} Version: %{version} Release: %{release} License: GPL Group: System/Libraries Source: %{name}-%{version}.tar.gz Patch0: metakit-2.4.6-provide-lib-version.patch.bz2 URL: http://www.equi4.com/metakit/ # Author: Jean-Claude Wippler %description MetaKit is an embeddable database which runs on Unix, Windows, Macintosh, and other platforms. It lets you build applications which store their data efficiently, in a portable way, and which will not need a complex runtime installation. In terms of the data model, MetaKit takes the middle ground between RDBMS, OODBMS, and flat-file databases - yet it is quite different from each of them. %package -n %{lib_name} Summary: Main library for %{name} Group: System/Libraries Provides: %{lib_name_orig} = %{version}-%{release} %description -n %{lib_name} This package contains the library needed to run programs dynamically linked with %{name}. %package -n %{lib_name}-devel Summary: Files to compile programs that will use %{name} Group: Development/C Requires: %{lib_name} = %{version} Provides: %{lib_name_orig}-devel = %{version}-%{release} %description -n %{lib_name}-devel This package contains the headers that programmers will need to develop applications which will use %{name}. %prep %setup -q #%patch0 -p0 rm -rf builds/tests/CVS %build cd unix perl -pi -e "s/^CXXFLAGS.*/CXXFLAGS = $RPM_OPT_FLAGS/" Makefile.in %configure make %install cd unix %makeinstall %post -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig %files -n %{lib_name} %defattr(-, root, root) %doc README %{_libdir}/*.so* %files -n %{lib_name}-devel %defattr(-, root, root) %doc README #%{_libdir}/*.so %{_libdir}/*.*a %{_includedir}/* %changelog * Thu Sep 05 2002 Lenny Cartier 2.4.6-2mdk - rebuild * Mon Jun 3 2002 Guillaume Cottenceau 2.4.6-1mdk - recompile against latest libstdc++ - new version - provide library version so that we can use dynamic library as usual * Mon Feb 18 2002 Guillaume Cottenceau 2.4.3-1mdk - first mdk release as a separate package (was previously inside simgear) --------------020003000003020603000205 Content-Type: text/plain; name="SimGear.spec" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SimGear.spec" %define ver 0.3.1 %define rel 0.2dp %define prefix /usr Summary: Simulator Construction Gear. Name: SimGear Version: %ver Release: %rel Copyright: LGPL Group: Libraries/Graphics Source: %{name}-%{version}.tar.gz #URL: Packager: Fill In As You Wish Docdir: %{prefix}/doc %description This package contains a tools and libraries useful for constructing simulation and visualization applications such as FlightGear or TerraGear. Authors: N/A %prep %setup -n %{name}-%{version} %build # Needed for snapshot releases. if [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix else CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix fi if [ "$SMP" != "" ]; then JSMP = '"MAKE=make -k -j $SMP"' fi make ${JSMP}; %install make prefix=${RPM_BUILD_ROOT}%{prefix} install # # Generating file lists and store them in file-lists # Starting with the directory listings # find ${RPM_BUILD_ROOT}%{prefix}/{bin,include,lib} -type d | sed "s#^${RPM_BUILD_ROOT}#\%attr (-\,root\,root) \%dir #" > file-lists %{?ETCDR:find ${RPM_BUILD_ROOT}%{!?SYSCF:%{prefix}}/etc -type d | sed "s#^${RPM_BUILD_ROOT}#\%attr (-\,root\,root) \%dir #" >> file-lists} # # Then, the file listings # echo "%defattr (-, root, root)" >> file-lists %{?ETCDR:find ${RPM_BUILD_ROOT}%{!?SYSCF:%{prefix}}/etc/%{name}.conf -type f | sed -e "s#^${RPM_BUILD_ROOT}#%config #g" >> file-lists} find ${RPM_BUILD_ROOT}%{prefix} -type f | sed -e "s#^${RPM_BUILD_ROOT}##g" >> file-lists %clean (cd ..; rm -rf %{name}-%{version} ${RPM_BUILD_ROOT}) %files -f file-lists %defattr (-, root, root) %doc AUTHORS %doc COPYING %doc ChangeLog %doc INSTALL %doc NEWS %doc README %doc %{name}.spec.in --------------020003000003020603000205--