Name: skinedit Version: 1.27 Release: 1%{?dist} Summary: A skin editor for TiEmu License: GPLv2 URL: http://www.ticalc.org/archives/files/fileinfo/232/23201.html Source0: http://www.ticalc.org/pub/unix/skinedit.tar.gz BuildRequires: gtk2-devel, dos2unix, glibc-devel, gettext #Requires: %description SkinEdit is a Linux/Win32 skin editor. It can read / modify / write the following formats: VirtualTI v2.1, VirtualTI v2.5, and TiEmu v2.0. %prep %setup -q # I couldn't get a patch doing this to work, for some reason. sed 's/mktemp/mkstemp/g' -i src/skinops.c rm po/fr.gmo iconv -f iso8859-1 -t utf-8 README > README.conv && mv -f README.conv README dos2unix README %build %configure make %{?_smp_mflags} make -C po fr.gmo %install rm -rf %{buildroot} %make_install %find_lang %{name} %files -f %{name}.lang %{_bindir}/skinedit %{_datadir}/skinedit %{_mandir}/man1/skinedit.1* %doc README %license COPYING %changelog * Wed Dec 30 2015 Ben Rosser 1.27-1 - Initial package. - Replace call to mktemp with call to mkstemp.