%define package vlc %define version 2.1.5 %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 * Mon Jul 28 2014 Daniel Berteaud - 2.1.5-1 - Update to 2.1.5 * Thu Feb 6 2014 Daniel Berteaud - 2.1.3-1 - Update to 2.1.3 * Wed Dec 11 2013 Daniel Berteaud - 2.1.2-1 - Update to 2.1.2 - Remove native x64 * Thu Sep 26 2013 Daniel Berteaud - 2.1.0-1 - upgrade to 2.1.0 - provide a x64 version * Tue Aug 20 2013 Daniel Berteaud - 2.0.8-1 - update to VLC 2.0.8 * Tue Jun 11 2013 Daniel Berteaud - 2.0.7-1 - update to VLC 2.0.7 * Tue Apr 16 2013 Daniel Berteaud - 2.0.6-1 - update to VLC 2.0.6 * Tue Dec 18 2012 Daniel Berteaud - 2.0.5-1 - update to VLC 2.0.5 * Mon Oct 29 2012 Daniel Berteaud - 2.0.4-1 - update to VLC 2.0.4 * Thu Aug 16 2012 Daniel Berteaud - 2.0.3-1 - Update to VLC 2.0.3 * Mon Jul 9 2012 Daniel Berteaud - 2.0.2-1 - Update to VLC 2.0.2 * Thu Jun 7 2012 Daniel Berteaud - 2.0.1-1 - change version scheme * Tue Jun 5 2012 Daniel Berteaud - 0.1+2.0.1 - initial release with VLC 2.0.1