Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:markkp:THE
regina
regina.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File regina.spec of Package regina
# # spec file for package regina (Version 3.9.1) # # Copyright (c) 2015 Mark Hessling # Copyright (c) 2008-2015 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/ # # norootforbuild %define debug_package %{nil} %define vermajor 3 %define verminor 9 Name: regina Version: 3.9.1 Release: 1 Group: Development/Languages/Other Source0: Regina-REXX-%{version}.tar.gz Source1: Regina-REXX-%{version}-doc.pdf patch0: rxstack.init.d.in.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root buildroot: %{_tmppath}/%{name}-%{version}-root Prefix: /usr License: LGPL-2.0 and GFDL-1.1+ Vendor: Mark Hessling URL: http://regina-rexx.sourceforge.net Summary: Regina Rexx Interpreter binaries, language files and sample programs %ifarch x86_64 ia64 ppc64 s390x sparc64 # Provides: _{name}(64bit) #Requires: %{name}-lib(64bit) %else # Provides: _{name} #Requires: %{name}-lib %endif # if we don't have _extension defined, define it # this is because Mandriva defines _extension %{!?_extension: %define _extension .gz} #PreReq: %fillup_prereq %insserv_prereq %description Regina is an implementation of a Rexx interpreter, compliant with the ANSI Standard for Rexx (1996). It is also available on several other operating systems. For more information on Regina, visit http://regina-rexx.sourceforge.net/ For more information on Rexx, visit http://www.rexxla.org %package devel %ifarch x86_64 ia64 ppc64 s390x sparc64 #Provides: _{name}-dev(64bit) libregina.so()(64bit) #Requires: %{name}-lib(64bit) %else #Provides: _{name}-dev libregina.so() #Requires: %{name}-lib %endif Group: Development/Languages/Other Summary: Regina Rexx development libraries and header file %description devel Regina is an implementation of a Rexx interpreter, compliant with the ANSI Standard for Rexx (1996). It is also available on several other operating systems. For more information on Regina, visit http://regina-rexx.sourceforge.net/ For more information on Rexx, visit http://www.rexxla.org %package lib %ifarch x86_64 ia64 ppc64 s390x sparc64 #Provides: _{name}-lib(64bit) %else #Provides: _{name}-lib %endif Group: Development/Languages/Other Summary: Regina Rexx runtime libraries %description lib Regina is an implementation of a Rexx interpreter, compliant with the ANSI Standard for Rexx (1996). It is also available on several other operating systems. For more information on Regina, visit http://regina-rexx.sourceforge.net/ For more information on Rexx, visit http://www.rexxla.org %prep %setup -n Regina-REXX-%{version} %patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{?suse_update_config:%{suse_update_config -f}} %ifarch s390x ls -ldi . %endif ./configure --prefix=%{prefix} \ --mandir=%{_mandir} \ --sysconfdir=%{_initrddir} \ --with-addon-dir=%{_datadir}/%{name}/addons make %install make DESTDIR=%{buildroot} install cp %{S:1} . cd %{buildroot}%{_mandir}/man1 ln -s regina.1%{_extension} rexx.1%{_extension} cd - mv -i %{buildroot}/%{_datadir}/Regina-REXX/* %{buildroot}/%{_datadir}/%{name} rmdir %{buildroot}/%{_datadir}/Regina-REXX mkdir -p %{buildroot}%{_sbindir} cd %{buildroot}%{_sbindir} ln -s /etc/init.d/rxstack rcrxstack %files %defattr(-,root,root,-) %doc COPYING-LIB README.* Regina-REXX-%{version}-doc.pdf %{_mandir}/man1/regina.1%{_extension} %{_mandir}/man1/rexx.1%{_extension} %{_mandir}/man1/rxstack.1%{_extension} %{_mandir}/man1/rxqueue.1%{_extension} %{_initrddir}/rxstack %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/examples %dir %{_datadir}/%{name}/addons %{_datadir}/%{name}/examples/rexxcps.rexx %{_datadir}/%{name}/examples/animal.rexx %{_datadir}/%{name}/examples/block.rexx %{_datadir}/%{name}/examples/dateconv.rexx %{_datadir}/%{name}/examples/timeconv.rexx %{_datadir}/%{name}/examples/newstr.rexx %{_datadir}/%{name}/examples/dynfunc.rexx %{_datadir}/%{name}/examples/regutil.rexx %{_datadir}/%{name}/de.mtb %{_datadir}/%{name}/en.mtb %{_datadir}/%{name}/es.mtb %{_datadir}/%{name}/no.mtb %{_datadir}/%{name}/pl.mtb %{_datadir}/%{name}/pt.mtb %{_datadir}/%{name}/sv.mtb %{_datadir}/%{name}/tr.mtb %{_bindir}/rexx %{_bindir}/regina %{_bindir}/rxqueue %{_bindir}/rxstack %{_sbindir}/rcrxstack %{_datadir}/%{name}/addons/librxtest1.so %{_datadir}/%{name}/addons/librxtest2.so %exclude %{_mandir}/man1/regina-config.1%{_extension} %files devel %defattr(-,root,root,-) %doc INSTALL %{_libdir}/libregina.so %{_libdir}/libregina.a %{_includedir}/rexxsaa.h %{_mandir}/man1/regina-config.1%{_extension} %{_bindir}/regina-config %files lib %defattr(-,root,root,-) %dir %{_datadir}/%{name}/addons %{_libdir}/libregina.so.%{vermajor}.%{verminor} %{_libdir}/libregina.so.%{vermajor} %{_datadir}/%{name}/addons/libregutil.so #****************************************************************************** %post # Add the rxstack service %if 0%{?suse_version} %fillup_and_insserv rxstack %endif ldconfig #****************************************************************************** %preun %if 0%{?suse_version} %stop_on_removal rxstack %endif #****************************************************************************** %postun %if 0%{?suse_version} %restart_on_update rxstack %insserv_cleanup %endif ldconfig #****************************************************************************** %post lib ldconfig #****************************************************************************** %postun lib ldconfig #****************************************************************************** %post devel ldconfig #****************************************************************************** %postun devel ldconfig #****************************************************************************** %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