]> git.pld-linux.org Git - packages/gnome-color-manager.git/blob - gnome-color-manager.spec
Update to 3.22.2
[packages/gnome-color-manager.git] / gnome-color-manager.spec
1 Summary:        Color management tools for GNOME
2 Summary(pl.UTF-8):      Narzędzia do zarządzania kolorami dla GNOME
3 Name:           gnome-color-manager
4 Version:        3.22.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.22/%{name}-%{version}.tar.xz
9 # Source0-md5:  436139955795313e8c776297359af704
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 /)
12 Patch0:         %{name}-symlinks.patch
13 # dead, wiki.gnome.org GnomeColorManager page is in Attic too
14 #URL:           http://projects.gnome.org/gnome-color-manager/
15 URL:            https://github.com/GNOME/gnome-color-manager
16 BuildRequires:  appstream-glib-devel
17 BuildRequires:  autoconf >= 2.63
18 BuildRequires:  automake >= 1:1.11
19 BuildRequires:  colord-devel >= 1.3.1
20 BuildRequires:  colord-gtk-devel >= 0.1.20
21 BuildRequires:  docbook-dtd41-sgml
22 BuildRequires:  docbook-utils
23 BuildRequires:  exiv2-devel
24 BuildRequires:  gettext-tools
25 BuildRequires:  glib2-devel >= 1:2.32.0
26 BuildRequires:  gnome-common
27 BuildRequires:  gtk+3-devel >= 3.0.0
28 BuildRequires:  gtk-doc >= 1.9
29 BuildRequires:  intltool >= 0.40.0
30 BuildRequires:  lcms2-devel >= 2.2
31 BuildRequires:  libcanberra-gtk3-devel >= 0.10
32 BuildRequires:  libexif-devel
33 BuildRequires:  libtiff-devel
34 BuildRequires:  libtool >= 2:2
35 BuildRequires:  libxslt-progs
36 BuildRequires:  pkgconfig
37 BuildRequires:  rpmbuild(find_lang) >= 1.23
38 BuildRequires:  rpmbuild(macros) >= 1.601
39 BuildRequires:  tar >= 1:1.22
40 BuildRequires:  vte-devel >= 0.28.0
41 BuildRequires:  xz
42 BuildRequires:  yelp-tools
43 Requires(post,postun):  desktop-file-utils
44 Requires(post,postun):  gtk-update-icon-cache
45 Requires(post,postun):  glib2 >= 1:2.32.0
46 Requires:       colord >= 1.3.1
47 Requires:       colord-gtk >= 0.1.20
48 Requires:       glib2 >= 1:2.32.0
49 Requires:       hicolor-icon-theme
50 Requires:       lcms2 >= 2.2
51 Requires:       libcanberra-gtk3 >= 0.10
52 Requires:       vte >= 0.28.0
53 Suggests:       shared-color-profiles
54 Obsoletes:      gnome-color-manager-devel
55 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
57 %description
58 GNOME Color Manager is a session framework for the GNOME desktop
59 environment that makes it easy to manage easy to manage, install and
60 generate color profiles.
61
62 %description -l pl.UTF-8
63 GNOME Color Manager to szkielet sesyjny dla środowiska graficznego
64 GNOME ułatwiający zarządzanie, instalowanie i generowanie profili
65 kolorów.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70
71 %build
72 %{__libtoolize}
73 %{__intltoolize}
74 %{__aclocal} -I m4
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         --disable-silent-rules \
80         --disable-schemas-compile \
81         --disable-static
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %find_lang %{name} --with-gnome
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post
96 /sbin/ldconfig
97 %update_icon_cache hicolor
98 %update_desktop_database_post
99 %glib_compile_schemas
100
101 %postun
102 /sbin/ldconfig
103 %update_icon_cache hicolor
104 %update_desktop_database_postun
105 %glib_compile_schemas
106
107 %files -f %{name}.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
110 %attr(755,root,root) %{_bindir}/gcm-calibrate
111 %attr(755,root,root) %{_bindir}/gcm-import
112 %attr(755,root,root) %{_bindir}/gcm-inspect
113 %attr(755,root,root) %{_bindir}/gcm-picker
114 %attr(755,root,root) %{_bindir}/gcm-viewer
115 %attr(755,root,root) %{_libexecdir}/gcm-helper-exiv
116 %{_datadir}/appdata/org.gnome.ColorProfileViewer.appdata.xml
117 %{_datadir}/gnome-color-manager
118 %{_desktopdir}/gcm-calibrate.desktop
119 %{_desktopdir}/gcm-import.desktop
120 %{_desktopdir}/gcm-picker.desktop
121 %{_desktopdir}/org.gnome.ColorProfileViewer.desktop
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.066711 seconds and 3 git commands to generate.