1 %define libf_makeflags -w
3 Summary: libFoundation Objective-C library
4 Summary(pl.UTF-8): Biblioteka Objective-C libFoundation
8 Vendor: OpenGroupware.org
9 License: libFoundation license
11 Source0: http://download.opengroupware.org/sources/releases/libFoundation-%{version}-r155.tar.gz
12 # Source0-md5: 7df921ab5705af28a75e62a3a8744cb6
13 URL: http://www.opengroupware.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
18 BuildRequires: gcc-objc
19 BuildRequires: gnustep-make-devel >= 1.10.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package contains the libFoundation library, an Objective-C
24 library which aims to implement the Foundation part of the OpenStep
27 %description -l pl.UTF-8
28 Ten pakiet zawiera libFoundation - bibliotekę Objective-C, której
29 celem jest zaimplementowanie części Foundation ze specyfikacji
33 Summary: The header files for the libFoundation Objective-C library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Objective-C libFoundation
35 Group: Development/Libraries
36 Requires: gnustep-make-devel >= 1.10.0
37 Requires: %{name} = %{version}-%{release}
40 libFoundation Objective-C development package.
42 %description devel -l pl.UTF-8
43 Pakiet programistyczny biblioteki Objective-C libFoundation.
46 %setup -q -n libfoundation
49 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
51 %{__make} %{libf_makeflags} all
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_libdir}
56 install -d $RPM_BUILD_ROOT%{_libdir}/GNUstep/System/Library/Makefiles/Additional
58 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
60 %{__make} %{libf_makeflags} install \
61 INSTALL_ROOT_DIR=$RPM_BUILD_ROOT \
62 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System \
63 FHS_INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix}
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/Defaults
74 %attr(755,root,root) %{_libdir}/libFoundation*.so.*.*
75 %dir %{_datadir}/libFoundation
76 %{_datadir}/libFoundation/CharacterSets
77 %{_datadir}/libFoundation/Defaults
78 %{_datadir}/libFoundation/TimeZoneInfo
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libFoundation*.so
83 %{_includedir}/lfmemory.h
84 %{_includedir}/real_exception_file.h
85 %{_includedir}/Foundation
86 %{_includedir}/extensions
87 %{_libdir}/GNUstep/System