]> git.pld-linux.org Git - packages/gtkimageview.git/blob - gtkimageview.spec
- drop libtool file
[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:        4
6 License:        LGPL v2.1
7 Group:          X11/Libraries
8 #Source0:       http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/%{name}-%{version}.tar.gz?format=raw
9 Source0:        %{name}-%{version}.tar.gz
10 # Source0-md5:  501367b3f50e69a12208dc9c6ad00b18
11 URL:            http://trac.bjourne.webfactional.com/
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
72 %build
73 %{__gtkdocize}
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__automake}
78 %configure \
79         --enable-gtk-doc \
80         --with-html-dir=%{_gtkdocdir}
81
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkimageview.la
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc README
101 %attr(755,root,root) %{_libdir}/libgtkimageview.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libgtkimageview.so.0
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libgtkimageview.so
107 %{_pkgconfigdir}/gtkimageview.pc
108 %{_includedir}/%{name}
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libgtkimageview.a
113
114 %files apidocs
115 %defattr(644,root,root,755)
116 %{_gtkdocdir}/gtkimageview
This page took 0.14542 seconds and 4 git commands to generate.