]> git.pld-linux.org Git - packages/gnome-color-manager.git/blame - gnome-color-manager.spec
- updated to 3.20.0
[packages/gnome-color-manager.git] / gnome-color-manager.spec
CommitLineData
152e16d5 1Summary: Color management tools for GNOME
33e6f249 2Summary(pl.UTF-8): Narzędzia do zarządzania kolorami dla GNOME
f9b6a5f5 3Name: gnome-color-manager
b94b77b2 4Version: 3.20.0
33e6f249 5Release: 1
f9b6a5f5
PZ
6License: GPL v2
7Group: X11/Applications
b94b77b2
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.20/%{name}-%{version}.tar.xz
9# Source0-md5: e9900077c337b6cb9879ef21bbf29a1f
33e6f249
JB
10# rpm glob again has some problem with absolute symlinks (dead at the time of packaging);
11# use relative ones (they don't go across /)
12Patch0: %{name}-symlinks.patch
13# dead, wiki.gnome.org GnomeColorManager page is in Attic too
14#URL: http://projects.gnome.org/gnome-color-manager/
15URL: https://github.com/GNOME/gnome-color-manager
16BuildRequires: appstream-glib-devel
152e16d5 17BuildRequires: autoconf >= 2.63
c0de98f4 18BuildRequires: automake >= 1:1.11
b94b77b2 19BuildRequires: colord-devel >= 1.3.1
04122822 20BuildRequires: colord-gtk-devel >= 0.1.20
6805a708 21BuildRequires: docbook-dtd41-sgml
f9b6a5f5 22BuildRequires: docbook-utils
2e068954 23BuildRequires: exiv2-devel
430562dc 24BuildRequires: gettext-tools
c0de98f4 25BuildRequires: glib2-devel >= 1:2.32.0
6805a708 26BuildRequires: gnome-common
2e068954 27BuildRequires: gtk+3-devel >= 3.0.0
152e16d5 28BuildRequires: gtk-doc >= 1.9
c0de98f4 29BuildRequires: intltool >= 0.40.0
471ddd3d 30BuildRequires: lcms2-devel >= 2.2
2e068954 31BuildRequires: libcanberra-gtk3-devel >= 0.10
471ddd3d 32BuildRequires: libexif-devel
152e16d5 33BuildRequires: libtiff-devel
33e6f249
JB
34BuildRequires: libtool >= 2:2
35BuildRequires: libxslt-progs
f9b6a5f5 36BuildRequires: pkgconfig
152e16d5 37BuildRequires: rpmbuild(find_lang) >= 1.23
2e068954 38BuildRequires: rpmbuild(macros) >= 1.601
471ddd3d 39BuildRequires: tar >= 1:1.22
2e068954 40BuildRequires: vte-devel >= 0.28.0
471ddd3d 41BuildRequires: xz
33e6f249 42BuildRequires: yelp-tools
152e16d5 43Requires(post,postun): desktop-file-utils
b64c784d 44Requires(post,postun): gtk-update-icon-cache
33e6f249 45Requires(post,postun): glib2 >= 1:2.32.0
b94b77b2 46Requires: colord >= 1.3.1
33e6f249
JB
47Requires: colord-gtk >= 0.1.20
48Requires: glib2 >= 1:2.32.0
2e068954 49Requires: hicolor-icon-theme
33e6f249
JB
50Requires: lcms2 >= 2.2
51Requires: libcanberra-gtk3 >= 0.10
52Requires: vte >= 0.28.0
62412ad5 53Suggests: shared-color-profiles
471ddd3d 54Obsoletes: gnome-color-manager-devel
f9b6a5f5
PZ
55BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
57%description
58GNOME Color Manager is a session framework for the GNOME desktop
59environment that makes it easy to manage easy to manage, install and
60generate color profiles.
61
33e6f249
JB
62%description -l pl.UTF-8
63GNOME Color Manager to szkielet sesyjny dla środowiska graficznego
64GNOME ułatwiający zarządzanie, instalowanie i generowanie profili
65kolorów.
66
f9b6a5f5
PZ
67%prep
68%setup -q
33e6f249 69%patch0 -p1
f9b6a5f5
PZ
70
71%build
352e2984 72%{__libtoolize}
471ddd3d 73%{__intltoolize}
152e16d5 74%{__aclocal} -I m4
f9b6a5f5
PZ
75%{__autoconf}
76%{__autoheader}
77%{__automake}
152e16d5
MB
78%configure \
79 --disable-silent-rules \
2e068954
MB
80 --disable-schemas-compile \
81 --disable-static
f9b6a5f5
PZ
82%{__make}
83
84%install
85rm -rf $RPM_BUILD_ROOT
86
87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
89
33e6f249 90%find_lang %{name} --with-gnome
f9b6a5f5
PZ
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%post
2e068954 96/sbin/ldconfig
f9b6a5f5 97%update_icon_cache hicolor
152e16d5 98%update_desktop_database_post
2e068954 99%glib_compile_schemas
f9b6a5f5
PZ
100
101%postun
2e068954 102/sbin/ldconfig
f9b6a5f5 103%update_icon_cache hicolor
152e16d5 104%update_desktop_database_postun
2e068954 105%glib_compile_schemas
f9b6a5f5
PZ
106
107%files -f %{name}.lang
108%defattr(644,root,root,755)
33e6f249 109%doc AUTHORS ChangeLog MAINTAINERS NEWS README
471ddd3d 110%attr(755,root,root) %{_bindir}/gcm-calibrate
f9b6a5f5
PZ
111%attr(755,root,root) %{_bindir}/gcm-import
112%attr(755,root,root) %{_bindir}/gcm-inspect
2e068954
MB
113%attr(755,root,root) %{_bindir}/gcm-picker
114%attr(755,root,root) %{_bindir}/gcm-viewer
2e068954 115%attr(755,root,root) %{_libexecdir}/gcm-helper-exiv
564eb07b 116%{_datadir}/appdata/gcm-viewer.appdata.xml
f9b6a5f5 117%{_datadir}/gnome-color-manager
471ddd3d 118%{_desktopdir}/gcm-calibrate.desktop
f9b6a5f5 119%{_desktopdir}/gcm-import.desktop
471ddd3d 120%{_desktopdir}/gcm-picker.desktop
2e068954 121%{_desktopdir}/gcm-viewer.desktop
33e6f249
JB
122%{_iconsdir}/hicolor/*x*/apps/gnome-color-manager.png
123%{_iconsdir}/hicolor/*/mimetypes/application-vnd.iccprofile.png
124%{_iconsdir}/hicolor/scalable/apps/gnome-color-manager.svg
125%{_iconsdir}/hicolor/scalable/mimetypes/application-vnd.iccprofile.svg
126%{_mandir}/man1/gcm-calibrate.1*
127%{_mandir}/man1/gcm-import.1*
128%{_mandir}/man1/gcm-inspect.1*
129%{_mandir}/man1/gcm-picker.1*
130%{_mandir}/man1/gcm-viewer.1*
This page took 0.061409 seconds and 4 git commands to generate.