colord-gtk/colord-gtk.spec

134 lines
3.6 KiB
RPMSpec

Name: colord-gtk
Version: 0.3.1
Release: 1mamba
Summary: GTK+ bindings for Colord
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.freedesktop.org/software/colord/
Source: http://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libcolord-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libgtk3-devel
## AUTOBUILDREQ-END
BuildRequires: libcolord-devel >= 1.2.12-1mamba
%description
GTK+ bindings for Colord.
%package -n colord-gtk4
Group: System/Libraries
Summary: Gtk+4 bindings for %{name}
%description -n colord-gtk4
GTK+4 bindings for Colord.
%package tools
Group: System/Tools
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Tools provided with %{name}.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: colord-gtk4 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%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.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libcolord-gtk.so.*
%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib
%doc AUTHORS COPYING
%files -n colord-gtk4
%defattr(-,root,root)
%{_libdir}/libcolord-gtk4.so.*
%files tools
%defattr(-,root,root)
%{_bindir}/cd-convert
%{_mandir}/man1/cd-convert.1*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/colord-1
%{_includedir}/colord-1/colord-gtk.h
%dir %{_includedir}/colord-1/colord-gtk
%{_includedir}/colord-1/colord-gtk/cd-*.h
%{_libdir}/libcolord-gtk.so
%{_libdir}/libcolord-gtk4.so
%{_libdir}/pkgconfig/colord-gtk.pc
%{_libdir}/pkgconfig/colord-gtk4.pc
%{_datadir}/gir-1.0/ColordGtk-1.0.gir
#%{_datadir}/vala/vapi/colord-gtk.vapi
%dir %{_datadir}/gtk-doc/html/colord-gtk
%{_datadir}/gtk-doc/html/colord-gtk/*
%doc NEWS README TODO
%changelog
* Sat Jan 27 2024 Automatic Build System <autodist@openmamba.org> 0.3.1-1mamba
- automatic version update by autodist
* Thu Jun 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-2mamba
- -devel: fix requirement for colord-gtk4
* Thu Jun 09 2022 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Thu Jul 11 2019 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
- automatic version update by autodist
* Fri Mar 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.26-2mamba
- rebuilt by autoport with build requirements: libcolord-devel>=1.2.12-1mamba
* Sat Dec 27 2014 Automatic Build System <autodist@mambasoft.it> 0.1.26-1mamba
- automatic update by autodist
* Wed Apr 10 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.25-1mamba
- package created by silvan using the webbuild interface