tar.gz -> tar.bz2
This commit is contained in:
parent
e06b821eb9
commit
fe90f9d2dc
|
@ -13,7 +13,7 @@ License: GPL
|
||||||
Group: Productivity/Networking/Web/Frontends
|
Group: Productivity/Networking/Web/Frontends
|
||||||
Version: @@VERSION@@
|
Version: @@VERSION@@
|
||||||
Release: 0.%lam_distribution.1
|
Release: 0.%lam_distribution.1
|
||||||
Source0: ldap-account-manager-%{version}.tar.gz
|
Source0: ldap-account-manager-%{version}.tar.bz2
|
||||||
URL: https://www.ldap-account-manager.org/
|
URL: https://www.ldap-account-manager.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||||
Summary: Administration of LDAP users, groups and hosts via Web GUI
|
Summary: Administration of LDAP users, groups and hosts via Web GUI
|
||||||
|
|
|
@ -60,7 +60,7 @@ wait
|
||||||
rm ldap-account-manager-$VERSION/phpdoc.sh
|
rm ldap-account-manager-$VERSION/phpdoc.sh
|
||||||
rm LAMPro/ldap-account-manager-$VERSION/phpdoc.sh
|
rm LAMPro/ldap-account-manager-$VERSION/phpdoc.sh
|
||||||
|
|
||||||
# tar.gz
|
# tar.bz2
|
||||||
cp lam-packaging/autoconf/configure.ac ldap-account-manager-$VERSION/
|
cp lam-packaging/autoconf/configure.ac ldap-account-manager-$VERSION/
|
||||||
cp lam-packaging/autoconf/Makefile.in ldap-account-manager-$VERSION/
|
cp lam-packaging/autoconf/Makefile.in ldap-account-manager-$VERSION/
|
||||||
cd ldap-account-manager-$VERSION
|
cd ldap-account-manager-$VERSION
|
||||||
|
@ -69,9 +69,9 @@ perl -pi -e "s/\\@\\@VERSION\\@\\@/$VERSION/g" configure.ac
|
||||||
autoconf
|
autoconf
|
||||||
rm -r autom4te.cache
|
rm -r autom4te.cache
|
||||||
cd ..
|
cd ..
|
||||||
tar cfz ldap-account-manager-$VERSION.tar.gz --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
|
tar cfj ldap-account-manager-$VERSION.tar.bz2 --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
|
||||||
|
|
||||||
# tar.gz of LAM Pro
|
# tar.bz2 of LAM Pro
|
||||||
cd LAMPro
|
cd LAMPro
|
||||||
cp ../lam-packaging/autoconf/configure.ac ldap-account-manager-$VERSION/
|
cp ../lam-packaging/autoconf/configure.ac ldap-account-manager-$VERSION/
|
||||||
cp ../lam-packaging/autoconf/Makefile.in ldap-account-manager-$VERSION/
|
cp ../lam-packaging/autoconf/Makefile.in ldap-account-manager-$VERSION/
|
||||||
|
@ -81,12 +81,12 @@ perl -pi -e "s/\\@\\@VERSION\\@\\@/$VERSION/g" configure.ac
|
||||||
autoconf
|
autoconf
|
||||||
rm -r autom4te.cache
|
rm -r autom4te.cache
|
||||||
cd ..
|
cd ..
|
||||||
tar cfz ldap-account-manager-$VERSION.tar.gz --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
|
tar cfj ldap-account-manager-$VERSION.tar.bz2 --owner=root --group=root --mtime=now ldap-account-manager-$VERSION
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Debian
|
# Debian
|
||||||
mkdir Debian
|
mkdir Debian
|
||||||
cp ldap-account-manager-$VERSION.tar.gz Debian/ldap-account-manager_$VERSION.orig.tar.gz
|
cp ldap-account-manager-$VERSION.tar.bz2 Debian/ldap-account-manager_$VERSION.orig.tar.bz2
|
||||||
mv ldap-account-manager-$VERSION Debian/
|
mv ldap-account-manager-$VERSION Debian/
|
||||||
cp -r lam-packaging/debian Debian/ldap-account-manager-$VERSION/
|
cp -r lam-packaging/debian Debian/ldap-account-manager-$VERSION/
|
||||||
cd Debian/ldap-account-manager-$VERSION
|
cd Debian/ldap-account-manager-$VERSION
|
||||||
|
@ -98,7 +98,7 @@ cd ..
|
||||||
# Debian for LAM Pro
|
# Debian for LAM Pro
|
||||||
cd LAMPro
|
cd LAMPro
|
||||||
mkdir Debian
|
mkdir Debian
|
||||||
cp ldap-account-manager-$VERSION.tar.gz Debian/ldap-account-manager_$VERSION.orig.tar.gz
|
cp ldap-account-manager-$VERSION.tar.bz2 Debian/ldap-account-manager_$VERSION.orig.tar.bz2
|
||||||
mv ldap-account-manager-$VERSION Debian/
|
mv ldap-account-manager-$VERSION Debian/
|
||||||
cp -r ../lam-packaging/debian Debian/ldap-account-manager-$VERSION/
|
cp -r ../lam-packaging/debian Debian/ldap-account-manager-$VERSION/
|
||||||
cd Debian/ldap-account-manager-$VERSION
|
cd Debian/ldap-account-manager-$VERSION
|
||||||
|
@ -128,28 +128,28 @@ mkdir LAMPro/RPM
|
||||||
|
|
||||||
|
|
||||||
# Fedora RPM
|
# Fedora RPM
|
||||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
|
||||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
|
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-fedora.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
|
|
||||||
# Fedora RPM for LAM Pro
|
# Fedora RPM for LAM Pro
|
||||||
cd LAMPro
|
cd LAMPro
|
||||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.gz
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
|
||||||
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
|
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-fedora.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Suse RPM
|
# Suse RPM
|
||||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES
|
||||||
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
|
rpmbuild --sign --clean --rmsource -bb lam-packaging/RPM/ldap-account-manager-suse.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
|
|
||||||
# Suse RPM for LAM Pro
|
# Suse RPM for LAM Pro
|
||||||
cd LAMPro
|
cd LAMPro
|
||||||
cp ldap-account-manager-$VERSION.tar.gz ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.gz
|
cp ldap-account-manager-$VERSION.tar.bz2 ~/rpmbuild/SOURCES/ldap-account-manager-$VERSION.tar.bz2
|
||||||
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
cp ../lam-packaging/RPM/lam.apache.conf ~/rpmbuild/SOURCES
|
||||||
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
|
rpmbuild --sign --clean --rmsource -bb ../lam-packaging/RPM/ldap-account-manager-suse.spec
|
||||||
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
mv ~/rpmbuild/RPMS/noarch/ldap-account-manager*-$VERSION-*1.noarch.rpm RPM/
|
||||||
|
|
Loading…
Reference in New Issue