%define package xmind %define version 3.7.1 %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 Requires: wpkg-jre %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/ %clean /bin/rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGELOG.git /home/e-smith/files/shares/wpkg/files/ %changelog * Thu Jan 5 2017 Daniel Berteaud - 3.7.1-1 - Update to 3.7.1 (build 201612151837) * Tue Nov 15 2016 Daniel Berteaud - 3.7.0-1 - Update to 3.7.0 (build 2016111010032) * Wed Jul 20 2016 Daniel Berteaud - 3.6.51-1 - Update to 3.6.51 (build 201607142338) * Tue Jun 28 2016 Daniel Berteaud - 3.6.50-1 - Update to 3.6.50 (build 201606271038) * Mon Jan 4 2016 Daniel Berteaud - 3.6.1-1 - Update to 3.6.1 (build 201512240104) * Mon Nov 23 2015 Daniel Berteaud - 3.6.0-1 - Update to 3.6.0 * Wed Jul 1 2015 Daniel Berteaud - 3.5.3-1 - Update to 3.5.3 * Mon May 18 2015 Daniel Berteaud - 3.5.2-1 - Update to 3.5.2 * Tue Mar 24 2015 Daniel Berteaud - 3.5.1-1 - initial release with Xmind 3.5.1