]> git.pld-linux.org Git - packages/gnome-color-manager.git/blame - gnome-color-manager.spec
- updated to 3.24.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
ba81ea96 4Version: 3.24.0
33e6f249 5Release: 1
f9b6a5f5
PZ
6License: GPL v2
7Group: X11/Applications
ba81ea96
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.24/%{name}-%{version}.tar.xz
9# Source0-md5: 47b7f7ef50e9e28f07db14c604ef08c9
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
ba81ea96 24BuildRequires: gettext-tools >= 0.19.7
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
471ddd3d 29BuildRequires: lcms2-devel >= 2.2
2e068954 30BuildRequires: libcanberra-gtk3-devel >= 0.10
471ddd3d 31BuildRequires: libexif-devel
ba81ea96 32BuildRequires: libstdc++-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}
152e16d5 73%{__aclocal} -I m4
f9b6a5f5
PZ
74%{__autoconf}
75%{__autoheader}
76%{__automake}
152e16d5
MB
77%configure \
78 --disable-silent-rules \
2e068954
MB
79 --disable-schemas-compile \
80 --disable-static
f9b6a5f5
PZ
81%{__make}
82
83%install
84rm -rf $RPM_BUILD_ROOT
85
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
33e6f249 89%find_lang %{name} --with-gnome
f9b6a5f5
PZ
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post
2e068954 95/sbin/ldconfig
f9b6a5f5 96%update_icon_cache hicolor
152e16d5 97%update_desktop_database_post
2e068954 98%glib_compile_schemas
f9b6a5f5
PZ
99
100%postun
2e068954 101/sbin/ldconfig
f9b6a5f5 102%update_icon_cache hicolor
152e16d5 103%update_desktop_database_postun
2e068954 104%glib_compile_schemas
f9b6a5f5
PZ
105
106%files -f %{name}.lang
107%defattr(644,root,root,755)
33e6f249 108%doc AUTHORS ChangeLog MAINTAINERS NEWS README
471ddd3d 109%attr(755,root,root) %{_bindir}/gcm-calibrate
f9b6a5f5
PZ
110%attr(755,root,root) %{_bindir}/gcm-import
111%attr(755,root,root) %{_bindir}/gcm-inspect
2e068954
MB
112%attr(755,root,root) %{_bindir}/gcm-picker
113%attr(755,root,root) %{_bindir}/gcm-viewer
2e068954 114%attr(755,root,root) %{_libexecdir}/gcm-helper-exiv
24fd4e06 115%{_datadir}/appdata/org.gnome.ColorProfileViewer.appdata.xml
f9b6a5f5 116%{_datadir}/gnome-color-manager
471ddd3d 117%{_desktopdir}/gcm-calibrate.desktop
f9b6a5f5 118%{_desktopdir}/gcm-import.desktop
471ddd3d 119%{_desktopdir}/gcm-picker.desktop
24fd4e06 120%{_desktopdir}/org.gnome.ColorProfileViewer.desktop
33e6f249
JB
121%{_iconsdir}/hicolor/*x*/apps/gnome-color-manager.png
122%{_iconsdir}/hicolor/*/mimetypes/application-vnd.iccprofile.png
123%{_iconsdir}/hicolor/scalable/apps/gnome-color-manager.svg
124%{_iconsdir}/hicolor/scalable/mimetypes/application-vnd.iccprofile.svg
125%{_mandir}/man1/gcm-calibrate.1*
126%{_mandir}/man1/gcm-import.1*
127%{_mandir}/man1/gcm-inspect.1*
128%{_mandir}/man1/gcm-picker.1*
129%{_mandir}/man1/gcm-viewer.1*
This page took 0.103949 seconds and 4 git commands to generate.