File: splashy.spec

package info (click to toggle)
splashy 0.3.13-3+lenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,796 kB
  • ctags: 346
  • sloc: sh: 10,502; ansic: 4,538; makefile: 120; xml: 106; perl: 20
file content (170 lines) | stat: -rw-r--r-- 4,562 bytes parent folder | download
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
#
# spec file for package splashy (Version 0.3.7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments to: splashy-devel@lists.alioth.debian.org
#

Summary:    A complete user-space boot splash system 
Name:       splashy
Version:    0.3.8
Release:    1
License:    GPL
Group:      System/Boot
URL:        http://splashy.alioth.debian.org

Source0:     %{name}-%{version}.tar.gz

BuildRoot:  %{_tmppath}/%{name}-%{version}-buildroot

BuildRequires:  directfb-devel
BuildRequires:  glib2-devel
BuildRequires:  libpng-devel
BuildRequires:  libjpeg-devel
BuildRequires:  freetype-devel
BuildRequires:  file-devel

%description
Splashy is a next generation boot splashing system for Linux systems.
Unlike other splashing systems, it needs no patches to the kernel and
it's installed like a normal package. Make your boot process eye-candy
with Splashy!

        Some of Splashy's most noticable features include:

        * Require zero kernel patches/full functionality in user-space

        * Boot/halt/reboot/runlevel-switch support

        * Progressbar support (with optional border)

        * Verbose mode (with F2/ESC keys)

        * Configuration file in XML

        * Cope with any video-mode resolution/size

        * Cope with 8, 16, and 24 bit framebuffers

        * Alpha channel (transparency) support

        * Video mode detection

        * Initramfs support

        * TrueType2 fonts support

        * Image/animation file formats supported: jpg, png, gif,mpg, swf

        * Low dependencies and code in C to best perform

        * Full LSB support

        * Multiple themes support

        * Really easy to create new themes

        * X detection on exit

        * Smooth progressbar movement

        * Animations support

        * Fade in/out effects

        * Totally configurable

Authors:
--------
        Please refer to doc/AUTHORS

%package -n	splashy-devel
Summary:        Development tools for programs using libsplashy
Group:          Development/Languages/C and C++
Requires:       splashy = %{version}

%description -n	splashy-devel
This package contains the header files and libraries needed for
developing programs using libsplashy.

%prep

%setup

        find . -type f | xargs perl -pi -e "s|/usr/lib/|%{_libdir}/|g"
        find . -type f | xargs perl -pi -e "s|/lib/|/%{_lib}/|g"

%build

        ./autogen.sh --prefix=/ --libdir=/lib --sbindir=/sbin \
	--sysconfdir=/etc --includedir=/usr/include \
	--datarootdir=/usr/share --mandir=/usr/share/man \
	--disable-static

%{__make} %{?_smp_mflags}

%install
        export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"

%makeinstall

# remove Debian-specific files
        cd %{buildroot}
        rm -f  .%{_sysconfdir}/lsb-base-logging.sh
        rm -rf .%{_sysconfdir}/console-tools
        rm -rf .%{_datadir}/initramfs-tools
#remove splashy init script for now, it's not working anyway
#TODO, fixup init-script, install with chmod +x, link to /usr/sbin/rcsplash
#Note: splashy runs better (aesthetically) when run from rc.sysinit 
        rm -f .%{_sysconfdir}/init.d/splashy

#rm symlink (do it in post)
        rm -f  .%{_sysconfdir}/splashy/themes

#%find_lang %{name}

%clean
        %{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
        #make the themes link (see above)
        ln -s /usr/share/splashy/themes /etc/splashy/themes 

%postun -p /sbin/ldconfig
        rm -f  etc/splashy/themes

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%doc %{_mandir}/man?/*
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/*
%dir %{_sysconfdir}/splashy
%config(noreplace) %{_sysconfdir}/splashy/*
%_sbindir/*
%dir %{_datadir}/splashy
%{_datadir}/splashy/*
%{_libdir}/lib%{name}*.so.*
%{_libdir}/lib%{name}*.la
#%{_libdir}/lib%{name}*.a

#package language files
%{_datadir}/locale/*/*/*.mo

%files -n splashy-devel
%defattr(-,root,root)
%{_includedir}/%{name}*.h
%{_libdir}/lib%{name}*.so

%changelog
* Sun Dec 09 2007 Luis Mondesi <lemsx1@gmail.com>
- Fedora 7 bug fixes. Includes .la files now.
* Fri Nov 28 2007 Rehan Khan <rehan.khan@dsl.pipex.com>
- Initial import for Fedora (it works but it's not perfect)
* Fri Sep 28 2007 Luis Mondesi <lemsx1@gmail.com>
- Copied steps from OpenSUSE's spec file
* Wed Jan 04 2006 Luis Mondesi <lemx1@gmail.com>
- Initial package. (using DAR)
- Modified _template.spec for splashy