Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37590612
en ru br
ALT Linux repos
S:0.1.0-alt7.git20170619

Group :: Graphical desktop/GNUstep
RPM: gnustep-Backbone

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%set_verify_elf_method unresolved=strict

Name: gnustep-Backbone
Version: 0.1.0
Release: alt6.git20140219
Summary: Backbone is an attempt (our attempt) at creating a Really Good Desktop
License: GPLv2+
Group: Graphical desktop/GNUstep
Url: http://www.nongnu.org/backbone/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

# git://git.savannah.nongnu.org/backbone.git

Source: %name-%version.tar
Source1: %name.menu

BuildPreReq: clang-devel gnustep-make-devel libgnustep-objc2-devel /proc
BuildPreReq: gnustep-gui-devel gcc-objc
BuildPreReq: libgmp-devel libgnutls-devel libgcrypt-devel
BuildPreReq: libxslt-devel libffi-devel libicu-devel zlib-devel
BuildPreReq: gnustep-gorm-devel

Requires: lib%name = %EVR
Requires: gnustep-back

Requires: gnustep-terminal
Requires: gnustep-TextEdit

%description
Backbone is an attempt (our attempt) at creating a Really Good Desktop.
The metric we use for "Really Good" is our own. In short, to us, Really
Good means to carry on the NeXTSTEP(R) and OPENSTEP(R) spirit.

%package -n lib%name
Summary: Shared libraries of Backbone
Group: System/Libraries

%description -n lib%name
Backbone is an attempt (our attempt) at creating a Really Good Desktop.
The metric we use for "Really Good" is our own. In short, to us, Really
Good means to carry on the NeXTSTEP(R) and OPENSTEP(R) spirit.

This package contains shared libraries of Backbone.

%package -n lib%name-devel
Summary: Development files of Backbone
Group: Development/Objective-C
Provides: %name-devel = %EVR
Requires: %name = %EVR
Requires: lib%name = %EVR

%description -n lib%name-devel
Backbone is an attempt (our attempt) at creating a Really Good Desktop.
The metric we use for "Really Good" is our own. In short, to us, Really
Good means to carry on the NeXTSTEP(R) and OPENSTEP(R) spirit.

This package contains development files of Backbone.

%prep
%setup

%build
. %_datadir/GNUstep/Makefiles/GNUstep.sh

cd System

./bootstrap
export CC=clang
%configure

%install
. %_datadir/GNUstep/Makefiles/GNUstep.sh

cd System
export INSTALL_DIR=%buildroot%_libdir/GNUstep

%make_build \
messages=yes \
debug=yes \
strip=no \
shared=yes \
AUXILIARY_CPPFLAGS='-DHAVE_CONFIG_H' \
CONFIG_SYSTEM_LIBS='-lutil -lgnustep-gui -lgnustep-base -lobjc2'

install -d %buildroot%_libdir/GNUstep/Colors

%makeinstall_std GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
ADDITIONAL_INSTALL_DIRS=%buildroot%_libdir/GNUstep \

pushd %buildroot%_libdir
for j in BBAppKit PrefsModule; do
for i in lib$j.so*; do
rm -f $i
mv GNUstep/Frameworks/$j.framework/Versions/Current/$i ./
for k in lib$j.so.*.*; do
ln -s %_libdir/$k GNUstep/Frameworks/$j.framework/Versions/Current/$i
rm GNUstep/Frameworks/$j.framework/Versions/Current/$j
ln -s %_libdir/$k GNUstep/Frameworks/$j.framework/Versions/Current/$j
done
done
done
popd

install -p -D -m644 %SOURCE1 %buildroot%_menudir/%name

%files
%doc AUTHORS
%_bindir/*
%_libdir/GNUstep
%exclude %_libdir/GNUstep/Frameworks/*.framework/Headers
%exclude %_libdir/GNUstep/Frameworks/BBAppKit.framework/Versions/2014A/Headers
%exclude %_libdir/GNUstep/Frameworks/PrefsModule.framework/Versions/1.2.0/Headers
%_menudir/*

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/GNUstep/Frameworks/*.framework/Headers
%_libdir/GNUstep/Frameworks/BBAppKit.framework/Versions/2014A/Headers
%_libdir/GNUstep/Frameworks/PrefsModule.framework/Versions/1.2.0/Headers

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin