|
|
|
%define version 0.1.1
|
|
|
|
%define release 1
|
|
|
|
%define name ipasserelle-phpmyadmin
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}%{?dist}
|
|
|
|
Summary: phpMyAdmin for iPasserelle
|
|
|
|
Group: System Environment/Applications
|
|
|
|
License: GPLv3+
|
|
|
|
URL: http://www.ipasserelle.com
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: e-smith-devtools
|
|
|
|
|
|
|
|
Requires: ipasserelle-base
|
|
|
|
Requires: smeserver-webapps-common >= 0.2.7
|
|
|
|
Requires: smeserver-lemonldap-ng >= 0.2.3
|
|
|
|
Requires: phpMyAdmin3
|
|
|
|
|
|
|
|
Obsoletes: phpmyadmin
|
|
|
|
Obsoletes: smeserver-phpmyadmin
|
|
|
|
|
|
|
|
%description
|
|
|
|
phpMyAdmin integration for iPasserelle
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Wed Oct 10 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
|
|
|
|
- Authentication through LemonLDAP
|
|
|
|
- Automatically get admin privileges if you are a member of the admins group
|
|
|
|
|
|
|
|
* Tue Oct 9 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1
|
|
|
|
- Initial release
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl ./createlinks
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -f %{name}-%{version}-filelist
|
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
|
|
|
|
/sbin/e-smith/genfilelist \
|
|
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
|
|
|
|
echo "%doc CHANGELOG.git" >> %{name}-%{version}-%{release}-filelist
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-%{release}-filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|