File cups-autoconfig.spec of Package cups-autoconfig

#
# spec file for package cups-autoconfig (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/
#



Name:           cups-autoconfig
Url:            http://code.google.com/p/cups-autoconfig
Version:        0.1.0
Release:        158
Group:          System/Base
License:        GPL v2 only
Summary:        A Utility to Auto-configure Printers
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       cups >= 1.2 glib2 >= 2.8 hal dbus-1
BuildRequires:  cups-devel dbus-1-devel glib2-devel >= 2.8 hal hal-devel intltool
Source:         %{name}-%{version}.tar.gz

%description
This package contains a utility for auto-configuring printers.



Authors:
--------
    Chris Rivera <crivera@novell.com>

%prep
%setup

%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure --with-slibdir=/%{_lib}

%install
make install DESTDIR=${RPM_BUILD_ROOT}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir %{_libdir}/cups-autoconfig
%{_libdir}/cups-autoconfig/cups-autoconfig
%{_libdir}/hal/hal-cups-autoconfig
%config %{_sysconfdir}/cups-autoconfig.conf
%{_datadir}/hal/fdi/policy/20thirdparty/10-cups-autoconfig.fdi
%{_datadir}/locale/en_US/LC_MESSAGES/cups-autoconfig.mo

%changelog
* Mon Oct 06 2008 crivera@suse.de
- Fix a parsing error when loading our config file.  This fixes
  bnc#414177.
* Thu Apr 17 2008 crivera@suse.de
- Check the IEEE 1284 description fields for
  model information.  This helps us match some
  printers that don't report their exact model.
* Mon Dec 17 2007 crivera@suse.de
- Fix incorrect va_args usage.  This fixes 330615.
* Fri Nov 30 2007 crivera@suse.de
- Disable the ability to disable printers on removal.
  This fixes 334166.
- Fix the fdi path in the spec .
* Thu Nov 29 2007 crivera@suse.de
- HAL fdi file fixes from Danny Kukawka.
- Don't set the default policy for new printers.
- Various cleanups.
- Remove the debug option in the conf and always
  have debug turned on.
* Mon Jul 30 2007 crivera@suse.de
- Use HAL device properties instead of DBus signals
  to inform policy applications about newly configured printers.
* Fri Jul 27 2007 crivera@suse.de
- Initial import.
openSUSE Build Service is sponsored by