From 5d1b27edbf247a156e35d8fa3d1cab43e60d00ab Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 19 2015 15:43:42 +0000 Subject: import compat-colord10-1.0.4-1.el7 --- diff --git a/.compat-colord10.metadata b/.compat-colord10.metadata new file mode 100644 index 0000000..e90f57f --- /dev/null +++ b/.compat-colord10.metadata @@ -0,0 +1 @@ +85a08925690a33011cb3d032b0d20cd9ca86adb3 SOURCES/colord-1.0.4.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b247588 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/colord-1.0.4.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/compat-colord10.spec b/SPECS/compat-colord10.spec new file mode 100644 index 0000000..b723f71 --- /dev/null +++ b/SPECS/compat-colord10.spec @@ -0,0 +1,87 @@ +Summary: Compat package with colord 1.0 libraries +Name: compat-colord10 +Version: 1.0.4 +Release: 1%{?dist} +License: GPLv2+ and LGPLv2+ +URL: http://www.freedesktop.org/software/colord/ +Source0: http://www.freedesktop.org/software/colord/releases/colord-%{version}.tar.xz + +BuildRequires: dbus-devel +BuildRequires: docbook-utils +BuildRequires: gettext +BuildRequires: glib2-devel +BuildRequires: intltool +BuildRequires: systemd-devel +BuildRequires: lcms2-devel >= 2.2 +BuildRequires: libgudev1-devel +BuildRequires: polkit-devel >= 0.103 +BuildRequires: sqlite-devel +BuildRequires: gobject-introspection-devel +BuildRequires: libgusb-devel +BuildRequires: color-filesystem + +%description +Compatibility package with colord 1.0 libraries. + +%package -n compat-libcolord1 +Summary: Compat package with colord 1.0 libraries +Conflicts: colord < 1.2 + +%description -n compat-libcolord1 +Compatibility package with colord 1.0 libraries. + +%prep +%setup -q -n colord-%{version} + +%build +%configure \ + --with-daemon-user=colord \ + --disable-gtk-doc \ + --disable-vala \ + --disable-print-profiles \ + --disable-bash-completion \ + --disable-static \ + --disable-rpath \ + --disable-examples \ + --disable-silent-rules \ + --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 {} ';' + +rm -rf $RPM_BUILD_ROOT%{_sysconfdir} +rm -rf $RPM_BUILD_ROOT%{_bindir} +rm -rf $RPM_BUILD_ROOT%{_includedir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/udev +rm -rf $RPM_BUILD_ROOT%{_libdir}/colord-plugins/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/colord-sensors/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/ +rm -rf $RPM_BUILD_ROOT%{_libdir}/libcolord.la +rm -rf $RPM_BUILD_ROOT%{_libdir}/libcolord.so +rm -rf $RPM_BUILD_ROOT%{_libdir}/libcolordprivate.lo +rm -rf $RPM_BUILD_ROOT%{_libdir}/libcolordprivate.so +rm -rf $RPM_BUILD_ROOT%{_libdir}/libcolorhug* +rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +rm -rf $RPM_BUILD_ROOT%{_libexecdir} +rm -rf $RPM_BUILD_ROOT%{_datadir} + +%post -n compat-libcolord1 -p /sbin/ldconfig + +%postun -n compat-libcolord1 -p /sbin/ldconfig + +%files -n compat-libcolord1 +%doc COPYING +%{_libdir}/libcolord.so.* +%{_libdir}/libcolordprivate.so.* + +%changelog +* Tue May 05 2015 Richard Hughes - 1.0.4-1 +- New compat package for RHEL +- Resolves: #1184213