package created using the webbuild interface [release 1.9-1mamba;Tue Jul 08 2014]
This commit is contained in:
parent
d2bd499c75
commit
010dccc113
@ -1,2 +1,4 @@
|
||||
# pg2mysql
|
||||
|
||||
A PHP interface do convert dumps from PostgreSQL to MySQL.
|
||||
|
||||
|
62
pg2mysql.spec
Normal file
62
pg2mysql.spec
Normal file
@ -0,0 +1,62 @@
|
||||
%define serverdir %(apxs -q htdocsdir 2>/dev/null)
|
||||
# To create a customized installation:
|
||||
# autospec -u pg2mysql -a5 \
|
||||
# -d "installdir=%serverdir/../www.example.com, \
|
||||
# sitename=example, \
|
||||
# adminmail=webmaster@example.com"
|
||||
|
||||
%if "%{?installdir}" == ""
|
||||
%define installdir %{serverdir}/pg2mysql
|
||||
%endif
|
||||
|
||||
%if "%{?sitename}" != ""
|
||||
%if "%{?servername}" == ""
|
||||
%define servername %(basename %installdir 2>/dev/null)
|
||||
%endif
|
||||
%define serverlogdir %(apxs -q logfiledir 2>/dev/null)
|
||||
%else
|
||||
%if "%{?aliasdir}" == ""
|
||||
%define aliasdir /pg2mysql
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Name: %{?sitename:%sitename-website-}pg2mysql
|
||||
Version: 1.9
|
||||
Release: 1mamba
|
||||
Summary: A PHP interface do convert dumps from PostgreSQL to MySQL
|
||||
Group: Applications/Web
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.lightbox.ca/pg2mysql
|
||||
Source: http://www.lightbox.ca/pg2mysql/pg2mysql-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
A PHP interface do convert dumps from PostgreSQL to MySQL.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -d %{buildroot}%{installdir}
|
||||
cp -a * %{buildroot}%{installdir}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{installdir}
|
||||
%{installdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user