72 lines
1.7 KiB
RPMSpec
72 lines
1.7 KiB
RPMSpec
|
Summary: Color daemon
|
||
|
Name: colord
|
||
|
Version: 0.1.0
|
||
|
Release: 1%{?dist}
|
||
|
License: GPLv2+
|
||
|
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
|
||
|
|
||
|
%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 \
|
||
|
--disable-gui \
|
||
|
--disable-dependency-tracking
|
||
|
|
||
|
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.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_includedir}/libcolord/*.h
|
||
|
%{_libdir}/libcolord.so
|
||
|
%{_libdir}/pkgconfig/colord.pc
|
||
|
|
||
|
%changelog
|
||
|
* Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
||
|
- Initial version for Fedora package review.
|