|
|
@ -1,9 +1,11 @@
|
|
|
|
|
|
|
|
%bcond_with static
|
|
|
|
|
|
|
|
|
|
|
|
%define xmms_plugdir %(xmms-config --general-plugin-dir 2>/dev/null)
|
|
|
|
%define xmms_plugdir %(xmms-config --general-plugin-dir 2>/dev/null)
|
|
|
|
%define bmp_plugdir %(pkg-config bmp --variable=general_plugin_dir 2>/dev/null)
|
|
|
|
%define bmp_plugdir %(pkg-config bmp --variable=general_plugin_dir 2>/dev/null)
|
|
|
|
|
|
|
|
|
|
|
|
Name: xosd
|
|
|
|
Name: xosd
|
|
|
|
Version: 2.2.14
|
|
|
|
Version: 2.2.14
|
|
|
|
Release: 3
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: On-screen display library for X
|
|
|
|
Summary: On-screen display library for X
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -14,7 +16,14 @@ Patch0: %{name}-aclocal18.patch
|
|
|
|
Patch1: %{name}-defaults.patch
|
|
|
|
Patch1: %{name}-defaults.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtk+-devel >= 1:1.2.2, gdk-pixbuf-devel >= 1:0.22.0, xmms-devel
|
|
|
|
# Needed for main xosd:
|
|
|
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
|
|
|
|
# ...and for the bmp and xmms plugins:
|
|
|
|
|
|
|
|
BuildRequires: gtk+-devel >= 1:1.2.2
|
|
|
|
|
|
|
|
BuildRequires: gdk-pixbuf-devel >= 1:0.22.0
|
|
|
|
|
|
|
|
BuildRequires: xmms-devel
|
|
|
|
BuildRequires: bmp-devel
|
|
|
|
BuildRequires: bmp-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -27,7 +36,10 @@ interesting things as they change (song name, volume etc...)
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the XOSD on-screen display library
|
|
|
|
Summary: Development files for the XOSD on-screen display library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}, XFree86-devel
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: libX11-devel
|
|
|
|
|
|
|
|
Requires: libXext-devel
|
|
|
|
|
|
|
|
Requires: libXinerama-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
The xosd-devel package contains static libraries, header files and
|
|
|
|
The xosd-devel package contains static libraries, header files and
|
|
|
@ -37,7 +49,8 @@ display.
|
|
|
|
%package -n xmms-%{name}
|
|
|
|
%package -n xmms-%{name}
|
|
|
|
Summary: XMMS plugin for on-screen display using the XOSD library
|
|
|
|
Summary: XMMS plugin for on-screen display using the XOSD library
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: %{name} = %{version}-%{release}, xmms
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: xmms
|
|
|
|
Obsoletes: %{name}-xmms <= 2.2.12
|
|
|
|
Obsoletes: %{name}-xmms <= 2.2.12
|
|
|
|
|
|
|
|
|
|
|
|
%description -n xmms-%{name}
|
|
|
|
%description -n xmms-%{name}
|
|
|
@ -47,7 +60,8 @@ the XOSD library, similarly to TV OSD.
|
|
|
|
%package -n bmp-%{name}
|
|
|
|
%package -n bmp-%{name}
|
|
|
|
Summary: BMP plugin for on-screen display using the XOSD library
|
|
|
|
Summary: BMP plugin for on-screen display using the XOSD library
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: %{name} = %{version}-%{release}, bmp
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: bmp
|
|
|
|
|
|
|
|
|
|
|
|
%description -n bmp-%{name}
|
|
|
|
%description -n bmp-%{name}
|
|
|
|
Beep Media Player plugin to display information on-screen through
|
|
|
|
Beep Media Player plugin to display information on-screen through
|
|
|
@ -61,7 +75,7 @@ the XOSD library, similarly to TV OSD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --disable-dependency-tracking
|
|
|
|
%configure --disable-dependency-tracking %{!?with_static:--disable-static}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{__perl} -pi -e "s|$RPM_OPT_FLAGS\\s*|| ; s|\\s*-Wall||" script/xosd-config
|
|
|
|
%{__perl} -pi -e "s|$RPM_OPT_FLAGS\\s*|| ; s|\\s*-Wall||" script/xosd-config
|
|
|
|
|
|
|
|
|
|
|
@ -77,6 +91,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -84,30 +99,37 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING README TODO
|
|
|
|
%doc AUTHORS ChangeLog COPYING README TODO
|
|
|
|
%{_bindir}/osd_cat
|
|
|
|
%{_bindir}/osd_cat
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/libxosd.so.*
|
|
|
|
%{_datadir}/xosd
|
|
|
|
%{_datadir}/xosd/
|
|
|
|
%{_mandir}/man1/osd_cat*
|
|
|
|
%{_mandir}/man1/osd_cat.1*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/xosd-config
|
|
|
|
%{_bindir}/xosd-config
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/xosd.h
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/libxosd.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%if %{with static}
|
|
|
|
|
|
|
|
%{_libdir}/libxosd.a
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%{_datadir}/aclocal/libxosd.m4
|
|
|
|
%{_datadir}/aclocal/libxosd.m4
|
|
|
|
%{_mandir}/man1/xosd-config*
|
|
|
|
%{_mandir}/man1/xosd-config.1*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/xosd*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%files -n xmms-%{name}
|
|
|
|
%files -n xmms-%{name}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{xmms_plugdir}/*.so
|
|
|
|
%{xmms_plugdir}/libxmms_osd.so
|
|
|
|
|
|
|
|
|
|
|
|
%files -n bmp-%{name}
|
|
|
|
%files -n bmp-%{name}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{bmp_plugdir}/*.so
|
|
|
|
%{bmp_plugdir}/libbmp_osd.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 17 2005 Ville Skyttä <ville.skytta at iki.fi> - 2.2.14-4
|
|
|
|
|
|
|
|
- Adapt to modular X packaging.
|
|
|
|
|
|
|
|
- Don't ship static libraries by default.
|
|
|
|
|
|
|
|
- Specfile cleanups.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 2.2.14-3
|
|
|
|
* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 2.2.14-3
|
|
|
|
- Rebuild.
|
|
|
|
- Rebuild.
|
|
|
|
|
|
|
|
|
|
|
|