]> git.pld-linux.org Git - SPECS.git/blob - libfoundation.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libfoundation.spec
1 %define         libf_makeflags  -w
2
3 Summary:        libFoundation Objective-C library
4 Summary(pl.UTF-8):      Biblioteka Objective-C libFoundation
5 Name:           libfoundation
6 Version:        1.1.3
7 Release:        1
8 Vendor:         OpenGroupware.org
9 License:        libFoundation license
10 Group:          Libraries
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
16 BuildRequires:  bison
17 BuildRequires:  flex
18 BuildRequires:  gcc-objc
19 BuildRequires:  gnustep-make-devel >= 1.10.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package contains the libFoundation library, an Objective-C
24 library which aims to implement the Foundation part of the OpenStep
25 specification.
26
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
30 OpenStep.
31
32 %package devel
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}
38
39 %description devel
40 libFoundation Objective-C development package.
41
42 %description devel -l pl.UTF-8
43 Pakiet programistyczny biblioteki Objective-C libFoundation.
44
45 %prep
46 %setup -q -n libfoundation
47
48 %build
49 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
50 ./configure
51 %{__make} %{libf_makeflags} all
52
53 %install
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
57
58 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
59
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}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
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
79
80 %files devel
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
This page took 0.234094 seconds and 3 git commands to generate.