Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bhwachter:sogo
gnustep-make
gnustep-make.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnustep-make.spec of Package gnustep-make
# # spec file for package gnustep-make # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define gs_config /etc/GNUstep/GNUstep.conf %define gs_layout fhs-other %define gs_mandir /share/man %define gs_infodir /share/info %define gs_makefiles %{_datadir}/GNUstep/Makefiles Name: gnustep-make Summary: GNUstep Makefile package Version: 2.6.8 Release: 0 License: LGPL-2.1+ and GPL-3.0+ Group: System/GUI/Other Url: http://www.gnustep.org/ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-objc %if 0%{?rhel_version} BuildRequires: gzip %endif # Disable debug package as rpm > 4.13 does not allow for empty debug file list. %global debug_package %{nil} %description This package contains the basic scripts, makefiles and directory layout needed to run and compile any GNUstep software. This package was configured for the FHS file system layout, customised for SUSE. %prep %setup -q %ifarch x86_64 ppc64 ppc64le ppc64p7 aarch64 # Change library paths if building for 64-bit architecture. sed -e 's|/lib/|/%{_lib}/|' -e 's|/lib$|/%{_lib}|' \ FilesystemLayouts/fhs-system > FilesystemLayouts/%{gs_layout} %else cp FilesystemLayouts/fhs-system FilesystemLayouts/%{gs_layout} %endif %build # CFLAGS is the same as the openSUSE 10.2 version of RPM_OPT_FLAGS, # except that '-D_FORTIFY_SOURCE=2' has been omitted because it # caused the Objective C compiler to generate non-working code. # Note that this setting will apply to all subsequent GNUstep # builds, even if not requested explicitly. # CPPFLAGS is set to suppress 'defined but not used' warnings # because, in gcc 4.1, Objective C produces huge quantities of # spurious warnings of this type. This setting has to be # re-specified explicitly for each individual build, otherwise # it is over-ridden by a subsequent -Wall. # '--with-tar=tar' ensures we get the real tar rather than gnutar. # If star is installed, it sets up a duff gnutar. CFLAGS=$(echo ${RPM_OPT_FLAGS} | sed 's/ -D_FORTIFY_SOURCE=2//') \ CPPFLAGS="-Wno-unused" \ ./configure --with-layout=%{gs_layout} \ %if 0%{?suse_version} >= 1120 --enable-native-objc-exceptions \ %endif --with-tar=tar make %{?_smp_mflags} %install make DESTDIR=${RPM_BUILD_ROOT} \ GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \ install %clean rm -rf ${RPM_BUILD_ROOT} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr (-, root, root) %doc ANNOUNCE ChangeLog COPYING FAQ GNUstep-HOWTO NEWS README RELEASENOTES %dir %{_sysconfdir}/GNUstep %dir %{_datadir}/GNUstep %{_bindir}/* %{_mandir}/man?/* %config(noreplace) %{gs_config} %{gs_makefiles} %defattr(0755,root,root) %{gs_makefiles}/*.template %{gs_makefiles}/*.*sh %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor