%define package libreoffice %define version 4.2.7 %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 Nov 5 2014 Daniel Berteaud 4.2.7-1 - Update to 4.2.7 * Mon Sep 1 2014 Daniel Berteaud 4.2.6-1 - Update to 4.2.6 * Thu Jul 31 2014 Daniel Berteaud 4.2.5-1 - update to 4.2.5 * Fri May 2 2014 Daniel Berteaud 4.1.6-1 - Update to 4.1.6 * Thu Feb 13 2014 Daniel Berteaud 4.1.5-1 - update to 4.1.5 * Wed Dec 18 2013 Daniel Berteaud 4.1.4-1 - update to 4.1.4 * Fri Dec 6 2013 Daniel Berteaud 4.1.3-3 - Fix installation * Thu Nov 7 2013 Daniel Berteaud 4.1.3-2 - Considere msiexec 1603 exit code as successful * Mon Nov 4 2013 Daniel Berteaud 4.1.3-1 - update to 4.1.3 * Mon Oct 28 2013 Daniel Berteaud 4.0.6-1 - update to 4.0.6 * Tue Aug 27 2013 Daniel Berteaud 4.0.5-1 - update to 4.0.5 * Thu Jun 20 2013 Daniel Berteaud 4.0.4-1 - update to 4.0.4 * Mon May 13 2013 Daniel Berteaud 4.0.3-1 - update to 4.0.3 * Fri Apr 5 2013 Daniel Berteaud 4.0.2-1 - update to 4.0.2 * Mon Feb 4 2013 Daniel Berteaud 3.6.5-1 - update to 3.6.5 * Mon Dec 10 2012 Daniel Berteaud 3.6.4-1 - update to 3.6.4 * Thu Nov 8 2012 Daniel Berteaud 3.6.3-1 - update to 3.6.3 * Tue Aug 21 2012 Daniel Berteaud 3.5.6-1 - update to 3.5.6 * Thu Jul 12 2012 Daniel Berteaud 3.5.5-1 - update to 3.5.5 * Fri Jun 8 2012 Daniel Berteaud 3.5.4-1 - update to 3.5.4 * Thu Jun 7 2012 Daniel Berteaud 3.5.3-1 - Change version scheme * Tue Jun 5 2012 Daniel Berteaud - initial release with LibreOffice 3.5.3