2011-01-13 18:13:46 +00:00
|
|
|
Summary: Color daemon
|
|
|
|
Name: colord
|
2011-03-31 11:11:17 +00:00
|
|
|
Version: 0.1.5
|
2011-02-28 13:17:03 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+ and LGPLv2+
|
2011-01-13 18:13:46 +00:00
|
|
|
URL: http://gitorious.org/colord
|
|
|
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: lcms2-devel
|
|
|
|
BuildRequires: polkit-devel
|
2011-01-26 11:08:59 +00:00
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
BuildRequires: libgudev1-devel
|
|
|
|
BuildRequires: sane-backends-devel
|
2011-01-13 18:13:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
colord is a low level system activated daemon that maps color devices
|
|
|
|
to color profiles in the system context.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files for development with %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
2011-02-28 13:17:03 +00:00
|
|
|
--disable-rpath \
|
|
|
|
--disable-examples \
|
2011-01-13 18:13:46 +00:00
|
|
|
--disable-dependency-tracking
|
|
|
|
|
2011-02-28 13:17:03 +00:00
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
2011-01-13 18:13:46 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Remove static libs and libtool archives.
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README AUTHORS NEWS COPYING
|
|
|
|
%{_libexecdir}/colord
|
|
|
|
%{_bindir}/colormgr
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
|
|
|
|
%{_datadir}/man/man1/colormgr.1.gz
|
|
|
|
%{_libdir}/libcolord.so.*
|
2011-01-26 11:08:59 +00:00
|
|
|
%config %{_sysconfdir}/colord.conf
|
|
|
|
/lib/udev/rules.d/*.rules
|
2011-01-13 18:13:46 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/libcolord/*.h
|
|
|
|
%{_libdir}/libcolord.so
|
|
|
|
%{_libdir}/pkgconfig/colord.pc
|
|
|
|
|
|
|
|
%changelog
|
2011-03-31 11:11:17 +00:00
|
|
|
* Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-03-09 16:48:05 +00:00
|
|
|
* Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-02-28 13:17:03 +00:00
|
|
|
* Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-02-08 10:02:58 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-28 17:07:06 +00:00
|
|
|
* Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
|
|
|
|
- Rebuild in the vain hope koji isn't broken today.
|
|
|
|
|
2011-01-26 11:08:59 +00:00
|
|
|
* Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
|
|
|
- New upstream version.
|
|
|
|
|
2011-01-13 18:13:46 +00:00
|
|
|
* Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
|
|
- Initial version for Fedora package review.
|