Group :: Desktop gráfico/GNUstep
RPM: gnustep-gorm
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%set_verify_elf_method unresolved=strict
Name: gnustep-gorm
Version: 1.2.20
Release: alt3.svn20140119
Summary: The GNUstep Interface Builder
License: GPLv3+
Group: Graphical desktop/GNUstep
Url: http://www.gnustep.org/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
# http://svn.gna.org/svn/gnustep/apps/gorm/trunk/
Source: %name-%version.tar
Source1: %name.menu
BuildPreReq: clang-devel gnustep-make-devel gnustep-base-devel
BuildPreReq: libgnustep-objc2-devel gnustep-gui-devel /proc
BuildPreReq: texinfo texi2html texlive-latex-base
Requires: lib%name = %version-%release
Requires: gnustep-back
%description
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
Gorm is a clone of the Cocoa (OpenStep/NeXTSTEP) `Interface Builder'
application for GNUstep.
%package -n lib%name
Summary: Shared libraries of the GNUstep Interface Builder
Group: System/Libraries
%description -n lib%name
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
This package contains shared libraries of Gorm.
%package -n lib%name-devel
Summary: Development files of the GNUstep Interface Builder
Group: Development/Objective-C
Provides: %name-devel = %version-%release
Requires: lib%name = %version-%release
Requires: %name = %version-%release
%description -n lib%name-devel
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
This package contains development files of Gorm.
%package doc
Summary: Documentation for the GNUstep Interface Builder
Group: Documentation
BuildArch: noarch
%description doc
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
This package contains documentation for Gorm.
%prep
%setup
%build
export GNUSTEP_MAKEFILES=%_datadir/GNUstep/Makefiles
. %_datadir/GNUstep/Makefiles/GNUstep.sh
buildIt() {
%make_build \
messages=yes \
debug=yes \
strip=no \
shared=yes \
CONFIG_SYSTEM_LIBS="-lgnustep-gui -lgnustep-base -lobjc2 -lm $1 $2 $3"
}
libGorm=$PWD/GormLib/obj/libGorm.so
libGormCore=$PWD/GormCore/obj/libGormCore.so
libGormPrefs=$PWD/GormPrefs/obj/libGormPrefs.so
buildIt
pushd GormCore
%make clean
buildIt $libGorm
popd
pushd GormPrefs
%make clean
buildIt $libGormCore $libGorm
popd
for i in 0Menus 1Windows 2Controls 3Containers 4Data Gorm Nib GModel Xib
do
rm -f $(find ./ -name $i -type f)
done
buildIt $libGormPrefs $libGormCore $libGorm
%make_build -C Documentation \
messages=yes
%install
. %_datadir/GNUstep/Makefiles/GNUstep.sh
%makeinstall_std \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
%makeinstall_std -C Documentation \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
install -p -D -m644 %SOURCE1 %buildroot%_menudir/%name
gzip ChangeLog
%files
%doc ANNOUNCE ChangeLog* NEWS NOTICE README TODO
%_bindir/*
%_libdir/GNUstep
%_menudir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%files doc
%_docdir/GNUstep
%_infodir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: gnustep-gorm
Version: 1.2.20
Release: alt3.svn20140119
Summary: The GNUstep Interface Builder
License: GPLv3+
Group: Graphical desktop/GNUstep
Url: http://www.gnustep.org/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
# http://svn.gna.org/svn/gnustep/apps/gorm/trunk/
Source: %name-%version.tar
Source1: %name.menu
BuildPreReq: clang-devel gnustep-make-devel gnustep-base-devel
BuildPreReq: libgnustep-objc2-devel gnustep-gui-devel /proc
BuildPreReq: texinfo texi2html texlive-latex-base
Requires: lib%name = %version-%release
Requires: gnustep-back
%description
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
Gorm is a clone of the Cocoa (OpenStep/NeXTSTEP) `Interface Builder'
application for GNUstep.
%package -n lib%name
Summary: Shared libraries of the GNUstep Interface Builder
Group: System/Libraries
%description -n lib%name
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
This package contains shared libraries of Gorm.
%package -n lib%name-devel
Summary: Development files of the GNUstep Interface Builder
Group: Development/Objective-C
Provides: %name-devel = %version-%release
Requires: lib%name = %version-%release
Requires: %name = %version-%release
%description -n lib%name-devel
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
This package contains development files of Gorm.
%package doc
Summary: Documentation for the GNUstep Interface Builder
Group: Documentation
BuildArch: noarch
%description doc
Gorm is an acronym for Graphic Object Relationship modeler (or perhaps
GNUstep Object Relationship Modeler).
This package contains documentation for Gorm.
%prep
%setup
%build
export GNUSTEP_MAKEFILES=%_datadir/GNUstep/Makefiles
. %_datadir/GNUstep/Makefiles/GNUstep.sh
buildIt() {
%make_build \
messages=yes \
debug=yes \
strip=no \
shared=yes \
CONFIG_SYSTEM_LIBS="-lgnustep-gui -lgnustep-base -lobjc2 -lm $1 $2 $3"
}
libGorm=$PWD/GormLib/obj/libGorm.so
libGormCore=$PWD/GormCore/obj/libGormCore.so
libGormPrefs=$PWD/GormPrefs/obj/libGormPrefs.so
buildIt
pushd GormCore
%make clean
buildIt $libGorm
popd
pushd GormPrefs
%make clean
buildIt $libGormCore $libGorm
popd
for i in 0Menus 1Windows 2Controls 3Containers 4Data Gorm Nib GModel Xib
do
rm -f $(find ./ -name $i -type f)
done
buildIt $libGormPrefs $libGormCore $libGorm
%make_build -C Documentation \
messages=yes
%install
. %_datadir/GNUstep/Makefiles/GNUstep.sh
%makeinstall_std \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
%makeinstall_std -C Documentation \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
install -p -D -m644 %SOURCE1 %buildroot%_menudir/%name
gzip ChangeLog
%files
%doc ANNOUNCE ChangeLog* NEWS NOTICE README TODO
%_bindir/*
%_libdir/GNUstep
%_menudir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%files doc
%_docdir/GNUstep
%_infodir/*
%changelog
…
Todas as alterações você pod ver aqui