SPECS: libobjc-lf2.spec - added build against gnustep-make-libFoun...
czarny
czarny at pld-linux.org
Thu Sep 8 01:15:53 CEST 2005
Author: czarny Date: Wed Sep 7 23:15:53 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added build against gnustep-make-libFoundation
---- Files affected:
SPECS:
libobjc-lf2.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/libobjc-lf2.spec
diff -u SPECS/libobjc-lf2.spec:1.5 SPECS/libobjc-lf2.spec:1.6
--- SPECS/libobjc-lf2.spec:1.5 Wed Sep 7 02:33:40 2005
+++ SPECS/libobjc-lf2.spec Thu Sep 8 01:15:47 2005
@@ -6,7 +6,7 @@
Summary(pl): Biblioteka uruchomieniowa Objective C dla GNUstepa
Name: libobjc-lf2
Version: r124
-Release: 1
+Release: 2
Vendor: http://www.gnustep.org/
License: GPL
Group: Libraries
@@ -19,7 +19,7 @@
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-objc
-BuildRequires: gnustep-make-devel >= 1.10.0
+BuildRequires: gnustep-make-libFoundation-devel >= 1.10.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -33,7 +33,7 @@
Summary(pl): Pliki nagłówkowe biblioteki ObjC
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: gnustep-make-devel
+Requires: gnustep-make-libFoundation-devel
#AutoReqProv: off
%description devel
@@ -46,18 +46,18 @@
%setup -q -n libobjc-lf2
%build
-. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
+. %{_libdir}/GNUstep-libFoundation/System/Library/Makefiles/GNUstep.sh
%{__make} %{libf_objc_makeflags} all
%install
rm -rf $RPM_BUILD_ROOT
-. %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
+. %{_libdir}/GNUstep-libFoundation/System/Library/Makefiles/GNUstep.sh
%{__make} %{libf_objc_makeflags} install \
- GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
+ GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep-libFoundation/System
install -d $RPM_BUILD_ROOT%{_libdir}
-mv $RPM_BUILD_ROOT%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc*.so.lf2* $RPM_BUILD_ROOT%{_libdir}
+mv $RPM_BUILD_ROOT%{_libdir}/GNUstep-libFoundation/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil/libobjc*.so.lf2* $RPM_BUILD_ROOT%{_libdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -65,11 +65,11 @@
%post
if [ "$1" = "1" ]; then
if [ -e %{_libdir}/libobjc_d.so.lf2 ]; then
- cd %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu
+ cd %{_libdir}/GNUstep-libFoundation/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil
ln -sf %{_libdir}/libobjc_d.so.lf2
fi
if [ -e %{_libdir}/libobjc.so.lf2 ]; then
- cd %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu
+ cd %{_libdir}/GNUstep-libFoundation/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil
ln -sf %{_libdir}/libobjc.so.lf2
fi
fi
@@ -77,11 +77,11 @@
%postun
if [ "$1" = "0" ]; then
- if [ -h %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc_d.so.lf2 ]; then
- rm -f %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc_d.so.lf2
+ if [ -h %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil/libobjc_d.so.lf2 ]; then
+ rm -f %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil/libobjc_d.so.lf2
fi
- if [ -h %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc.so.lf2 ]; then
- rm -f %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc.so.lf2
+ if [ -h %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil/libobjc.so.lf2 ]; then
+ rm -f %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil/libobjc.so.lf2
fi
if [ -e %{_sysconfdir}/ld.so.conf.d/libobjc-lf2.conf ]; then
rm -f %{_sysconfdir}/ld.so.conf.d/libobjc-lf2.conf
@@ -95,8 +95,8 @@
%files devel
%defattr(644,root,root,755)
-%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/objc
-%attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc*.so
+%{_libdir}/GNUstep-libFoundation/System/Library/Headers/gnu-fd-nil/objc
+%attr(755,root,root) %{_libdir}/GNUstep-libFoundation/System/Library/Libraries/ix86/linux-gnu/gnu-fd-nil/libobjc*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -104,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2005/09/07 23:15:47 czarny
+- added build against gnustep-make-libFoundation
+
Revision 1.5 2005/09/07 00:33:40 wolvverine
- last version
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libobjc-lf2.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list