commit aaadec8f5b66d1ea659f7e54690cd9892c35cafea2561da2f3cc110569def7b1 Author: Vincent Untz Date: Thu Jun 16 12:51:27 2011 +0000 Accepting request 73033 from home:dimstar:branches:GNOME:Factory New package colord, becomes a dependency to gnome-color-manager 3.1.x / g-c-m 3.1.1 does not build with colord 0.1.8 due to API changes, but git has cought up with it already. Until we get colord approved in Factory (probably good to start now, before we have the new g-c-m) we will get g-c-m updated OBS-URL: https://build.opensuse.org/request/show/73033 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/colord-0.1.8.tar.bz2 b/colord-0.1.8.tar.bz2 new file mode 100644 index 0000000..a4e582c --- /dev/null +++ b/colord-0.1.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1ad9051bec5b9f62ed6920def2ca501034f5ed3967b78d39fc6263f68ca172c +size 512091 diff --git a/colord-rpmlintrc b/colord-rpmlintrc new file mode 100644 index 0000000..05eee6f --- /dev/null +++ b/colord-rpmlintrc @@ -0,0 +1,3 @@ +# bnc#698250 - Security Review for dbus service and polkit privileges +setBadness("suse-dbus-unauthorized-service", 90) +setBadness("polkit-unauthorized-privilege", 90) diff --git a/colord.changes b/colord.changes new file mode 100644 index 0000000..b76f60d --- /dev/null +++ b/colord.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Jun 6 13:46:22 UTC 2011 - dimstar@opensuse.org + +- Initial package, version 0.1.8. + diff --git a/colord.spec b/colord.spec new file mode 100644 index 0000000..304d846 --- /dev/null +++ b/colord.spec @@ -0,0 +1,125 @@ +# +# spec file for package +# +# Copyright (c) 2010 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: colord +Version: 0.1.8 +Release: 1 +License: GPLv2+ +Summary: Easily manage, install and generate color profiles +Url: http://colord.hughsie.com/ +Group: System/GUI/GNOME +Source: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.bz2 +# bnc#698250 - Security Review for dbus service and polkit privileges +Source99: colord-rpmlintrc +BuildRequires: intltool +BuildRequires: pkg-config +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: sane-backends-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: %{name}-lang + +%description +colord is a system service that makes it easy to manage, install and generate color +profiles to accurately color manage input and output devices. + +What colord does: + * Provides a D-Bus API for system frameworks to query, e.g. Get me the profiles for + device $foo or Create a device and assign it profile $bar. + * Provides a persistent database backed store that is preserved across reboots. + * Provides the session for a way to set system settings, for instance setting the + display profile for all users and all sessions. + +%package -n libcolord1 +Summary: Easily manage, install and generate color profiles - Development Files +Group: System/Libraries + +%description -n libcolord1 +colord is a system service that makes it easy to manage, install and generate color +profiles to accurately color manage input and output devices. + +%package -n libcolord-devel +Summary: Easily manage, install and generate color profiles - Development Files +Group: Development/Languages/C and C++ +Requires: libcolord1 = %{version} + +%description -n libcolord-devel +colord is a system service that makes it easy to manage, install and generate color +profiles to accurately color manage input and output devices. + +This package contains headers to build and link against libcolord. + +%lang_package +%prep +%setup -q + +%build +%configure \ + --disable-static \ + --enable-polkit +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name '*.la' -delete -print +%find_lang %{name} + +%clean +%{?buildroot:%__rm -rf %{buildroot}} + +%post -n libcolord1 -p /sbin/ldconfig + +%postun -n libcolord1 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc ChangeLog README COPYING +%{_libexecdir}/%{name} +/lib/udev/rules.d/*.rules +%config(noreplace) %{_sysconfdir}/%{name}.conf +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf +%{_bindir}/* +%{_libdir}/colord-sensors/ +%{_datadir}/color/ +%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.* +%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service +%{_datadir}/polkit-1/actions/org.freedesktop.color.policy + +%files -n libcolord1 +%defattr(-, root, root) +%{_libdir}/libcolord.so.* + +%files -n libcolord-devel +%defattr(-, root, root) +%{_includedir}/lib%{name}/ +%{_libdir}/libcolord.so +%{_libdir}/pkgconfig/colord.pc + +%files lang -f %{name}.lang + +%changelog +