File xosd.spec of Package xosd
#
# spec file for package xosd (Version 2.2.14)
#
# Copyright (c) 2008 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 via http://bugs.opensuse.org/
#
# norootforbuild
Name: xosd
BuildRequires: gcc-c++ gtk1-compat-devel update-desktop-files xorg-x11-devel
#%define plugindir %(xmms-config --general-plugin-dir)
%define aclocaldir %(aclocal --print-ac-dir)
Version: 2.2.14
Release: 1
License: GPL v2 or later
Summary: X On-Screen Display library
Source: %{name}-%{version}.tar.bz2
Patch: xosd.patch
Url: http://www.ignavus.net/software.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/X11/Utilities
%description
A library for displaying a TV-like on-screen display in X.
Authors:
--------
Andre Renaud <andre@ignavus.net>
%description -l de
%package devel
Summary: X On-Screen Display library development files
Group: Development/Libraries/X11
Requires: xosd = %{version}
Requires: xorg-x11-devel, glibc-devel, xorg-x11-libXt-devel, xorg-x11-libXext-devel, xorg-x11-libX11-devel, xorg-x11-libxcb-devel, xorg-x11-libXau-devel, xorg-x11-libSM-devel, xorg-x11-libICE-devel
%description devel
development headers and static libraries for xosd
Authors:
--------
Andre Renaud <andre@ignavus.net>
%prep
%setup -n %{name}-%{version}
%patch -p1
%build
%if "%(xft-config --prefix)" == "/usr"
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--x-includes=/usr/include \
--x-libraries=/usr/%_lib \
--disable-new-plugin \
--disable-old-plugin
%else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--disable-new-plugin \
--disable-old-plugin
%endif
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, 755)
%doc %{_mandir}/man1/osd_cat.1*
%doc AUTHORS ChangeLog COPYING README
%doc %{_mandir}/man3/xosd*3*
%{_datadir}/%{name}
%{_libdir}/libxosd.so.*
%{_bindir}/osd_cat
%files devel
%defattr(-, root, root)
%{_libdir}/libxosd.a
%{_libdir}/libxosd.la
%{_libdir}/libxosd.so
%{_includedir}/xosd.h
%{_bindir}/xosd-config
%{aclocaldir}/libxosd.m4
%doc %{_mandir}/man1/xosd-config.1*
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Jan 26 2008 bwalle@suse.de
- update to 2.4.14
o 2.2.13 -> 2.2.24
+ Timeout Bigfix Patch
+ Documentation Patch
+ Beep Plugin Security Patch
o 2.2.12 -> 2.2.13
+ buffer overflow patch
+ timeout patch
+ x window select patch
+ x event patch
+ synchronous update patch
+ debug patch
+ configure.ac patch
+ beep media player plugin
+ configure patch so xosd compiles when beep media player not
installed
* Fri Nov 30 2007 lmichnovic@suse.cz
- added gcc-c++ to BuildRequires
* Thu Aug 30 2007 lmichnovic@suse.cz
- fixed rpmlint warnings: bziped archive, fixed files permissions
- specifying X.org headers dir and library dir
- fixed Requires for devel package
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 19 2005 lmichnovic@suse.cz
- xosd-xmms canceled
- build as gtk2 aplication
- changed needforbuild (xorg <-> x11)
* Tue Nov 30 2004 seife@suse.de
- update to version 2.2.12
* Mon Nov 08 2004 ro@suse.de
- cleaned neededforbuild
* Fri Aug 27 2004 seife@suse.de
- update to version 2.2.10
* Tue Aug 24 2004 seife@suse.de
- xmms -> xmms-lib
* Mon Jul 05 2004 seife@suse.de
- update to version 2.2.8
* Tue Feb 17 2004 seife@suse.de
- aclocal quoting fixed
* Sat Feb 14 2004 kukuk@suse.de
- Fix build on lib64 architecures
- Fix ldconfig post/postun section
* Fri Feb 13 2004 seife@suse.de
- initial checkin