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