]>
Commit | Line | Data |
---|---|---|
f1426048 | 1 | Summary: A GTK+ widget providing zoomable and panable view of a GdkPixbuf |
125477a1 | 2 | Summary(pl.UTF-8): Widget GTK+ z widokiem GdkPixBuf pozwalającym na powiększanie i przesuwanie |
f1426048 | 3 | Name: gtkimageview |
590e7aef | 4 | Version: 1.6.4 |
346206a4 | 5 | Release: 6 |
f1426048 JK |
6 | License: LGPL v2.1 |
7 | Group: X11/Libraries | |
204dbaea | 8 | # dead, sources now available at https://github.com/baedert/gtkimageview |
bec56668 | 9 | Source0: http://trac.bjourne.webfactional.com/chrome/common/releases/%{name}-%{version}.tar.gz |
590e7aef | 10 | # Source0-md5: 501367b3f50e69a12208dc9c6ad00b18 |
936bff8f | 11 | Patch0: no-Werror.patch |
204dbaea | 12 | URL: https://wiki.gnome.org/Projects/GTK/GtkImageView |
f1426048 JK |
13 | BuildRequires: autoconf >= 2.53 |
14 | BuildRequires: automake | |
66bb195a | 15 | BuildRequires: docbook-dtd412-xml |
590e7aef MB |
16 | BuildRequires: gnome-common |
17 | BuildRequires: gtk+2-devel >= 2:2.10.0 | |
18 | BuildRequires: gtk-doc >= 1.8 | |
f1426048 JK |
19 | BuildRequires: libtool |
20 | BuildRequires: pkgconfig | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | GtkImageView is a widget that provides a zoomable and panable view of | |
25 | a GdkPixbuf. It is intended to be usable in most types of image | |
26 | viewing applications. | |
27 | ||
125477a1 JB |
28 | %description -l pl.UTF-8 |
29 | GtkImageView to widget udostępniający widok GdkPixBuf z możliwością | |
30 | powiększania i przesuwania. Powstał z myślą o używaniu w większości | |
31 | rodzajów aplikacji do przeglądania grafiki. | |
32 | ||
f1426048 JK |
33 | %package devel |
34 | Summary: Header files for the GtkImageView widget | |
125477a1 JB |
35 | Summary(pl.UTF-8): Pliki nagłówkowe widgetu GtkImageView |
36 | Group: X11/Development/Libraries | |
f1426048 JK |
37 | Requires: %{name} = %{version}-%{release} |
38 | Requires: gtk+2-devel >= 2:2.10.0 | |
39 | ||
40 | %description devel | |
41 | Header files for the GtkImageView widget. | |
42 | ||
125477a1 JB |
43 | %description devel -l pl.UTF-8 |
44 | Pliki nagłówkowe widgetu GtkImageView. | |
45 | ||
f1426048 JK |
46 | %package static |
47 | Summary: Static library of the GtkImageView widget | |
125477a1 JB |
48 | Summary(pl.UTF-8): Statyczna biblioteka widgetu GtkImageView |
49 | Group: X11/Development/Libraries | |
f1426048 JK |
50 | Requires: %{name}-devel = %{version}-%{release} |
51 | ||
52 | %description static | |
125477a1 JB |
53 | Static version of the GtkImageView widget library. |
54 | ||
55 | %description static -l pl.UTF-8 | |
56 | Statyczna wersja biblioteki widgetu GtkImageView. | |
f1426048 JK |
57 | |
58 | %package apidocs | |
59 | Summary: GTKImageView API documentation | |
60 | Summary(pl.UTF-8): Dokumentacja API GtkImageView | |
61 | Group: Documentation | |
62 | Requires: gtk-doc-common | |
346206a4 | 63 | BuildArch: noarch |
f1426048 JK |
64 | |
65 | %description apidocs | |
66 | GtkImageView API documentation. | |
67 | ||
68 | %description apidocs -l pl.UTF-8 | |
69 | Dokumentacja API GtkImageView. | |
70 | ||
f1426048 JK |
71 | %prep |
72 | %setup -q | |
936bff8f | 73 | %patch0 -p1 |
f1426048 JK |
74 | |
75 | %build | |
590e7aef | 76 | %{__gtkdocize} |
f1426048 JK |
77 | %{__libtoolize} |
78 | %{__aclocal} | |
79 | %{__autoconf} | |
80 | %{__automake} | |
81 | %configure \ | |
590e7aef MB |
82 | --enable-gtk-doc \ |
83 | --with-html-dir=%{_gtkdocdir} | |
f1426048 JK |
84 | |
85 | %{__make} | |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
f1426048 JK |
89 | |
90 | %{__make} install \ | |
91 | DESTDIR=$RPM_BUILD_ROOT | |
92 | ||
6c4d7739 AF |
93 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkimageview.la |
94 | ||
f1426048 JK |
95 | %clean |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
103 | %doc README | |
590e7aef MB |
104 | %attr(755,root,root) %{_libdir}/libgtkimageview.so.*.*.* |
105 | %attr(755,root,root) %ghost %{_libdir}/libgtkimageview.so.0 | |
f1426048 JK |
106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
590e7aef | 109 | %attr(755,root,root) %{_libdir}/libgtkimageview.so |
590e7aef | 110 | %{_pkgconfigdir}/gtkimageview.pc |
f1426048 JK |
111 | %{_includedir}/%{name} |
112 | ||
113 | %files static | |
114 | %defattr(644,root,root,755) | |
590e7aef | 115 | %{_libdir}/libgtkimageview.a |
f1426048 JK |
116 | |
117 | %files apidocs | |
118 | %defattr(644,root,root,755) | |
590e7aef | 119 | %{_gtkdocdir}/gtkimageview |