From: "Dmitry V. Popkov" <dv@rtcom.tver.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Re: ...building ... FlightGear Date: Fri, 13 Dec 2002 19:54:43 +0300 Message-ID: <3DFA10D3.4020105@rtcom.tver.ru> (raw) In-Reply-To: <20021213163654.GL1031@osdn.org.ua> [-- Attachment #1: Type: text/plain, Size: 1279 bytes --] 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. [-- Attachment #2: metakit.spec --] [-- Type: text/plain, Size: 2369 bytes --] %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 <jcw@equi4.com> %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 <lenny@mandrakesoft.com> 2.4.6-2mdk - rebuild * Mon Jun 3 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 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 <gc@mandrakesoft.com> 2.4.3-1mdk - first mdk release as a separate package (was previously inside simgear) [-- Attachment #3: SimGear.spec --] [-- Type: text/plain, Size: 1684 bytes --] %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
next prev parent reply other threads:[~2002-12-13 16:54 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-13 14:56 [sisyphus] silly Q: appending GCJ tag to libtool (building metakit for FlightGear) Michael Shigorin 2002-12-13 14:57 ` Герасимов Дмитрий 2002-12-13 15:20 ` [sisyphus] Re: ...building ... FlightGear Michael Shigorin 2002-12-13 22:02 ` Vitaly Lipatov 2002-12-14 4:32 ` Albert R. Valiev 2002-12-15 16:18 ` Michael Shigorin 2002-12-13 15:04 ` [sisyphus] silly Q: appending GCJ tag to libtool (building metakit for FlightGear) Dmitry V. Levin 2002-12-13 15:30 ` [sisyphus] " Michael Shigorin 2002-12-13 16:29 ` Dmitry V. Popkov 2002-12-13 16:36 ` [sisyphus] Re: ...building ... FlightGear Michael Shigorin 2002-12-13 16:54 ` Dmitry V. Popkov [this message] 2002-12-15 16:19 ` Michael Shigorin
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=3DFA10D3.4020105@rtcom.tver.ru \ --to=dv@rtcom.tver.ru \ --cc=sisyphus@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 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