Name: oorexx Version: 4.1.0 Release: 2%{?dist} Summary: Open Object Rexx Group: Development/Languages License: CPL URL: http://www.oorexx.org Source0: http://switch.dl.sourceforge.net/sourceforge/oorexx/ooRexx-%{version}-source.tar.gz Source1: http://switch.dl.sourceforge.net/sourceforge/oorexx/ooRexx-%{version}-pdf.zip Patch0: oorexx-4.1.0-paths.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: byacc %description Open Object Rexx is an object-oriented scripting language. The language is designed for "non-programmer" type users, so it is easy to learn and easy to use, and provides an excellent vehicle to enter the world of object-oriented programming without much effort. It extends the procedural way of programming with object-oriented features that allow you to gradually change your programming style as you learn more about objects. %package libs Summary: Libraries for ooRexx Group: System Environment/Libraries %description libs Libraries for ooRexx. %package docs Summary: Documentation for ooRexx Group: Development/Languages Requires: %{name} = %{version}-%{release} %description docs Documentation for ooRexx. %package devel Summary: Header files and libraries for ooRexx Group: Development/Languages Requires: %{name} = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} %description devel Header files and libraries for ooRexx. %prep %setup -c -q -n ooRexx-%{version} unzip -qo %{SOURCE1} %patch0 -p1 -b .paths %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' ';' rm -fr samples/**/.deps rm -f $RPM_BUILD_ROOT%{_datadir}/ooRexx/rexx.csh rm -f $RPM_BUILD_ROOT%{_datadir}/ooRexx/rexx.sh chmod 0644 $RPM_BUILD_ROOT%{_datadir}/ooRexx/* # remove cruft rm -f $RPM_BUILD_ROOT%{_datadir}/ooRexx/{*.rex,readme} find . -name .deps | xargs rm -fr rm -fr samples/windows %clean rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc CPLv1.0.txt readme.pdf CHANGES %{_bindir}/rexx %{_bindir}/rexxc %{_bindir}/rexximage %{_bindir}/rxapi %{_bindir}/rxapid %{_bindir}/rxqueue %{_bindir}/rxsubcom %{_datadir}/ooRexx %{_mandir}/man*/* %files docs %defattr(-,root,root,-) %doc rexxpg.pdf rexxref.pdf rxftp.pdf rxmath.pdf rxsock.pdf %doc samples ReleaseNotes %files devel %defattr(-,root,root,-) %{_includedir}/* %{_bindir}/oorexx-config %{_libdir}/*.so %files libs %defattr(-,root,root,-) %doc CPLv1.0.txt %{_libdir}/lib*.so.* %changelog * Sat Feb 5 2011 Gérard Milmeister <gemi@bluewin.ch> - 4.1.0-2 - added BuildRequires byacc * Sat Feb 5 2011 Gérard Milmeister <gemi@bluewin.ch> - 4.1.0-1 - new release 4.1.0 * Sun Aug 9 2009 Gerard Milmeister <gemi@bluewin.ch> - 4.0.0-2.4801 - moved .so libraries to -libs * Sat Aug 8 2009 Gerard Milmeister <gemi@bluewin.ch> - 4.0.0-1.4801 - new release 4.0.0 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 23 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.2.0-4 - fix for GCC 4.3 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2.0-3 - Autorebuild for GCC 4.3 * Sat Dec 1 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.2.0-2 - exclude arch ppc64 * Sat Dec 1 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.2.0-1 - new release 3.2.0 * Sun Dec 3 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.1.1-1 - new version 3.1.1 * Tue Oct 10 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.1.0-5 - Exclude x86_64 * Mon Oct 9 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.1.0-4 - Build exclusively on i386 for now * Mon Sep 25 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.1.0-1 - new version 3.1.0 * Tue May 2 2006 Gerard Milmeister <gemi@bluewin.ch> - 3.0.0-1 - First Fedora release