tar.gz -> tar.bz2
This commit is contained in:
parent
e06b821eb9
commit
fe90f9d2dc
|
@ -13,7 +13,7 @@ License: GPL
|
|||
Group: Productivity/Networking/Web/Frontends
|
||||
Version: @@VERSION@@
|
||||
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/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||
Summary: Administration of LDAP users, groups and hosts via Web GUI
|
||||
|
|
|
@ -60,7 +60,7 @@ wait
|
|||
rm 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/Makefile.in ldap-account-manager-$VERSION/
|
||||
cd ldap-account-manager-$VERSION
|
||||
|
@ -69,9 +69,9 @@ perl -pi -e "s/\\@\\@VERSION\\@\\@/$VERSION/g" configure.ac
|
|||
autoconf
|
||||
rm -r autom4te.cache
|
||||
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
|
||||
cp ../lam-packaging/autoconf/configure.ac 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
|
||||
rm -r autom4te.cache
|
||||
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 ..
|
||||
|
||||
# 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/
|
||||
cp -r lam-packaging/debian Debian/ldap-account-manager-$VERSION/
|
||||
cd Debian/ldap-account-manager-$VERSION
|
||||
|
@ -98,7 +98,7 @@ cd ..
|
|||
# Debian for LAM Pro
|
||||
cd LAMPro
|
||||
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/
|
||||
cp -r ../lam-packaging/debian Debian/ldap-account-manager-$VERSION/
|
||||
cd Debian/ldap-account-manager-$VERSION
|
||||
|
@ -128,28 +128,28 @@ mkdir LAMPro/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
|
||||
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/
|
||||
|
||||
# Fedora RPM for LAM Pro
|
||||
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
|
||||
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/
|
||||
cd ..
|
||||
|
||||
# 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
|
||||
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/
|
||||
|
||||
# Suse RPM for LAM Pro
|
||||
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
|
||||
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/
|
||||
|
|
Loading…
Reference in New Issue