%define api_version 1.0 %define lib_name %mklibname gnomecupsui- %{api_version} %{lib_major} %define lib_major 1 Summary: GNOME CUPS printer management tool Name: gnome-cups-manager Version: 0.17 Release: 1mdk License: GPL Group: Graphical desktop/GNOME URL: http://www.ximian.com Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgnomeui2-devel BuildRequires: libglade2.0-devel BuildRequires: libgnomecups-devel Obsoletes: printman Provides: printman %description GNOME Cups printer management tool %package -n %{lib_name} Summary: GNOME library for CUPS integration Group: System/Libraries Requires: %{name} = %{version}-%{release} %description -n %{lib_name} GNOME library for CUPS integration %package -n %{lib_name}-devel Summary: GNOME library for CUPS integration Group: Development/GNOME and GTK+ Requires: %{lib_name} = %{version}-%{release} Provides: libgnomecupsui-devel = %{version}-%{release} Provides: libgnomecupsui-%{api_version}-devel = %{version}-%{release} %description -n %{lib_name}-devel GNOME library for CUPS integration %prep %setup -q %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig -n %{lib_name} %postun -p /sbin/ldconfig -n %{lib_name} %files -f %{name}.lang %defattr(-,root,root,-) %doc README ChangeLog NEWS %{_bindir}/* %{_libdir}/bonobo/servers/* %{_sbindir}/* %{_datadir}/gnome-cups-manager %{_datadir}/icons/gnome/48x48/devices/* %{_datadir}/icons/gnome/48x48/emblems/* %{_datadir}/pixmaps/* %files -n %{lib_name} %defattr(-,root,root,-) %{_libdir}/*.so.* %files -n %{lib_name}-devel %defattr(-,root,root,-) %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/*.a %{_libdir}/pkgconfig/* %{_includedir}/* %changelog * Fri Jul 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.17-1mdk - First Mandrake package (replace printman)