]> git.pld-linux.org Git - SPECS.git/blob - gnustep-extensions.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gnustep-extensions.spec
1 Summary:        GNUstep Foundation Extensions Library
2 Summary(pl.UTF-8):      Biblioteka rozszerzeń GNUstep Foundation
3 Name:           gnustep-extensions
4 Version:        0.8.6
5 Release:        7
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        ftp://ftp.gnustep.org/pub/gnustep/libs/extensions-%{version}.tar.gz
9 # Source0-md5:  7cce1455ab9319c980c204d11c481874
10 Patch0:         %{name}-missing.patch
11 Patch1:         %{name}-gcc33.patch
12 Patch2:         %{name}-fs.patch
13 URL:            http://www.gnustep.org/
14 BuildRequires:  autoconf
15 BuildRequires:  gnustep-base-devel >= 1.9.0
16 Requires:       gnustep-base >= 1.9.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/%{_lib}/GNUstep
20
21 %define         libcombo        gnu-gnu-gnu
22 %define         gsos            linux-gnu
23 %ifarch %{ix86}
24 %define         gscpu           ix86
25 %else
26 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
27 %define         gscpu           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
28 %endif
29
30 %description
31 This package contains some classes that extend the basic behavior of
32 Foundation classes by adding some features. The current extensions are
33 an extended exception handling mechanism, a garbage collector, some
34 classes that allow you to easily create methods that accept
35 printf-like arguments and two classes for portable archiving and
36 unarchiving Objective-C data.
37
38 %description -l pl.UTF-8
39 Ten pakiet zawiera trochę klas rozszerzających podstawowe możliwości
40 klas poprzez. Te rozszerzenia to rozszerzona obsługa wyjątków, garbage
41 collector, klasy pozwalające łatwo tworzyć metody akceptujące
42 argumenty w stylu printf i dwie klasy do przenośnego pakowania i
43 rozpakowywania danych Objective-C.
44
45 %package devel
46 Summary:        Header files for GNUstep Foundation Extensions library
47 Summary(pl.UTF-8):      Pliki nagłówkowe dla biblioteki rozszerzeń GNUstep Foundation
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50 Requires:       gnustep-base-devel >= 1.7.3
51
52 %description devel
53 Header files for GNUstep Foundation Extensions library.
54
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe dla biblioteki rozszerzeń GNUstep Foundation.
57
58 %prep
59 %setup -q -n extensions-%{version}
60 %patch0 -p1
61 %patch1 -p1
62 %patch2 -p1
63
64 %build
65 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
66 cp -f %{_prefix}/System/Library/Makefiles/config.* .
67 %{__autoconf}
68 # test for broken __builtin_apply hangs on amd64
69 %configure \
70         ac_cv_broken_builtin_apply=no
71
72 %{__make} -j1 \
73         messages=yes
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
78
79 %{__make} -j1 install \
80         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc COPYING ChangeLog NEWS README
91 %attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %{_prefix}/System/Library/Headers/%{libcombo}/gnustep/extensions
96 %{_prefix}/System/Library/Headers/%{libcombo}/gnustep/objc
97 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so
98 %{_prefix}/System/Library/Makefiles/extensions.make
This page took 0.866737 seconds and 3 git commands to generate.