Name: rasterview Summary: CUPS raster file viewer Version: 1.7.1 Release: 12%{?dist} License: GPLv2+ Source: https://www.msweet.org/files/project7/rasterview-%{version}.tar.gz Url: http://www.msweet.org/projects.php/rasterview BuildRequires: make BuildRequires: gcc-c++ BuildRequires: gcc BuildRequires: fltk-devel BuildRequires: cups-devel BuildRequires: libpng-devel BuildRequires: libjpeg-devel BuildRequires: zlib-devel BuildRequires: desktop-file-utils >= 0.2.92 Patch1: rasterview-desktop-file.patch Patch2: rasterview-fltk.patch %description CUPS uses an intermediate format called raster for inkjet printers and others that require rasterized input. This program can be used to view this intermediate format and is mainly used for debugging printer drivers. %prep %setup -q -c %{name}-%{version} # Fixes for desktop file. %patch1 -p1 -b .desktop-file # Don't include static libraries for fltk %patch2 -p1 -b .fltk %build %configure make %install rm -rf %{buildroot} make BUILDROOT=%{buildroot} INSTALL='install -p' install rm -rf %{buildroot}%{_sysconfdir}/X11/applnk rm -f %{buildroot}%{_datadir}/applnk/Development/rasterview.desktop desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ --add-category System \ rasterview.desktop %files %doc README.md LICENSE NOTICE %{_bindir}/rasterview %{_datadir}/icons/hicolor/*/apps/rasterview.png %{_datadir}/mimelnk/application/vnd.cups-raster.desktop %{_datadir}/mimelnk/image/pwg-raster.desktop %{_datadir}/mimelnk/image/urf.desktop %{_datadir}/applications/*.desktop %{_datadir}/applications/Development/rasterview.desktop %changelog * Fri Jul 21 2023 Fedora Release Engineering - 1.7.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.7.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.7.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.7.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.7.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.7.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.7.1-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Aug 13 2018 Tim Waugh - 1.7.1-1 - New upstream release 1.7.1 (bug #1449256). * Sat Jul 14 2018 Fedora Release Engineering - 1.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Aug 28 2015 Tim Waugh - 1.4.1-1 - 1.4.1 (bug #1257378). * Thu Jun 18 2015 Fedora Release Engineering - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.3-11 - Rebuilt for GCC 5 C++11 ABI change * Thu Feb 19 2015 Rex Dieter 1.3-10 - rebuild (fltk) * Sun Aug 17 2014 Fedora Release Engineering - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue May 31 2011 Tim Waugh - 1.3-3 - Rebuilt against new fltk. * Fri May 20 2011 Tim Waugh - 1.3-2 - Bumped release. * Fri May 20 2011 Tim Waugh - 1.3-1 - 1.3. * Wed Feb 09 2011 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 6 2010 Tim Waugh - 1.2.1-3 - Changed default file attributes specification. - Update MIME and desktop databases in %%post and %%postun. * Wed Jan 6 2010 Tim Waugh - 1.2.1-2 - Removed unpackaged files and added build requirements (from package review bug #552610). * Mon Dec 14 2009 Tim Waugh - 1.2.1-1 - Initial package.