packages: colord/colord.spec (NEW) - new
megabajt
megabajt at pld-linux.org
Wed Apr 6 20:14:41 CEST 2011
Author: megabajt Date: Wed Apr 6 18:14:41 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/colord:
colord.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/colord/colord.spec
diff -u /dev/null packages/colord/colord.spec:1.1
--- /dev/null Wed Apr 6 20:14:41 2011
+++ packages/colord/colord.spec Wed Apr 6 20:14:36 2011
@@ -0,0 +1,149 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs # do not build and package API docs
+%bcond_without static_libs # don't build static libraries
+#
+Summary: Color daemon
+Name: colord
+Version: 0.1.5
+Release: 1
+License: GPL v2+ and LGPL v2+
+Group: Daemons
+Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.bz2
+# Source0-md5: f815d1632558ad23c6dabad92e18994b
+URL: http://colord.hughsie.com/
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.9
+BuildRequires: dbus-devel
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gtk-doc >= 1.9
+BuildRequires: intltool >= 0.40.0
+BuildRequires: lcms2-devel
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: polkit-devel >= 0.97
+BuildRequires: sane-backends-devel
+BuildRequires: sqlite3-devel
+BuildRequires: udev-glib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+colord is a low level system activated daemon that maps color devices
+to color profiles in the system context.
+
+%package devel
+Summary: Header files for colord library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki colord
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: dbus-devel
+Requires: glib2-devel >= 1:2.26.0
+
+%description devel
+Header files for colord library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki colord.
+
+%package static
+Summary: Static colord library
+Summary(pl.UTF-8): Statyczna biblioteka colord
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static colord library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka colord.
+
+%package apidocs
+Summary: colord API documentation
+Summary(pl.UTF-8): Dokumentacja API colord
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+colord API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API colord.
+
+%prep
+%setup -q
+
+%build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ %{__enable_disable apidocs gtk-doc} \
+ %{__enable_disable static_libs static} \
+ --with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/colormgr
+%attr(755,root,root) %{_libexecdir}/colord
+%attr(755,root,root) %{_libdir}/libcolord.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcolord.so.1
+%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
+%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
+%{_mandir}/man1/colormgr.1*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/colord.conf
+/etc/dbus-1/system.d/org.freedesktop.ColorManager.conf
+/lib/udev/rules.d/95-cd-devices.rules
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcolord.so
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.Device.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.Profile.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.xml
+%{_includedir}/libcolord
+%{_pkgconfigdir}/colord.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcolord.a
+%endif
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/colord
+%endif
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/04/06 18:14:36 megabajt
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list