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