/[packages]/cauldron/xosd/current/SPECS/xosd.spec
ViewVC logotype

Contents of /cauldron/xosd/current/SPECS/xosd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28331 - (show annotations) (download)
Fri Jan 21 08:43:58 2011 UTC (10 years, 7 months ago) by ahmad
File size: 3886 byte(s)
imported package xosd
1 %define name xosd
2 %define version 2.2.14
3 %define release %mkrel 12
4 %define major 2
5 %define libname %mklibname %{name} %major
6
7 Summary: X On Screen Display, displays XMMS status information
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 Source0: http://www.ignavus.net/%{name}-%{version}.tar.bz2
12 Source1: http://ldots.org/xosd-guide/xosd-doc-0.01.tar.bz2
13 Patch0: xosd-2.2.14-fix-underquoted-calls.patch
14 License: GPL
15 Group: System/Libraries
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17 Buildrequires: xmms-devel
18 Buildrequires: gdk-pixbuf-devel
19 %if %mdkversion >= 1020
20 BuildRequires: multiarch-utils >= 1.0.3
21 %endif
22 URL: http://www.ignavus.net/software.html
23
24 %description
25 This package contains an xmms plugin to display various things whenever they
26 change (volume, track, paused/shuffle/repeat,...) in a TV set's on screen
27 display fashion.
28
29 %package -n xmms-xosd
30 Group: Sound
31 Summary: X On Screen Display, displays XMMS status information
32 Requires: xmms
33 Provides: xosd
34 Obsoletes: xosd
35
36 %description -n xmms-xosd
37 This package contains an xmms plugin to display various things whenever they
38 change (volume, track, paused/shuffle/repeat,...) in a TV set's on screen
39 display fashion.
40
41 %if 0
42 %package -n audacious-xosd
43 Group: Sound
44 Summary: X On Screen Display, displays Audacious status information
45 Requires: audacious
46 Buildrequires: libaudacious-devel
47 Provides: beep-media-player-xosd
48 Obsoletes: beep-media-player-xosd
49
50 %description -n audacious-xosd
51 This package contains an Audacious plugin to display various things
52 whenever they change (volume, track, paused/shuffle/repeat,...) in a
53 TV set's on screen display fashion.
54 %endif
55
56 %package tools
57 Group: Graphics
58 Summary: Example applications of the xosd library
59 Provides: osd_cat
60 Obsoletes: osd_cat
61
62 %description tools
63 This package contains sample applications for the xosd library that
64 can be used to display information in a TV set's on screen display
65 fashion.
66
67 %package -n %{libname}
68 Group: System/Libraries
69 Summary: Library for displaying information in an OSD
70
71 %description -n %{libname}
72 This package contains the shared library of xosd, it is requires by programs
73 that display it's output in a TV set's on screen display fashion.
74
75 %package -n %{libname}-devel
76 Group: Development/C
77 Summary: Header files for developing programs using libxosd
78 Provides: lib%{name}-devel = %{version}-%{release}
79 Provides: %{name}-devel = %{version}-%{release}
80 Requires: %{libname} = %{version}
81
82 %description -n %{libname}-devel
83 This package contains the header files you need to develop programs based on
84 libxosd that display it's output in a TV set's on screen display fashion.
85
86 %prep
87 %setup -q -a 1
88 %patch0 -p1 -b .underquoted
89
90 %build
91 %configure2_5x
92 %make
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96 %makeinstall_std
97 rm -f %{buildroot}%{_libdir}/*.a
98 rm -f %{buildroot}%{_libdir}/*/General/*.la
99 %if %mdkversion >= 1020
100 %multiarch_binaries %{buildroot}%{_bindir}/xosd-config
101 %endif
102
103 %clean
104 rm -fr %buildroot
105
106 %if %mdkversion < 200900
107 %post -n %libname -p /sbin/ldconfig
108 %endif
109
110 %if %mdkversion < 200900
111 %postun -n %libname -p /sbin/ldconfig
112 %endif
113
114 %files -n xmms-xosd
115 %defattr(-,root,root)
116 %doc COPYING
117 %{_libdir}/xmms/General/libxmms_osd.so*
118 %{_datadir}/xosd/
119
120 %if 0
121 %files -n audacious-xosd
122 %defattr(-,root,root)
123 %doc COPYING
124 %{_libdir}/audacious/General/libbmp_osd.so*
125 %{_datadir}/xosd/
126 %endif
127
128 %files tools
129 %defattr(-,root,root)
130 %doc COPYING
131 %{_bindir}/osd_cat
132 %{_mandir}/man1/osd_cat.1*
133
134 %files -n %{libname}
135 %defattr(-,root,root)
136 %doc COPYING
137 %{_libdir}/libxosd.so.*
138
139 %files -n %{libname}-devel
140 %defattr(-,root,root)
141 %doc COPYING ChangeLog README AUTHORS xosd-doc-0.01/html
142 %if %mdkversion >= 1020
143 %multiarch %{multiarch_bindir}/xosd-config
144 %endif
145 %{_bindir}/xosd-config
146 %{_mandir}/man1/xosd-config.1*
147 %{_libdir}/libxosd.so
148 %{_libdir}/libxosd.la
149 %{_includedir}/*.h
150 %{_datadir}/aclocal/libxosd.m4
151 %{_mandir}/man3/*
152
153
154
155

  ViewVC Help
Powered by ViewVC 1.1.28