From bfe2040695cd445317fc451ea3e2866cc55b2efa Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 19 Feb 2013 14:36:21 +0100 Subject: [PATCH] initial commit --- createlinks | 5 ++ packages/userprofile.xml | 29 ++++++++++++ .../files/settings/userprofile/portail.url/10All | 2 + .../userprofile/portail.url/template-begin | 0 wpkg-userprofile.spec | 53 ++++++++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 createlinks create mode 100644 packages/userprofile.xml create mode 100644 root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/10All create mode 100644 root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/template-begin create mode 100644 wpkg-userprofile.spec diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..0091483 --- /dev/null +++ b/createlinks @@ -0,0 +1,5 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); + +templates2events("/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url", qw(wpkg-update bootstrap-console-save)); diff --git a/packages/userprofile.xml b/packages/userprofile.xml new file mode 100644 index 0000000..e933a69 --- /dev/null +++ b/packages/userprofile.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/10All b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/10All new file mode 100644 index 0000000..ded3d37 --- /dev/null +++ b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/10All @@ -0,0 +1,2 @@ +[InternetShortcut] +URL=https://auth.{$DomainName}/ diff --git a/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/template-begin b/root/etc/e-smith/templates/home/e-smith/files/shares/wpkg/files/settings/userprofile/portail.url/template-begin new file mode 100644 index 0000000..e69de29 diff --git a/wpkg-userprofile.spec b/wpkg-userprofile.spec new file mode 100644 index 0000000..8011004 --- /dev/null +++ b/wpkg-userprofile.spec @@ -0,0 +1,53 @@ +%define package userprofile +%define version 0.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: GPL + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch +BuildRequires: unix2dos +BuildRequires: e-smith-devtools + +Requires: ipasserelle-gp + +%description +%{package} for WPKG on iPasserelle + +%prep +%setup -q -n %{name}-%{version} + +%build +perl createlinks +unix2dos packages/* + +%install +/bin/rm -rf %{buildroot} +cp -a root %{buildroot}/ +mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/userprofile +mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages +mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/userprofile +#cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/firefox/ +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/ +/etc/ + +%clean +/bin/rm -rf %{buildroot} + +%changelog +* Tue Feb 19 2013 Daniel Berteaud 0.1-1 +- Initial release +