File xosd.spec of Package xosd
#
# spec file for package xosd (Version 2.2.14)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 85
License: GPL v2 or later
Summary: X On-Screen Display library
Source: %{name}-%{version}.tar.bz2
Patch: xosd.patch
Patch1: xosd-2.2.14-config.patch
Url: http://sourceforge.net/project/showfiles.php?group_id=124390
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
License: GPL v2 or later
Summary: X On-Screen Display library development files
Group: Development/Libraries/X11
Requires: xosd = %{version}
%description devel
development headers and static libraries for xosd
Authors:
--------
Andre Renaud <andre@ignavus.net>
%prep
%setup -q
%patch -p1
%patch1
%build
%if "%(xft-config --prefix)" == "/usr"
%configure --disable-static --with-pic \
--x-includes=/usr/include \
--disable-new-plugin \
--disable-old-plugin
%else
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic \
--disable-new-plugin \
--disable-old-plugin
%endif
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la
%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.so
%{_includedir}/xosd.h
%{_bindir}/xosd-config
%{aclocaldir}/libxosd.m4
%doc %{_mandir}/man1/xosd-config.1*
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Mar 01 2009 crrodriguez@suse.de
- remove static libraries and "la" files
- fix -devel package dependencies
- fix xosd-config to not bloat other packages with bogus dependencies
* 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