]> git.pld-linux.org Git - packages/gtkimageview.git/blame - gtkimageview.spec
- don't fail on deprecation warnings with -Werror
[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
936bff8f 5Release: 5
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
62
63%description apidocs
64GtkImageView API documentation.
65
66%description apidocs -l pl.UTF-8
67Dokumentacja API GtkImageView.
68
f1426048
JK
69%prep
70%setup -q
936bff8f 71%patch0 -p1
f1426048
JK
72
73%build
590e7aef 74%{__gtkdocize}
f1426048
JK
75%{__libtoolize}
76%{__aclocal}
77%{__autoconf}
78%{__automake}
79%configure \
590e7aef
MB
80 --enable-gtk-doc \
81 --with-html-dir=%{_gtkdocdir}
f1426048
JK
82
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
f1426048
JK
87
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
6c4d7739
AF
91%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkimageview.la
92
f1426048
JK
93%clean
94rm -rf $RPM_BUILD_ROOT
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(644,root,root,755)
101%doc README
590e7aef
MB
102%attr(755,root,root) %{_libdir}/libgtkimageview.so.*.*.*
103%attr(755,root,root) %ghost %{_libdir}/libgtkimageview.so.0
f1426048
JK
104
105%files devel
106%defattr(644,root,root,755)
590e7aef 107%attr(755,root,root) %{_libdir}/libgtkimageview.so
590e7aef 108%{_pkgconfigdir}/gtkimageview.pc
f1426048
JK
109%{_includedir}/%{name}
110
111%files static
112%defattr(644,root,root,755)
590e7aef 113%{_libdir}/libgtkimageview.a
f1426048
JK
114
115%files apidocs
116%defattr(644,root,root,755)
590e7aef 117%{_gtkdocdir}/gtkimageview
This page took 0.11784 seconds and 4 git commands to generate.