| 1 |
# $Id$
|
| 2 |
# Authority: dag
|
| 3 |
# Upstream:
|
| 4 |
|
| 5 |
Summary: A complete user-space boot splash system
|
| 6 |
Name: splashy
|
| 7 |
Version: 0.1.6
|
| 8 |
Release: 1
|
| 9 |
License: GPL
|
| 10 |
Group:
|
| 11 |
URL: http://alioth.debian.org/download.php/1358/splashy_%{version}.tar.gz
|
| 12 |
|
| 13 |
Source: %{name}_%{version}.tar.gz
|
| 14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
| 15 |
|
| 16 |
Buildarch: noarch
|
| 17 |
BuildRequires: directfb-devel-0.9.22, glib2-devel
|
| 18 |
Requires:
|
| 19 |
|
| 20 |
%description
|
| 21 |
A boot splash program that doesn't require patching the Linux kernel.
|
| 22 |
It paints graphic images directly to framebuffers using libdirectfb.
|
| 23 |
|
| 24 |
# %package devel
|
| 25 |
# Summary: Header files, libraries and development documentation for %{name}.
|
| 26 |
# Group: Development/Libraries
|
| 27 |
# Requires: %{name} = %{version}-%{release}
|
| 28 |
|
| 29 |
# %description devel
|
| 30 |
# This package contains the header files, static libraries and development
|
| 31 |
# documentation for %{name}. If you like to develop programs using %{name},
|
| 32 |
# you will need to install %{name}-devel.
|
| 33 |
|
| 34 |
%prep
|
| 35 |
%setup
|
| 36 |
|
| 37 |
# %{__cat} <<EOF >%{name}.desktop
|
| 38 |
# [Desktop Entry]
|
| 39 |
# Name=Name Thingy Tool
|
| 40 |
# Comment=Do things with things
|
| 41 |
# Icon=name.png
|
| 42 |
# Exec=name
|
| 43 |
# Terminal=false
|
| 44 |
# Type=Application
|
| 45 |
# StartupNotify=true
|
| 46 |
# Categories=GNOME;Application;AudioVideo;
|
| 47 |
# EOF
|
| 48 |
|
| 49 |
%build
|
| 50 |
# %{__libtoolize} --force --copy
|
| 51 |
# %{__aclocal} #--force
|
| 52 |
# %{__autoheader}
|
| 53 |
# %{__automake} --add-missing -a --foreign
|
| 54 |
# %{__autoconf}
|
| 55 |
# autoreconf --force --install --symlink
|
| 56 |
./autogen.sh --prefix=/
|
| 57 |
#%configure --prefix=/
|
| 58 |
%{__make} %{?_smp_mflags}
|
| 59 |
|
| 60 |
%install
|
| 61 |
%{__rm} -rf %{buildroot}
|
| 62 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
|
| 63 |
%makeinstall
|
| 64 |
%find_lang %{name}
|
| 65 |
|
| 66 |
# %{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
|
| 67 |
# desktop-file-install --vendor net \
|
| 68 |
# --add-category X-Red-Hat-Base \
|
| 69 |
# --dir %{buildroot}%{_datadir}/applications \
|
| 70 |
# %{name}.desktop
|
| 71 |
|
| 72 |
%post
|
| 73 |
#/sbin/ldconfig 2>/dev/null
|
| 74 |
#export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
|
| 75 |
#gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null
|
| 76 |
|
| 77 |
%postun
|
| 78 |
#/sbin/ldconfig 2>/dev/null
|
| 79 |
|
| 80 |
%clean
|
| 81 |
%{__rm} -rf %{buildroot}
|
| 82 |
|
| 83 |
%files -f %{name}.lang
|
| 84 |
%defattr(-, root, root, 0755)
|
| 85 |
%doc AUTHORS ChangeLog COPYING CREDITS FAQ INSTALL LICENSE NEWS README THANKS TODO
|
| 86 |
%doc %{_mandir}/man?/*
|
| 87 |
%{_bindir}/*
|
| 88 |
#%{_libdir}/*.so.*
|
| 89 |
%{_datadir}/pixmaps/*.png
|
| 90 |
#%{_datadir}/applications/*.desktop
|
| 91 |
|
| 92 |
# %files devel
|
| 93 |
# %{_includedir}/*.h
|
| 94 |
# %{_libdir}/*.a
|
| 95 |
# %{_libdir}/*.so
|
| 96 |
# %exclude %{_libdir}/*.la
|
| 97 |
|
| 98 |
%changelog
|
| 99 |
* Son Jan 19 2005 Dag Wieers <dag@wieers.com> -
|
| 100 |
- Initial package. (using DAR)
|
| 101 |
* 2006-01-04 10:59 EST Luis Mondesi <lemx1@gmail.com> -
|
| 102 |
- Modified _template.spec for splashy
|