]> git.pld-linux.org Git - packages/gthumb.git/blob - gthumb.spec
4e1b3853491503a0d5e1d48882539c4cb5f0f4b0
[packages/gthumb.git] / gthumb.spec
1 Summary:        An image viewer and browser for GNOME
2 Summary(pl.UTF-8):      Przeglądarka obrazków dla GNOME
3 Name:           gthumb
4 Version:        3.4.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gthumb/3.4/%{name}-%{version}.tar.xz
9 # Source0-md5:  18a69695434c5066719223b69c96a16e
10 URL:            https://wiki.gnome.org/Apps/gthumb
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  bison
14 BuildRequires:  brasero-devel >= 3.2.0
15 BuildRequires:  clutter-devel >= 1.12.0
16 BuildRequires:  clutter-gtk-devel >= 1.0.0
17 BuildRequires:  docbook-dtd412-xml
18 BuildRequires:  exiv2-devel >= 0.21
19 BuildRequires:  flex
20 BuildRequires:  gettext-tools
21 BuildRequires:  glib2-devel >= 1:2.36.0
22 BuildRequires:  gnome-common >= 2.20.0
23 BuildRequires:  gsettings-desktop-schemas-devel
24 BuildRequires:  gstreamer-devel >= 1.0.0
25 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
26 BuildRequires:  gtk+3-devel >= 3.10.0
27 BuildRequires:  gtk-webkit3-devel >= 1.10.0
28 BuildRequires:  intltool >= 0.35.5
29 BuildRequires:  json-glib-devel >= 0.16
30 BuildRequires:  lcms2-devel >= 2.6
31 BuildRequires:  libchamplain-devel >= 0.12
32 BuildRequires:  libjpeg-devel
33 BuildRequires:  libpng-devel
34 BuildRequires:  libraw-devel >= 0.14
35 BuildRequires:  librsvg-devel >= 2.34.0
36 BuildRequires:  libsecret-devel >= 0.11
37 BuildRequires:  libsoup-devel >= 2.42
38 BuildRequires:  libtiff-devel
39 BuildRequires:  libtool >= 2:2
40 BuildRequires:  libwebp-devel >= 0.2.0
41 BuildRequires:  pkgconfig
42 BuildRequires:  rpmbuild(find_lang) >= 1.23
43 BuildRequires:  rpmbuild(macros) >= 1.311
44 BuildRequires:  tar >= 1:1.22
45 BuildRequires:  xz >= 1:4.999.7
46 BuildRequires:  yelp-tools
47 BuildRequires:  zlib-devel
48 Requires(post,postun):  desktop-file-utils
49 Requires(post,postun):  glib2 >= 1:2.36.0
50 Requires(post,postun):  gtk-update-icon-cache
51 Requires(post,postun):  hicolor-icon-theme
52 Requires:       brasero-libs >= 3.2.0
53 Requires:       clutter >= 1.12.0
54 Requires:       exiv2 >= 0.21
55 Requires:       glib2 >= 1:2.36.0
56 Requires:       gsettings-desktop-schemas
57 Requires:       gtk+3 >= 3.10.0
58 Requires:       gtk-webkit3 >= 1.10.0
59 Requires:       hicolor-icon-theme
60 Requires:       json-glib >= 0.16
61 Requires:       lcms2 >= 2.6
62 Requires:       libchamplain >= 0.12
63 Requires:       librsvg >= 2.34.0
64 Requires:       libsecret >= 0.11
65 Requires:       libsoup >= 2.42
66 Requires:       libwebp >= 0.2.0
67 # sr@Latn vs. sr@latin
68 Conflicts:      glibc-misc < 6:2.7
69 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71 %description
72 gThumb lets you browse your hard disk, showing you thumbnails of image
73 files. It also lets you view single files (including GIF animations),
74 add comments to images, organize images in catalogs, print images,
75 view slideshows, set your desktop background, and more.
76
77 %description -l pl.UTF-8
78 gThumb pozwala na przeglądanie twardego dysku z pokazywaniem
79 miniaturek plików z obrazkami. Pozwala także oglądać pojedyncze pliki
80 (w tym animacje GIF), dodawać komentarze do obrazków, układać obrazki
81 w katalogi, drukować obrazki, oglądać slajdy, ustawiać tło biurka itd.
82
83 %package devel
84 Summary:        gThumb development files
85 Summary(pl.UTF-8):      Pliki programistyczne gThumb
86 Group:          X11/Development/Libraries
87 Requires:       gtk+3-devel >= 3.10.0
88
89 %description devel
90 This package provides header files for developing gThumb extensions.
91
92 %description devel -l pl.UTF-8
93 Ten pakiet dostarcza pliki nagłówkowe potrzebne do rozwijania
94 rozszerzeń gThumb.
95
96 %prep
97 %setup -q
98
99 %build
100 %{__intltoolize}
101 %{__libtoolize}
102 %{__aclocal} -I m4
103 %{__autoheader}
104 %{__automake}
105 %{__autoconf}
106 %configure \
107         --disable-silent-rules
108 %{__make}
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112
113 %{__make} install \
114         DESTDIR=$RPM_BUILD_ROOT
115
116 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions/*.{a,la}
117
118 %find_lang %{name} --with-gnome
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %post
124 %glib_compile_schemas
125 %update_desktop_database_post
126 %update_icon_cache hicolor
127
128 %postun
129 %glib_compile_schemas
130 %update_desktop_database_postun
131 %update_icon_cache hicolor
132
133 %files -f %{name}.lang
134 %defattr(644,root,root,755)
135 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
136 %attr(755,root,root) %{_bindir}/gthumb
137 %dir %{_libdir}/%{name}
138 %dir %{_libdir}/%{name}/extensions
139 %attr(755,root,root) %{_libdir}/%{name}/extensions/*.so
140 %{_libdir}/%{name}/extensions/*.extension
141 %{_datadir}/%{name}
142 %{_datadir}/appdata/gthumb.appdata.xml
143 %{_datadir}/GConf/gsettings/gthumb.convert
144 %{_datadir}/glib-2.0/schemas/org.gnome.gthumb.enums.xml
145 %{_datadir}/glib-2.0/schemas/org.gnome.gthumb.gschema.xml
146 %{_datadir}/glib-2.0/schemas/org.gnome.gthumb.*.gschema.xml
147 %{_iconsdir}/hicolor/*x*/apps/gthumb.png
148 # wrong dir?
149 %{_iconsdir}/hicolor/16x16/apps/gthumb-symbolic.svg
150 %{_iconsdir}/hicolor/scalable/apps/gthumb.svg
151 %{_desktopdir}/gthumb.desktop
152 %{_desktopdir}/gthumb-import.desktop
153 %{_mandir}/man1/gthumb.1*
154
155 %files devel
156 %defattr(644,root,root,755)
157 %{_includedir}/gthumb-3.4
158 %{_pkgconfigdir}/gthumb-3.4.pc
159 %{_aclocaldir}/gthumb.m4
This page took 0.038759 seconds and 2 git commands to generate.