File libdmxview.spec of Package libdmxview
#
# spec file for package libdmxview (Version 0.1.0)
#
# Copyright (c) 2008 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: libdmxview
BuildRequires: pkg-config xorg-x11-devel xorg-x11-libxcb-devel
Summary: DMX viewing library
Version: 0.1.0
Release: 4
License: X11/MIT
Group: System/Libraries
Source: libdmxview-%{version}.tar.bz2
%define debug_package_requires libdmxview0 = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Library for efficiently viewing and controlling remote desktop
sessions.
%package -n libdmxview0
License: X11/MIT
Group: System/Libraries
Summary: DMX viewing library
%description -n libdmxview0
Library for efficiently viewing and controlling remote desktop
sessions.
%package devel
Requires: xorg-x11-libxcb-devel libdmxview0 = %{version}
Summary: DMX viewing library
License: X11/MIT
Group: Development/Libraries/X11
%description devel
Library for efficiently viewing and controlling remote desktop
sessions.
%prep
%setup -q -n libdmxview-%{version}
%build
autoreconf -f -i
%configure --disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
%post -n libdmxview0 -p /sbin/ldconfig
%postun -n libdmxview0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libdmxview0
%defattr(-,root,root)
%{_libdir}/libdmxview.so.*
%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libdmxview.so
%dir %{_includedir}/libdmxview-0
%{_includedir}/libdmxview-0/*.h
%changelog
* Wed Oct 22 2008 maw@suse.de
- Make debug packages require a specific %%{version}-%%{release}.
* Sun Sep 14 2008 hfiguiere@suse.de
- Fix debug package dependency.
* Tue Sep 02 2008 hfiguiere@suse.de
- Initial release.