add libcolord and rename colord-devel to libcolord-devel [release 1.0.2-2mamba;Fri Mar 07 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 21:28:38 +01:00
parent eb27cbe769
commit 83ee9e14c6
2 changed files with 210 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# colord
colord is a system service that makes it easy to manage, install and generate color profiles to accurately color manage input and output devices.

208
colord.spec Normal file
View File

@ -0,0 +1,208 @@
Name: colord
Version: 1.0.2
Release: 2mamba
Summary: A system service that makes it easy to manage, install and generate color profiles
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/software/colord
Source: http://www.freedesktop.org/software/colord/releases/colord-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libglib-devel
BuildRequires: libgusb-devel
BuildRequires: liblcms2-devel
BuildRequires: libpcre-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsqlite-devel
BuildRequires: libusbx-devel
BuildRequires: libz-devel
BuildRequires: polkit-devel
BuildRequires: systemd-devel
BuildRequires: udev-devel
## AUTOBUILDREQ-END
BuildRequires: vala-tools
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: liblcms2-devel
Provides: colord-devel
Obsoletes: colord-devel
%description -n lib%{name}-devel
This package contains static libraries and header files need for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%prep
%setup -q
%build
%configure \
--enable-gtk-doc \
--enable-vala
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/colord.conf
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
#%{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf
%{_bindir}/cd-create-profile
%{_bindir}/cd-fix-profile
%{_bindir}/cd-iccdump
%{_bindir}/colormgr
/lib/udev/rules.d/69-cd-sensors.rules
/lib/udev/rules.d/95-cd-devices.rules
/lib/systemd/system/colord.service
#%{_libdir}/*-private.so.*
%dir %{_datadir}/color/icc/colord
%{_datadir}/color/icc/colord/*.icc
%dir %{_datadir}/colord
%dir %{_datadir}/colord/icons
%{_datadir}/colord/icons/*.svg
%dir %{_datadir}/colord/ti1
%{_datadir}/colord/ti1/*.ti1
%{_datadir}/bash-completion/completions/colormgr
%{_datadir}/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
%{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
%{_mandir}/man1/*.1*
%doc AUTHORS COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libcolord*.so.*
%{_libdir}/libcolorhug.so.*
%dir %{_libdir}/colord-plugins
%{_libdir}/colord-plugins/libcd_plugin_camera.*
%{_libdir}/colord-plugins/libcd_plugin_scanner.*
%dir %{_libdir}/colord-sensors
%{_libdir}/colord-sensors/libcolord*
%{_libdir}/colord-sensors/lib*-private.*
%{_libexecdir}/colord
%{_libexecdir}/colord-session
%{_libdir}/girepository-1.0/ColorHug-1.0.typelib
%{_libdir}/girepository-1.0/Colord-1.0.typelib
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/colord-1
%{_includedir}/colord-1/colord-session/cd-session.h
%{_includedir}/colord-1/colord.h
%{_includedir}/colord-1/colord-private.h
%dir %{_includedir}/colord-1/colord
%{_includedir}/colord-1/colord/*.h
%dir %{_includedir}/colord-1/colorhug
%{_includedir}/colord-1/colorhug/*.h
#%{_datadir}/vala/vapi/colord.vapi
%{_libdir}/libcolord.a
%{_libdir}/libcolord.la
%{_libdir}/libcolord.so
%{_libdir}/libcolorhug.a
%{_libdir}/libcolorhug.la
%{_libdir}/libcolorhug.so
%{_libdir}/lib*private.a
%{_libdir}/lib*private.la
%{_libdir}/lib*private.so
%{_datadir}/gir-1.0/ColorHug-1.0.gir
%{_datadir}/gir-1.0/Colord-1.0.gir
%{_datadir}/vala/vapi/colord.vapi
%{_libdir}/pkgconfig/colorhug.pc
%{_libdir}/pkgconfig/colord.pc
%doc ChangeLog NEWS README TODO
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/%{name}
%{_datadir}/gtk-doc/html/%{name}/*
%changelog
* Fri Mar 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- add libcolord and rename colord-devel to libcolord-devel
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Fri Jun 14 2013 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Fri May 03 2013 Automatic Build System <autodist@mambasoft.it> 0.1.34-1mamba
- automatic version update by autodist
* Fri Apr 19 2013 Automatic Build System <autodist@mambasoft.it> 0.1.33-1mamba
- automatic version update by autodist
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.31-2mamba
- rebuilt with vala
* Thu Mar 21 2013 Automatic Build System <autodist@mambasoft.it> 0.1.31-1mamba
- automatic version update by autodist
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.1.30-1mamba
- automatic version update by autodist
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 0.1.28-1mamba
- automatic version update by autodist
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 0.1.27-1mamba
- automatic version update by autodist
* Wed Oct 31 2012 Automatic Build System <autodist@mambasoft.it> 0.1.24-1mamba
- automatic version update by autodist
* Sat Oct 13 2012 Automatic Build System <autodist@mambasoft.it> 0.1.23-1mamba
- automatic version update by autodist
* Mon Aug 13 2012 Automatic Build System <autodist@mambasoft.it> 0.1.22-1mamba
- automatic version update by autodist
* Tue May 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.18-2mamba
- colord-devel: require liblcms2-devel needed by pkg-config file
* Tue Apr 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.18-1mamba
- update to 0.1.18
* Mon Nov 28 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.15-1mamba
- package created by autospec