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