1 |
%define major 2 |
2 |
%define libname %mklibname %{name} %major |
3 |
%define develname %mklibname %{name} -d |
4 |
|
5 |
Summary: X On Screen Display, displays XMMS status information |
6 |
Name: xosd |
7 |
Version: 2.2.14 |
8 |
Release: %mkrel 23 |
9 |
License: GPLv2 |
10 |
Group: System/Libraries |
11 |
URL: https://www.ignavus.net/software.html |
12 |
Source0: https://www.ignavus.net/%{name}-%{version}.tar.bz2 |
13 |
Source1: http://ldots.org/xosd-guide/xosd-doc-0.01.tar.bz2 |
14 |
Patch0: xosd-2.2.14-fix-underquoted-calls.patch |
15 |
# (anssi) drop requirement on gtk+, it is not actually used when the |
16 |
# xmms plugin is not build |
17 |
Patch1: xosd-drop-gtk+.patch |
18 |
BuildRequires: multiarch-utils >= 1.0.3 |
19 |
BuildRequires: pkgconfig(ice) |
20 |
BuildRequires: pkgconfig(x11) |
21 |
BuildRequires: pkgconfig(xext) |
22 |
BuildRequires: pkgconfig(xinerama) |
23 |
|
24 |
%description |
25 |
This package contains an programs & plugins 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 tools |
30 |
Group: Graphics/Utilities |
31 |
Summary: Example applications of the xosd library |
32 |
Provides: osd_cat |
33 |
Obsoletes: osd_cat |
34 |
|
35 |
%description tools |
36 |
This package contains sample applications for the xosd library that |
37 |
can be used to display information in a TV set's on screen display |
38 |
fashion. |
39 |
|
40 |
%package -n %{libname} |
41 |
Group: System/Libraries |
42 |
Summary: Library for displaying information in an OSD |
43 |
|
44 |
%description -n %{libname} |
45 |
This package contains the shared library of xosd, it is requires by programs |
46 |
that display it's output in a TV set's on screen display fashion. |
47 |
|
48 |
%package -n %{develname} |
49 |
Group: Development/C |
50 |
Summary: Header files for developing programs using libxosd |
51 |
Provides: lib%{name}-devel = %{version}-%{release} |
52 |
Provides: %{name}-devel = %{version}-%{release} |
53 |
Requires: %{libname} = %{version} |
54 |
Obsoletes: %{_lib}xosd2-devel < %{version}-%{release} |
55 |
|
56 |
%description -n %{develname} |
57 |
This package contains the header files you need to develop programs based on |
58 |
libxosd that display it's output in a TV set's on screen display fashion. |
59 |
|
60 |
%prep |
61 |
%setup -q -a 1 |
62 |
%autopatch -p1 |
63 |
|
64 |
%build |
65 |
%configure --disable-static |
66 |
%make_build |
67 |
|
68 |
%install |
69 |
%make_install |
70 |
|
71 |
find %{buildroot} -name '*.la' -delete |
72 |
%multiarch_binaries %{buildroot}%{_bindir}/xosd-config |
73 |
|
74 |
%ifarch aarch64 %arm |
75 |
export QA_RPATHS=0x0001 |
76 |
%endif |
77 |
|
78 |
%files tools |
79 |
%doc COPYING |
80 |
%{_bindir}/osd_cat |
81 |
%{_mandir}/man1/osd_cat.1* |
82 |
%{_datadir}/%{name}/*png |
83 |
|
84 |
%files -n %{libname} |
85 |
%doc COPYING |
86 |
%{_libdir}/libxosd.so.%{major}{,.*} |
87 |
|
88 |
%files -n %{develname} |
89 |
%doc COPYING ChangeLog README AUTHORS xosd-doc-0.01/html |
90 |
%multiarch %{multiarch_bindir}/xosd-config |
91 |
%{_bindir}/xosd-config |
92 |
%{_mandir}/man1/xosd-config.1* |
93 |
%{_libdir}/libxosd.so |
94 |
%{_includedir}/*.h |
95 |
%{_datadir}/aclocal/libxosd.m4 |
96 |
%{_mandir}/man3/* |