Name: gstream Version: 1.6 Release: 33%{?dist} Summary: Simplified stream output/input for Allegro License: Giftware URL: http://allegro.molhanec.net/gstream.html Source0: http://allegro.molhanec.net/gstrm16.zip BuildRequires: allegro-devel gcc-c++ texinfo BuildRequires: make %description gstream is a C++ add-on library for Allegro. Its main purpose is to provide a simplified syntax for Allegro's keyboard and text functions for input and output, so that you can treat a graphical mode as a console. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: allegro-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n gstream16 sed -i 's/\r//g' *.h *.cc gstream gmanip README NEWS touch -r font.dat *.h *.cc gstream gmanip touch -r gstream._tx README NEWS %build make %{?_smp_mflags} -f Makefile.unx MAKEDOC=%{_bindir}/allegro-makedoc \ OFLAGS="$RPM_OPT_FLAGS -fsigned-char -Wno-deprecated-declarations -fPIC" rm test.o # makefile makes a .a file, make a .so ourselves gcc -shared -o libgstrm.so.0 -Wl,-soname,libgstrm.so.0 $RPM_OPT_FLAGS *.o # generate man-pages too allegro-makedoc -man foo.3 gstream._tx sed -i 's/^.BR \(.*\) (3)/.BR gstream-\1 (3)/g' *.3 touch -r gstream._tx *.3 gstream.html gstream.inf %install mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_infodir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3 install -m 755 libgstrm.so.0 $RPM_BUILD_ROOT%{_libdir} ln -s libgstrm.so.0 $RPM_BUILD_ROOT%{_libdir}/libgstrm.so install -p -m 644 gstream.h gstream gmanip.h gmanip \ $RPM_BUILD_ROOT%{_includedir}/%{name} install -p -m 644 %{name}.inf $RPM_BUILD_ROOT%{_infodir}/%{name}.info for i in *.3; do install -p -m 644 $i $RPM_BUILD_ROOT%{_mandir}/man3/%{name}-$i done %ldconfig_scriptlets %files %doc README NEWS %{_libdir}/libgstrm.so.0 %files devel %doc %{name}.html %{_includedir}/%{name} %{_libdir}/libgstrm.so %{_infodir}/%{name}.info* %{_mandir}/man3/%{name}-* %changelog * Thu Jul 18 2024 Fedora Release Engineering - 1.6-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 1.6-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.6-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.6-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.6-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.6-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.6-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.6-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.6-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.6-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.6-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.6-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.6-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jul 30 2018 Hans de Goede - 1.6-20 - Fix FTBFS (rhbz#1604278) * Fri Jul 13 2018 Fedora Release Engineering - 1.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.6-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.6-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.6-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 1.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 13 2011 Hans de Goede - 1.6-6 - Rebuilt for new allegro-4.4 * Wed Feb 09 2011 Fedora Release Engineering - 1.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 1.6-2 - Autorebuild for GCC 4.3 * Fri Jan 18 2008 Hans de Goede 1.6-1 - Initial Fedora package