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