aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-02-26 11:19:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-02-26 11:19:43 +0000
commite91a970cb5b9ec3ceb68bc325744d69f4f73eb9b (patch)
tree63cd1e10a3f3437a6c5ef99356549fa9182cffc5
parent8f5f5f408cebc1ed820b3f34eb26cab19f8f7db7 (diff)
downloadbootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar.gz
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar.bz2
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.tar.xz
bootsplash-e91a970cb5b9ec3ceb68bc325744d69f4f73eb9b.zip
the spec file is now in build system
-rw-r--r--Makefile26
-rw-r--r--bootsplash.spec94
2 files changed, 1 insertions, 119 deletions
diff --git a/Makefile b/Makefile
index 4606717..93c6616 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
NAME=bootsplash
-VERSION := $(shell rpm -q --qf '%{version}\n' --specfile $(NAME).spec | head -1)
-RELEASE := $(shell rpm -q --qf '%{release}\n' --specfile $(NAME).spec | head -1)
-RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
+VERSION := 3.2.2
SUBDIRS=scripts fb fbmngplay fbtruetype splash po
FILES=$(SUBDIRS) Makefile bootsplash.spec ChangeLog README
@@ -30,28 +28,6 @@ tar: dir localcopy
localcopy:
tar c --exclude=.svn $(FILES) | tar x -C $(NAME)-$(VERSION)
-
clean:
@for i in $(SUBDIRS);do make -C $$i clean;done
rm -f *~ \#*\#
-
-svntag:
- svn cp -m 'version $(VERSION)' $(SVNSOFT)/trunk $(SVNNAME)/tag/v$(VERSION)
-
-ci: tar
- svn ci -m 'Update soft SPEC for version $(VERSION)' $(NAME).spec
- mkdir svn; cd svn; mdvsys co $(NAME)
- cp $(NAME).spec svn/$(NAME)/SPECS/
- cp $(NAME).tar svn/$(NAME)/SOURCES/
- cd svn/$(NAME)/; mdvsys ci -m 'update tarball and spec for version $(VERSION)'
-
-rpm: clean ci
- cd svn/$(NAME); bm
-
-localrpm: tar $(RPM)
- cp -f $(NAME).tar $(RPM)/SOURCES
- -rpm -ba --clean $(NAME).spec
- rm -f $(NAME).tar
-
-submit: clean ci
- mdvsys submit $(NAME)
diff --git a/bootsplash.spec b/bootsplash.spec
deleted file mode 100644
index 9262acb..0000000
--- a/bootsplash.spec
+++ /dev/null
@@ -1,94 +0,0 @@
-%define name bootsplash
-%define version 3.2.2
-%define release %mkrel 1
-%define _bootdir /boot
-
-Summary: The Boot Splash Images and scripts
-Name: %{name}
-Version: %{version}
-Release: %{release}
-# From Mandriva SVN
-Source0: %{name}.tar
-License: GPL
-Group: System/Kernel and hardware
-BuildRoot: %{_tmppath}/%{name}-buildroot
-Url: http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/bootsplash/
-Requires: /usr/bin/perl
-# Do not require mkinitrd anymore to be able to be prerequed by mkinitrd (mkinitrd is in basesystem anyway)
-# Requires: mkinitrd >= 3.5.18-14mdk
-Conflicts: mkinitrd < 3.5.18-14mdk
-#there is no way to say a special kernel requires.
-Requires: kernel initscripts > 7.04-15mdk fbgrab
-Conflicts: drakxtools-newt < 10-49mdk
-Obsoletes: Aurora Aurora-Monitor-NewStyle-Categorizing-WsLib Aurora-Monitor-NewStyle-WsLib Aurora-Monitor-Traditional-Gtk+ Aurora-Monitor-Traditional-WsLib-8.2
-BuildRequires: freetype2-static-devel libmng-static-devel libjpeg-static-devel glibc-static-devel liblcms-devel gtk-linux-fb-2.0-devel gtk+2-devel
-# nomore noarch with the fbrelolution and progress binaries
-#BuildArchitectures: noarch
-
-%description
-This package contains the scripts and pictures visible when booting a
-Mandriva Linux kernel. They are automatically installed when an initrd is
-generated by mkinitrd.
-
-%prep
-%setup -q
-
-%build
-make LIB=%{_lib}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-make install prefix=$RPM_BUILD_ROOT
-
-install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
-
-for i in fbmngplay fbtruetype
-do
- cp $i/ChangeLog $i/ChangeLog.$i
- cp $i/README $i/README.$i
-done
-
-#find $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/ $RPM_BUILD_ROOT/%_datadir/%{name}/ -not -path "*/themes/Mandrake/*" -not -path "*/scripts/*" -type f |
-# sed -e "s#^$RPM_BUILD_ROOT##g" > rpm-themes-files
-
-install -d -m755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/themes
-install -d -m755 $RPM_BUILD_ROOT%{_datadir}/%{name}/themes
-
-%find_lang bootsplash
-
-%post
-# Add right translation file
-for i in `echo $LANGUAGE:$LC_ALL:$LC_COLLATE:$LANG:C | tr ':' ' '`
-do
- if [ -r %{_datadir}/locale/$i/LC_MESSAGES/bootsplash.mo ]; then
- mkdir -p /etc/locale/$i/LC_MESSAGES/
- cp %{_datadir}/locale/$i/LC_MESSAGES/SYS_LC_MESSAGES \
- /etc/locale/$i/LC_MESSAGES/
- cp %{_datadir}/locale/$i/LC_MESSAGES/bootsplash.mo \
- /etc/locale/$i/LC_MESSAGES/
- break
- fi
-done
-/sbin/ldconfig
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-%files -f %name.lang
-%defattr(-,root,root)
-%doc README ChangeLog fbmngplay/ChangeLog.fbmngplay fbmngplay/README.fbmngplay fbtruetype/ChangeLog.fbtruetype fbtruetype/README.fbtruetype
-%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
-%dir %{_sysconfdir}/%{name}
-%dir %{_sysconfdir}/%{name}/themes
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/themes
-%{_datadir}/%{name}/scripts
-#%_datadir/%{name}/themes/Mandrake
-#%config(noreplace) %_sysconfdir/%{name}/themes/Mandrake/*
-/bin/fbresolution
-/bin/fbtruetype.static
-/bin/fbmngplay.static
-/bin/progress
-/sbin/bootanim
-/sbin/splash
-/sbin/splash.sh
-%{_bindir}/*