Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37620951
en ru br
ALT Linux repositórios
S:0.8-alt6

Group :: Desktop gráfico/GNUstep
RPM: gnustep-Toolbox

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%set_verify_elf_method unresolved=strict

Name: gnustep-Toolbox
Version: 0.8
Release: alt6
Summary: Collection of tools for GNUstep
License: GPLv2+
Group: Graphical desktop/GNUstep
Url: https://www.freshports.org/deskutils/toolbox/
Packager: Andrey Cherepanov <cas at altlinux.org>

Source: %name-%version.tar
Source1: %name.menu
Patch1: gnustep1.27-includes.patch
Patch2: link-libs.patch

BuildPreReq: gnustep-make-devel /proc
BuildPreReq: gnustep-gui-devel
BuildPreReq: libgmp-devel libgnutls-devel libgcrypt-devel
BuildPreReq: libxslt-devel libffi-devel libicu-devel zlib-devel

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

%description
Toolbox is a collection of tools. Each tool is in the form of bundle. In
a given category, you can add new items. Each item contains the value of
location and of bundle (tool). Depending on the location, items can have
different contents even with the same bundle. Conceptually, it is
similar to the bookmark. It does not only store the location, but also
the tool to access the location. The item is not supposed to change its
location frequently. It is designed to access the fixed location, either
on file system or over internet. Some items don't access any location,
such as calculator.

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

%description -n lib%name
Toolbox is a collection of tools. Each tool is in the form of bundle. In
a given category, you can add new items. Each item contains the value of
location and of bundle (tool). Depending on the location, items can have
different contents even with the same bundle. Conceptually, it is
similar to the bookmark. It does not only store the location, but also
the tool to access the location. The item is not supposed to change its
location frequently. It is designed to access the fixed location, either
on file system or over internet. Some items don't access any location,
such as calculator.

This package contains shared libraries of Toolbox.

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

%description -n lib%name-devel
Toolbox is a collection of tools. Each tool is in the form of bundle. In
a given category, you can add new items. Each item contains the value of
location and of bundle (tool). Depending on the location, items can have
different contents even with the same bundle. Conceptually, it is
similar to the bookmark. It does not only store the location, but also
the tool to access the location. The item is not supposed to change its
location frequently. It is designed to access the fixed location, either
on file system or over internet. Some items don't access any location,
such as calculator.

This package contains development files of Toolbox.

%prep
%setup
%patch1 -p2
%patch2 -p2

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

%make_build \
messages=yes \
debug=yes \
strip=no \
shared=yes \
CONFIG_SYSTEM_LIBS='-lgnustep-base' \
OBJCFLAGS='%optflags -DGNUSTEP' \
USE_NONFRAGILE_ABI=no \
TOPDIR=$PWD

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

%makeinstall_std GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
GNUSTEP_MAKE_STRICT_V2_MODE=no \
GNUSTEP_INSTALLATION_DIR=%buildroot%_libdir/GNUstep

pushd %buildroot%_libdir
cp GNUstep/Libraries/*.so* ./
for j in Toolbox; do
for i in lib$j.so*; do
rm -f $i
mv GNUstep/Libraries/$i ./
for k in lib$j.so.*.*; do
ln -s %_libdir/$k GNUstep/Libraries/$i
done
done
done
popd

install -d %buildroot%_bindir
ln -s %_libdir/GNUstep/Applications/Toolbox.app/Toolbox \
%buildroot%_bindir/
install -d %buildroot%_includedir
ln -s %_libdir/GNUstep/Headers/Toolbox %buildroot%_includedir/

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

%files
%doc DEVELOPER README TODO
%_bindir/*
%_libdir/GNUstep
%exclude %_libdir/GNUstep/Headers
%_menudir/*

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

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/GNUstep/Headers

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009