]> git.pld-linux.org Git - packages/gtkimageview.git/blob - gtkimageview.spec
- don't fail on deprecation warnings with -Werror
[packages/gtkimageview.git] / gtkimageview.spec
1 Summary:        A GTK+ widget providing zoomable and panable view of a GdkPixbuf
2 Summary(pl.UTF-8):      Widget GTK+ z widokiem GdkPixBuf pozwalającym na powiększanie i przesuwanie
3 Name:           gtkimageview
4 Version:        1.6.4
5 Release:        5
6 License:        LGPL v2.1
7 Group:          X11/Libraries
8 Source0:        http://trac.bjourne.webfactional.com/chrome/common/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  501367b3f50e69a12208dc9c6ad00b18
10 Patch0:         no-Werror.patch
11 URL:            https://projects.gnome.org/gtkimageview/
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  gnome-common
16 BuildRequires:  gtk+2-devel >= 2:2.10.0
17 BuildRequires:  gtk-doc >= 1.8
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
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
32 %package devel
33 Summary:        Header files for the GtkImageView widget
34 Summary(pl.UTF-8):      Pliki nagłówkowe widgetu GtkImageView
35 Group:          X11/Development/Libraries
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
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe widgetu GtkImageView.
44
45 %package static
46 Summary:        Static library of the GtkImageView widget
47 Summary(pl.UTF-8):      Statyczna biblioteka widgetu GtkImageView
48 Group:          X11/Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static version of the GtkImageView widget library.
53
54 %description static -l pl.UTF-8
55 Statyczna wersja biblioteki widgetu GtkImageView.
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
69 %prep
70 %setup -q
71 %patch0 -p1
72
73 %build
74 %{__gtkdocize}
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__automake}
79 %configure \
80         --enable-gtk-doc \
81         --with-html-dir=%{_gtkdocdir}
82
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkimageview.la
92
93 %clean
94 rm -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
102 %attr(755,root,root) %{_libdir}/libgtkimageview.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libgtkimageview.so.0
104
105 %files devel
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/libgtkimageview.so
108 %{_pkgconfigdir}/gtkimageview.pc
109 %{_includedir}/%{name}
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/libgtkimageview.a
114
115 %files apidocs
116 %defattr(644,root,root,755)
117 %{_gtkdocdir}/gtkimageview
This page took 0.24872 seconds and 3 git commands to generate.