blob: 1d113305734eca4392316d568af165943448d1ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
# Automake Automagic
kickstartdir = $(pkgdatadir)/
kickstart_DATA = \
fedora-aos.ks \
fedora-install-fedora.ks \
fedora-live-base.ks \
fedora-livecd-broffice.org.ks \
fedora-livecd-desktop.ks \
fedora-livecd-desktop-de_CH.ks \
fedora-livecd-desktop-de_DE.ks \
fedora-livecd-desktop-en_US.ks \
fedora-livecd-desktop-nl_NL.ks \
fedora-livecd-desktop-pt_BR.ks \
fedora-livecd-desktop-pt_PT.ks \
fedora-livecd-education.ks \
fedora-livecd-kde.ks \
fedora-livecd-kde-de_CH.ks \
fedora-livecd-kde-de_DE.ks \
fedora-livecd-kde-nl_NL.ks \
fedora-livecd-kde-pt_PT.ks \
fedora-livecd-xfce.ks \
fedora-livecd-xfce-de_CH.ks \
fedora-livecd-xfce-nl_NL.ks \
fedora-livecd-xfce-pt_PT.ks \
fedora-livedvd-electronic-lab.ks \
fedora-livedvd-electronic-lab-de_CH.ks \
fedora-livedvd-electronic-lab-nl_NL.ks \
fedora-livedvd-electronic-lab-pt_PT.ks \
fedora-livedvd-games.ks \
fedora-livedvd-games-de_CH.ks \
fedora-livedvd-games-nl_NL.ks \
fedora-livedvd-games-pt_PT.ks
EXTRA_DIST = \
$(kickstart_DATA) \
spin-kickstarts.spec.in\
spin-kickstarts.spec \
ChangeLog \
COPYING \
AUTHORS \
README
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update
install-exec-local:
uninstall-local:
rm -rf $(DESTDIR)$(pkgdatadir)
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:
(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)
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/.
|