%define package xmind %define version 3.6.50 %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 * 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 top 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