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