]> git.pld-linux.org Git - packages/gnustep-base.git/blame - gnustep-base.spec
- fixed ppc
[packages/gnustep-base.git] / gnustep-base.spec
CommitLineData
a1765662
JB
1#
2# Conditional build:
8191a52b 3%bcond_without doc # don't generate documentation (bootstrap build w/o gnustep-base)
a1765662 4#
776d94ab 5Summary: GNUstep Base library package
129467cf 6Summary(pl): Podstawowa biblioteka GNUstep
776d94ab 7Name: gnustep-base
77e6e1d0 8Version: 1.9.2
a05231c2 9Release: 0.1
a1765662 10License: LGPL/GPL
30ff75eb 11Group: Libraries
776d94ab 12Source0: ftp://ftp.gnustep.org/pub/gnustep/core/%{name}-%{version}.tar.gz
77e6e1d0 13# Source0-md5: b1fe102145f32aa05ebff41ffd7b9fd0
aed1ee97 14Source1: %{name}.init
81fa6835 15Patch0: %{name}-link.patch
b993d150 16URL: http://www.gnustep.org/
2bc9384c 17BuildRequires: ffcall-devel
9a75922c
JB
18BuildRequires: gcc-objc
19BuildRequires: gmp-devel
ab7740cd 20%{?with_doc:BuildRequires: gnustep-base-devel >= 1.8.0}
8191a52b 21%{?with_doc:BuildRequires: docbook-dtd41-sgml}
ab7740cd 22BuildRequires: gnustep-make-devel >= 1.8.0
aed1ee97 23BuildRequires: libxml2-devel >= 2.3.0
c273ed87 24BuildRequires: openssl-devel >= 0.9.7d
9a75922c
JB
25BuildRequires: zlib-devel
26Requires(post,preun): grep
27Requires(post,preun): /sbin/chkconfig
28Requires(post,postun): /sbin/ldconfig
5f741c7a 29Requires: gnustep-make >= 1.8.0
aed1ee97
JB
30# with gdomap in /etc/services
31Requires: setup >= 2.4.3
9a75922c
JB
32Conflicts: gnustep-core
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
5f741c7a 35%define _prefix /usr/%{_lib}/GNUstep
9a75922c
JB
36
37%define libcombo gnu-gnu-gnu
38%define gsos linux-gnu
39%ifarch %{ix86}
40%define gscpu ix86
41%else
42# also s/alpha.*/alpha/, but we use only "alpha" arch for now
4b141710 43%define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
5f741c7a 44%endif
b993d150 45
46%description
776d94ab 47The GNUstep Base Library is a library of general-purpose,
48non-graphical Objective C objects. For example, it includes classes
49for strings, object collections, byte streams, typed coders,
50invocations, notifications, notification dispatchers, moments in time,
51network ports, remote object messaging support (distributed objects),
9a75922c 52event loops, and random number generators.
b993d150 53
129467cf
JB
54%description -l pl
55