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