colord-gtk/colord-gtk.spec

94 lines
2.3 KiB
RPMSpec
Raw Normal View History

Summary: GTK+ 3 support library for colord
2012-06-27 07:52:20 +00:00
Name: colord-gtk
2024-01-25 11:50:44 +00:00
Version: 0.3.1
Release: %autorelease
2023-02-22 09:35:53 +00:00
License: LGPL-2.1-or-later
2012-06-27 07:52:20 +00:00
URL: http://www.freedesktop.org/software/colord/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
2019-06-20 19:00:51 +00:00
BuildRequires: meson
BuildRequires: docbook5-style-xsl
BuildRequires: gettext >= 0.19.8
2012-06-27 07:52:20 +00:00
BuildRequires: glib2-devel
BuildRequires: colord-devel >= 0.1.23
2012-06-27 07:52:20 +00:00
BuildRequires: lcms2-devel >= 2.2
BuildRequires: gobject-introspection-devel
BuildRequires: vala
2012-06-27 07:52:20 +00:00
BuildRequires: gtk3-devel
BuildRequires: gtk4-devel
2012-06-27 07:52:20 +00:00
BuildRequires: gtk-doc
%description
colord-gtk is a support library for colord and provides additional
functionality that requires GTK+.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Files for development with %{name}.
%package -n colord-gtk4
Summary: GTK 4 support library for colord
%description -n colord-gtk4
colord-gtk is a support library for colord and provides additional
functionality that requires GTK. This package contains the GTK 4
build of colord-gtk.
%package -n colord-gtk4-devel
Summary: Development package for colord-gtk4
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description -n colord-gtk4-devel
Files for GTK 4 development with %{name}4.
2012-06-27 07:52:20 +00:00
%prep
2019-06-20 19:00:51 +00:00
%autosetup -p1
2012-06-27 07:52:20 +00:00
%build
2019-06-20 19:00:51 +00:00
%meson -Ddocs=true -Dgtk2=false -Dman=true -Dtests=false -Dvapi=true
%meson_build
2012-06-27 07:52:20 +00:00
%install
2019-06-20 19:00:51 +00:00
%meson_install
2012-06-27 07:52:20 +00:00
%find_lang %{name}
%ldconfig_scriptlets
2012-06-27 07:52:20 +00:00
%files -f %{name}.lang
%doc README AUTHORS NEWS COPYING
2014-12-02 15:15:24 +00:00
%{_bindir}/*
2019-07-17 09:09:24 +00:00
%{_mandir}/man1/*.1*
2012-06-27 07:52:20 +00:00
%{_libdir}/libcolord-gtk.so.*
%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib
%files -n colord-gtk4
%{_libdir}/libcolord-gtk4.so.*
2012-06-27 07:52:20 +00:00
%files devel
%{_libdir}/libcolord-gtk.so
%{_libdir}/pkgconfig/colord-gtk.pc
%dir %{_includedir}/colord-1
%{_includedir}/colord-1/colord-gtk.h
%dir %{_includedir}/colord-1/colord-gtk
%{_includedir}/colord-1/colord-gtk/*.h
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/ColordGtk-1.0.gir
2019-06-20 19:00:51 +00:00
%doc %{_datadir}/gtk-doc/html/colord-gtk
2012-06-27 07:52:20 +00:00
%{_datadir}/vala/vapi/colord-gtk.vapi
2019-06-20 19:00:51 +00:00
%{_datadir}/vala/vapi/colord-gtk.deps
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
2012-06-27 07:52:20 +00:00
%files -n colord-gtk4-devel
%{_libdir}/libcolord-gtk4.so
%{_libdir}/pkgconfig/colord-gtk4.pc
# Requires the base -devel package for headers. No GTK 4 .gir nor VAPI yet.
2012-06-27 07:52:20 +00:00
%changelog
2024-01-25 11:50:44 +00:00
%autochangelog