Name: libst2205 Version: 1.4.3 Release: 25%{?dist} Summary: Library for accessing the display of hacked st2205 photo frames License: GPLv3+ URL: http://picframe.spritesserver.nl/wiki/index.php # Note the st2205tool includes tools to actually hack the pictureframe, this is # something which should only be done by experienced techies and which we # should not package. We do want to package the lib (which also is the only # thing make install installs), hence the packagename is libst2205. Source0: http://www.neophob.com/files/st2205tool-1.4.3.tar.gz Patch0: st2205tool-1.4.3-no-exit.patch Patch1: st2205tool-1.4.3-width-height-swap.patch Patch2: libst2205-c99.patch BuildRequires: gcc BuildRequires: gd-devel BuildRequires: make %description It is possible to flash digital photo frames with the st2205 chip-sets with a modified firmware, which allows one to display real time images on the display of the frame from a PC. This package contains a library for accessing the display from the PC, for st2205 frames with the hacked firmware. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package tools Summary: Tools for %{name} Requires: %{name} = %{version}-%{release} %description tools This package contains the st2205 set picture utility which can be used to display a (properly sized) PNG file on a supported picture frames display. %prep %setup -q -n st2205tool %patch0 -p1 %patch1 -p1 %patch2 -p1 %build # -D_GNU_SOURCE to define the O_DIRECT macro. make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC -D_GNU_SOURCE" -C libst2205 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I../libst2205" -C setpic %install rm -rf $RPM_BUILD_ROOT # make install does not support DESTDIR nor PREFIX, DIY mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_includedir} install -m 755 setpic/setpic $RPM_BUILD_ROOT%{_bindir}/st2205-setpic install -m 755 libst2205/libst2205.so $RPM_BUILD_ROOT%{_libdir}/libst2205.so.1 ln -s libst2205.so.1 $RPM_BUILD_ROOT%{_libdir}/libst2205.so install -p -m 644 libst2205/st2205.h $RPM_BUILD_ROOT%{_includedir} %ldconfig_scriptlets %files %doc LICENSE %{_libdir}/%{name}.so.1 %files devel %doc %{name}/readme.txt %{_includedir}/st2205.h %{_libdir}/%{name}.so %files tools %{_bindir}/st2205-setpic %changelog * Mon Dec 12 2022 Florian Weimer - 1.4.3-25 - Port to C99 (#2152699) * Thu Jul 21 2022 Fedora Release Engineering - 1.4.3-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.4.3-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.4.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.4.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.4.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.4.3-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.4.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.4.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.4.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.4.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.4.3-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.4.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.4.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.4.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.4.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.4.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.4.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.4.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jun 11 2013 Remi Collet - 1.4.3-6 - rebuild for new GD 2.1.0 * Thu Feb 14 2013 Fedora Release Engineering - 1.4.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.4.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Feb 19 2011 Hans de Goede - 1.4.3-2 - Add missing BuildRequires: gd-devel - Fix building when libst2205-devel is not already installed * Sat Feb 19 2011 Hans de Goede - 1.4.3-1 - Initial Fedora package