%define package ghostscript %define version 9.16 %define release 1 Name: wpkg-%{package} Version: %{version} Release: %{release}%{?dist} Summary: %{package} for WPKG on iPasserelle Group: System/Softwares URL: http://www.ipasserelle.com Source0: %{name}-%{version}.tar.gz License: misc BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: unix2dos Requires: ipasserelle-gp %description %{package} for WPKG on iPasserelle %prep %setup -q -n %{name}-%{version} %build unix2dos packages/* %install /bin/rm -rf %{buildroot} mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package} cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package}/ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ %files %defattr(-,root,root) %doc CHANGELOG.git /home/e-smith/files/shares/wpkg/files/ %clean /bin/rm -rf %{buildroot} %changelog * Wed Apr 8 2015 Daniel Berteaud 9.16-1 - Update to 9.16 * Tue Oct 14 2014 Daniel Berteaud 9.15-1 - Update to 9.15 * Mon Mar 31 2014 Daniel Berteaud 9.14-1 - update to 9.14 * Wed Sep 18 2013 Daniel Berteaud 9.10-1 - update to 9.10 * Mon Mar 11 2013 Daniel Berteaud 9.07-1 - update to 9.07 * Wed Aug 22 2012 Daniel Berteaud 9.06-1 - update to 9.06 * Fri Jun 8 2012 Daniel Berteaud 9.05-1 - update to 9.05 * Wed Jun 6 2012 Daniel Berteaud 9.04-1 - change version scheme * Tue Jun 5 2012 Daniel Berteaud - initial release with GhostScript 9.04