2008-05-31 11:55:15 +00:00
|
|
|
# Automake Automagic
|
|
|
|
|
2009-08-03 21:45:18 +00:00
|
|
|
fedoradir = $(pkgdatadir)/
|
|
|
|
fedora_DATA = \
|
2008-08-28 13:09:27 +00:00
|
|
|
fedora-aos.ks \
|
2008-10-28 13:49:21 +00:00
|
|
|
fedora-install-fedora.ks \
|
2008-05-31 11:55:15 +00:00
|
|
|
fedora-live-base.ks \
|
2010-03-23 13:14:04 +00:00
|
|
|
fedora-live-minimization.ks \
|
2010-02-17 23:03:26 +00:00
|
|
|
fedora-live-mini.ks \
|
2010-02-15 21:21:34 +00:00
|
|
|
fedora-livecd-design-suite.ks \
|
2010-03-23 13:14:04 +00:00
|
|
|
fedora-live-desktop.ks \
|
2008-10-28 12:38:39 +00:00
|
|
|
fedora-livecd-desktop.ks \
|
2011-03-17 00:53:19 +00:00
|
|
|
fedora-live-kde.ks \
|
2008-05-31 11:55:15 +00:00
|
|
|
fedora-livecd-kde.ks \
|
2011-05-03 04:54:45 +00:00
|
|
|
fedora-live-kde-base.ks \
|
2009-08-04 12:33:46 +00:00
|
|
|
fedora-livecd-lxde.ks \
|
2010-07-27 11:13:40 +00:00
|
|
|
fedora-livecd-meego.ks \
|
2010-02-15 22:05:28 +00:00
|
|
|
fedora-livecd-soas.ks \
|
2008-05-31 11:55:15 +00:00
|
|
|
fedora-livecd-xfce.ks \
|
2008-08-07 19:54:03 +00:00
|
|
|
fedora-livedvd-electronic-lab.ks \
|
2011-05-03 04:54:45 +00:00
|
|
|
fedora-livedvd-games.ks \
|
2011-10-25 01:31:25 +00:00
|
|
|
fedora-livedvd-robotics.ks \
|
|
|
|
fedora-livedvd-scientific-kde.ks \
|
2011-05-03 04:54:45 +00:00
|
|
|
fedora-livecd-security.ks
|
2009-08-03 21:45:18 +00:00
|
|
|
|
|
|
|
customdir = ${pkgdatadir}/custom/
|
|
|
|
custom_DATA = \
|
2010-06-07 05:02:00 +00:00
|
|
|
custom/README \
|
|
|
|
custom/fedora-livedvd-haskell.ks \
|
2010-06-07 05:18:25 +00:00
|
|
|
custom/qa-test-day.ks
|
2009-08-03 21:45:18 +00:00
|
|
|
|
|
|
|
l10ndir = ${pkgdatadir}/l10n/
|
|
|
|
l10n_DATA = \
|
|
|
|
l10n/README \
|
|
|
|
l10n/fedora-livecd-desktop-de_CH.ks \
|
|
|
|
l10n/fedora-livecd-desktop-de_DE.ks \
|
2012-01-29 21:03:11 +00:00
|
|
|
l10n/fedora-livecd-desktop-fr_FR.ks \
|
2009-08-03 21:45:18 +00:00
|
|
|
l10n/fedora-livecd-desktop-nl_NL.ks \
|
|
|
|
l10n/fedora-livecd-desktop-pt_BR.ks \
|
|
|
|
l10n/fedora-livecd-desktop-pt_PT.ks \
|
|
|
|
l10n/fedora-livecd-kde-de_CH.ks \
|
|
|
|
l10n/fedora-livecd-kde-de_DE.ks \
|
2012-01-29 21:03:11 +00:00
|
|
|
l10n/fedora-livecd-kde-fr_FR.ks \
|
2009-08-03 21:45:18 +00:00
|
|
|
l10n/fedora-livecd-kde-nl_NL.ks \
|
|
|
|
l10n/fedora-livecd-kde-pt_PT.ks \
|
2009-08-08 17:18:53 +00:00
|
|
|
l10n/fedora-livecd-lxde-de_DE.ks \
|
2012-01-29 21:03:11 +00:00
|
|
|
l10n/fedora-livecd-lxde-fr_FR.ks \
|
2009-08-03 21:45:18 +00:00
|
|
|
l10n/fedora-livecd-xfce-de_CH.ks \
|
2012-01-29 21:04:58 +00:00
|
|
|
l10n/fedora-livecd-xfce-de_DE.ks \
|
2012-01-29 21:03:11 +00:00
|
|
|
l10n/fedora-livecd-xfce-fr_FR.ks \
|
2009-08-03 21:45:18 +00:00
|
|
|
l10n/fedora-livecd-xfce-nl_NL.ks \
|
|
|
|
l10n/fedora-livecd-xfce-pt_PT.ks \
|
|
|
|
l10n/fedora-livedvd-electronic-lab-de_CH.ks \
|
|
|
|
l10n/fedora-livedvd-electronic-lab-nl_NL.ks \
|
|
|
|
l10n/fedora-livedvd-electronic-lab-pt_PT.ks \
|
|
|
|
l10n/fedora-livedvd-games-de_CH.ks \
|
|
|
|
l10n/fedora-livedvd-games-nl_NL.ks \
|
|
|
|
l10n/fedora-livedvd-games-pt_PT.ks
|
2008-05-31 11:55:15 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2009-08-03 21:45:18 +00:00
|
|
|
$(fedora_DATA) \
|
|
|
|
$(custom_DATA) \
|
|
|
|
$(l10n_DATA) \
|
2008-05-31 11:55:15 +00:00
|
|
|
spin-kickstarts.spec.in\
|
|
|
|
spin-kickstarts.spec \
|
|
|
|
ChangeLog \
|
|
|
|
COPYING \
|
|
|
|
AUTHORS \
|
|
|
|
README
|
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
|
|
|
intltool-extract \
|
|
|
|
intltool-merge \
|
|
|
|
intltool-update
|
|
|
|
|
|
|
|
install-exec-local:
|
|
|
|
|
|
|
|
uninstall-local:
|
2008-08-08 09:30:53 +00:00
|
|
|
rm -rf $(DESTDIR)$(pkgdatadir)
|
2008-05-31 11:55:15 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ChangeLog
|
|
|
|
rm -f *~
|
|
|
|
rm -f spin-kickstarts.spec
|
|
|
|
rm -f config.status config.log
|
|
|
|
rm -rf autom4te.cache/
|
|
|
|
find -type f -name "Makefile" -exec rm -f {} \;
|
|
|
|
find -type f -name "*.rpmnew" -exec rm -f {} \;
|
|
|
|
find -type f -name "*.rpmsave" -exec rm -f {} \;
|
|
|
|
find -type f -name "Makefile.in" -exec rm -f {} \;
|
|
|
|
find -type f -name "*.log" -exec rm -f {} \;
|
|
|
|
find -type f -name "spin-kickstarts-*.tar.gz" -exec mv -f {} .. \;
|
|
|
|
rm -f aclocal.m4 configure
|
|
|
|
|
|
|
|
ChangeLog:
|
2009-12-12 02:32:19 +00:00
|
|
|
(GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
|
2008-05-31 11:55:15 +00:00
|
|
|
|
|
|
|
rpm: ChangeLog dist
|
|
|
|
@(rpmbuild -ta ${PACKAGE}-$(PACKAGE_VERSION).tar.gz)
|
|
|
|
|
|
|
|
srpm: ChangeLog dist
|
|
|
|
@(rpmbuild -ts ${PACKAGE}-$(PACKAGE_VERSION).tar.gz)
|
|
|
|
|
|
|
|
CVS_PKGVERSION=`echo $(PACKAGE_VERSION) | sed -e 's/\./_/g'`
|
|
|
|
CVSTAG=$(PACKAGE_NAME)-$(CVS_PACKAGEVERSION)
|
|
|
|
tag:
|
|
|
|
@cvs tag -F $(CVSTAG)
|
|
|
|
|
|
|
|
RELEASE=`rpm -q --qf="%{RELEASE}\n" --specfile ${PACKAGE}.spec | head -n 1`
|
|
|
|
|
|
|
|
F-7: srpm
|
|
|
|
@(mock -v -r fedora-7-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
|
|
|
|
|
|
|
F-8: srpm
|
|
|
|
@(mock -v -r fedora-8-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
|
|
|
|
|
|
|
F-9: srpm
|
|
|
|
@(mock -v -r fedora-9-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
|
|
|
|
|
|
|
devel: srpm
|
|
|
|
@(mock -v -r fedora-devel-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
|
|
|
|
|
|
|
EL-5: srpm
|
|
|
|
@(mock -v -r epel-5-i386 rebuild ~/rpmbuild/SRPMS/${PACKAGE}-$(PACKAGE_VERSION)-$(RELEASE).src.rpm)
|
|
|
|
|
|
|
|
mock: srpm F-7 F-8 F-9 devel EL-5
|
|
|
|
|
|
|
|
RELEASE_NUM=`rpm -q --qf="%{RELEASE}\n" --specfile ${PACKAGE}.spec | head -n 1 | cut -d'.' -f 1`
|
|
|
|
|
|
|
|
fpeople: mock
|
|
|
|
rm -rf public_html
|
|
|
|
mkdir -p public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/{el5,fc7,fc8,fc9}
|
|
|
|
cp ${PACKAGE}-$(PACKAGE_VERSION).tar.gz public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/.
|
|
|
|
cp ${PACKAGE}.spec public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/.
|
|
|
|
cp /var/lib/mock/epel-5-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/el5/.
|
|
|
|
cp /var/lib/mock/fedora-7-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/fc7/.
|
|
|
|
cp /var/lib/mock/fedora-8-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/fc8/.
|
|
|
|
cp /var/lib/mock/fedora-development-i386/result/* public_html/${PACKAGE}/$(PACKAGE_VERSION)-$(RELEASE_NUM)/fc9/.
|
|
|
|
scp -r public_html fedorapeople.org:.
|
|
|
|
|
|
|
|
custom: mock
|
|
|
|
rm -rf custom
|
|
|
|
mkdir -p custom/{el5,f7,f8,f9}/{i386,x86_64,ppc,SRPMS}/
|
|
|
|
cp /var/lib/mock/epel-5-i386/result/*.noarch.rpm custom/el5/i386/.
|
|
|
|
cp /var/lib/mock/epel-5-i386/result/*.noarch.rpm custom/el5/x86_64/.
|
|
|
|
cp /var/lib/mock/epel-5-i386/result/*.noarch.rpm custom/el5/ppc/.
|
|
|
|
cp /var/lib/mock/epel-5-i386/result/*.src.rpm custom/el5/SRPMS/.
|
|
|
|
cp /var/lib/mock/fedora-7-i386/result/*.noarch.rpm custom/f7/i386/.
|
|
|
|
cp /var/lib/mock/fedora-7-i386/result/*.noarch.rpm custom/f7/x86_64/.
|
|
|
|
cp /var/lib/mock/fedora-7-i386/result/*.noarch.rpm custom/f7/ppc/.
|
|
|
|
cp /var/lib/mock/fedora-7-i386/result/*.src.rpm custom/f7/SRPMS/.
|
|
|
|
cp /var/lib/mock/fedora-8-i386/result/*.noarch.rpm custom/f8/i386/.
|
|
|
|
cp /var/lib/mock/fedora-8-i386/result/*.noarch.rpm custom/f8/x86_64/.
|
|
|
|
cp /var/lib/mock/fedora-8-i386/result/*.noarch.rpm custom/f8/ppc/.
|
|
|
|
cp /var/lib/mock/fedora-8-i386/result/*.src.rpm custom/f8/SRPMS/.
|
|
|
|
cp /var/lib/mock/fedora-development-i386/result/*.noarch.rpm custom/f9/i386/.
|
|
|
|
cp /var/lib/mock/fedora-development-i386/result/*.noarch.rpm custom/f9/x86_64/.
|
|
|
|
cp /var/lib/mock/fedora-development-i386/result/*.noarch.rpm custom/f9/ppc/.
|
|
|
|
cp /var/lib/mock/fedora-development-i386/result/*.src.rpm custom/f9/SRPMS/.
|
|
|
|
scp -r custom elwood.kanarip.com:/data/os/repos/.
|