Name: ois Version: 1.3.0 Release: 14%{?dist} Summary: Open Input System, OO gaming input library Group: System Environment/Libraries License: zlib URL: http://sourceforge.net/projects/wgois Source0: http://downloads.sourceforge.net/wgois/%{name}_v1-3.tar.gz Patch0: ois-gcc47.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool libXaw-devel %description Object Oriented Input System (OIS) is meant to be a cross platform, simple solution for using all kinds of Input Devices (KeyBoards, Mice, Joysticks, etc) and feedback devices (e.g. forcefeedback). Written in C++ using Object Oriented Design patterns. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: pkgconfig, %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n ois-v1-3 %patch0 chmod -x `find includes -type f` `find src -type f` ReadMe.txt sed "s|\r||g" ReadMe.txt > ReadMe.txt.new touch -r ReadMe.txt ReadMe.txt.new mv ReadMe.txt.new ReadMe.txt sh bootstrap %build %configure --disable-static sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc ReadMe.txt %{_libdir}/libOIS-1.3.0.so %files devel %defattr(-,root,root,-) %{_includedir}/OIS %{_libdir}/libOIS.so %{_libdir}/pkgconfig/OIS.pc %changelog * Thu Aug 03 2017 Fedora Release Engineering - 1.3.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.3.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.3.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.3.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.3.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.3.0-9 - Rebuilt for GCC 5 C++11 ABI change * Tue Nov 18 2014 Bruno Wolff III - 1.3.0-8 - Use sed instead of dos2unix for building * Sun Aug 17 2014 Fedora Release Engineering - 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 1.3.0-2 - Rebuilt for c++ ABI breakage * Mon Jan 16 2012 Bruno Wolff III - 1.3.0-1 - Upstream 1.3 release. Mostly bug fixes. - The bootstrap file is no longer executable in the shipped source - Add unistd.h includes for gcc 4.7 - ReadMe.txt now has dos line endings in the shipped source * Fri Jan 13 2012 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Nov 19 2009 Bruno Wolff III - 1.2.0-2 - Fix unneeded linking to libm * Tue Nov 17 2009 Bruno Wolff III - 1.2.0-1 - Update to 1.2 for use in dungeonhack * Sat Jul 25 2009 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 1.0-4 - Autorebuild for GCC 4.3 * Wed Jan 9 2008 Hans de Goede 1.0-3 - Fix compilation gcc 4.3 * Wed Aug 15 2007 Hans de Goede 1.0-2 - Update License tag for new Licensing Guidelines compliance * Sun Jul 1 2007 Hans de Goede 1.0-1 - Initial Fedora package