forked from srbala/fedora-kickstarts
Add new files to the spin-kickstarts repo:
- automake and specfile - german localized Desktop Spin
This commit is contained in:
parent
ecf21a0d72
commit
e2a4d70485
120
Makefile.am
Normal file
120
Makefile.am
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
# Automake Automagic
|
||||||
|
|
||||||
|
kickstartdir = $(pkgdatadir)/
|
||||||
|
kickstart_DATA = \
|
||||||
|
fedora-live-base.ks \
|
||||||
|
fedora-livecd-desktop-default.ks \
|
||||||
|
fedora-livecd-desktop-en_US.ks \
|
||||||
|
fedora-livecd-desktop.ks \
|
||||||
|
fedora-livecd-desktop-nl_NL.ks \
|
||||||
|
fedora-livecd-electronic-lab.ks \
|
||||||
|
fedora-livecd-electronic-lab-nl_NL.ks \
|
||||||
|
fedora-livecd-kde-de_DE.ks \
|
||||||
|
fedora-livecd-kde.ks \
|
||||||
|
fedora-livecd-kde-nl_NL.ks \
|
||||||
|
fedora-livecd-xfce.ks \
|
||||||
|
fedora-livecd-xfce-nl_NL.ks \
|
||||||
|
fedora-livedvd-developer.ks \
|
||||||
|
fedora-livedvd-developer-nl_NL.ks \
|
||||||
|
fedora-livedvd-games.ks \
|
||||||
|
fedora-livedvd-games-nl_NL.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 -f $(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/.
|
26
configure.ac
Normal file
26
configure.ac
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
AC_INIT([spin-kickstarts], 0.01)
|
||||||
|
AC_SUBST([RELEASE], 1)
|
||||||
|
|
||||||
|
ALL_LINGUAS="bn_IN bn ca cs da de el es fi fr gl gu hi hr hu is it ja ko ml ms nb nl or pa pl pt pt_BR ru sk sl sr@latin sr sv ta tr uk zh_CN zh_TW"
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE
|
||||||
|
AM_MAINTAINER_MODE
|
||||||
|
AM_PATH_PYTHON
|
||||||
|
|
||||||
|
#dnl prevent to copy po/Makefile.in.in
|
||||||
|
#GETTEXT_PACKAGE=revisor
|
||||||
|
#AC_SUBST(GETTEXT_PACKAGE)
|
||||||
|
#AM_GLIB_GNU_GETTEXT
|
||||||
|
#AC_PROG_INTLTOOL
|
||||||
|
#AC_PROG_LN_S
|
||||||
|
|
||||||
|
AC_SUBST(DATESTAMP,`date +"%a %b %d %Y"`)
|
||||||
|
|
||||||
|
#AM_PATH_PYTHON
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([
|
||||||
|
Makefile
|
||||||
|
spin-kickstarts.spec
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_OUTPUT
|
@ -19,9 +19,17 @@ xconfig --startxonboot
|
|||||||
part / --size 4096
|
part / --size 4096
|
||||||
services --enabled=NetworkManager --disabled=network,sshd
|
services --enabled=NetworkManager --disabled=network,sshd
|
||||||
|
|
||||||
#repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch
|
# To compose against the current release tree, use the following "repo" (enabled by default)
|
||||||
#repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=$basearch
|
repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
|
||||||
repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
|
# To include updates, use the following "repo" (enabled by default)
|
||||||
|
repo --name=updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch
|
||||||
|
|
||||||
|
# To compose against rawhide, use the following "repo" (disabled by default)
|
||||||
|
#repo --name=rawhide --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=i386
|
||||||
|
|
||||||
|
# To compose against local trees, use:
|
||||||
|
#repo --name=f9 --baseurl=http://localrepo/fedora/releases/9/Everything/$basearch/os/
|
||||||
|
#repo --name=f9-updates --baseurl=http://localrepo/fedora/updates/9/$basearch/
|
||||||
|
|
||||||
%packages
|
%packages
|
||||||
@base-x
|
@base-x
|
||||||
|
27
fedora-livecd-desktop-de_DE.ks
Normal file
27
fedora-livecd-desktop-de_DE.ks
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# fedora-livecd-desktop-de_DE.ks
|
||||||
|
#
|
||||||
|
# Maintainer(s):
|
||||||
|
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
|
||||||
|
|
||||||
|
%include fedora-livecd-desktop.ks
|
||||||
|
|
||||||
|
lang de_DE.UTF-8
|
||||||
|
keyboard de-latin1-nodeadkeys
|
||||||
|
timezone Europe/Berlin
|
||||||
|
|
||||||
|
%packages
|
||||||
|
-gnome-blog
|
||||||
|
@german-support
|
||||||
|
%end
|
||||||
|
|
||||||
|
%post
|
||||||
|
# system-config-keyboard doesn't really work (missing xorg.conf etc)
|
||||||
|
cat >>/etc/X11/xorg.conf << EOF
|
||||||
|
Section "InputDevice"
|
||||||
|
Identifier "Keyboard0"
|
||||||
|
Driver "kbd"
|
||||||
|
Option "XkbLayout" "de-latin1-nodeadkeys"
|
||||||
|
EndSection
|
||||||
|
EOF
|
||||||
|
%end
|
||||||
|
|
37
spin-kickstarts.spec.in
Normal file
37
spin-kickstarts.spec.in
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
Name: spin-kickstarts
|
||||||
|
Version: @VERSION@
|
||||||
|
Release: @RELEASE@%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: Kickstart files and templates for creating your own Fedora Spins
|
||||||
|
Group: Applications/System
|
||||||
|
URL: http://fedorahosted.org/spin-kickstarts
|
||||||
|
Source0: http://fedorahosted.org/releases/s/p/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
A number of kickstarts you can use to create customized (Fedora) Spins
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_datadir}/%{name}/
|
||||||
|
%{_datadir}/%{name}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* @DATESTAMP@ Jeroen van Meeuwen <kanarip a fedoraunity.org> @VERSION@-@RELEASE@
|
||||||
|
- Initial packaging
|
Loading…
Reference in New Issue
Block a user