|
|
@ -1,4 +1,4 @@ |
|
|
|
%define version 0.1.1 |
|
|
|
%define version 0.1.2 |
|
|
|
%define release 1 |
|
|
|
%define release 1 |
|
|
|
%define name ipasserelle-phpmyadmin |
|
|
|
%define name ipasserelle-phpmyadmin |
|
|
|
|
|
|
|
|
|
|
@ -28,6 +28,11 @@ Obsoletes: smeserver-phpmyadmin |
|
|
|
phpMyAdmin integration for iPasserelle |
|
|
|
phpMyAdmin integration for iPasserelle |
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Wed Oct 17 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1 |
|
|
|
|
|
|
|
- create phpmyadmin database |
|
|
|
|
|
|
|
- save php sessions in /var/lib/phpMyAdmin/tmp |
|
|
|
|
|
|
|
- create an sqladmin user with all privileges and use it instead of root |
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 10 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
|
|
|
* Wed Oct 10 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
|
|
|
- Authentication through LemonLDAP |
|
|
|
- Authentication through LemonLDAP |
|
|
|
- Automatically get admin privileges if you are a member of the admins group |
|
|
|
- Automatically get admin privileges if you are a member of the admins group |
|
|
@ -39,6 +44,7 @@ phpMyAdmin integration for iPasserelle |
|
|
|
%setup -q |
|
|
|
%setup -q |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
|
|
|
|
%{__mkdir_p} root/var/lib/phpMyAdmin/tmp |
|
|
|
perl ./createlinks |
|
|
|
perl ./createlinks |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
@ -46,8 +52,10 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -f %{name}-%{version}-filelist |
|
|
|
rm -f %{name}-%{version}-filelist |
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
|
|
|
/sbin/e-smith/genfilelist \ |
|
|
|
/sbin/e-smith/genfilelist \ |
|
|
|
|
|
|
|
--dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ |
|
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
|
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
|
|
|
echo "%doc CHANGELOG.git" >> %{name}-%{version}-%{release}-filelist |
|
|
|
echo "%doc CHANGELOG.git" >> %{name}-%{version}-%{release}-filelist |
|
|
|
|
|
|
|
echo "%doc phpmyadmin.sql" >> %{name}-%{version}-%{release}-filelist |
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-%{release}-filelist |
|
|
|
%files -f %{name}-%{version}-%{release}-filelist |
|
|
|
|
|
|
|
|
|
|
|