]> git.pld-linux.org Git - packages/gtkimageview.git/blob - gtkimageview.spec
- new spec
[packages/gtkimageview.git] / gtkimageview.spec
1 Summary:        A GTK+ widget providing zoomable and panable view of a GdkPixbuf
2 Name:           gtkimageview
3 Version:        1.6.3
4 Release:        1
5 License:        LGPL v2.1
6 Group:          X11/Libraries
7 #Source0:       http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/%{name}-%{version}.tar.gz?format=raw
8 Source0:        %{name}-%{version}.tar.gz
9 # Source0-md5:  9c241ecf36faeb750d42c5cbc1301bcf
10 URL:            http://trac.bjourne.webfactional.com/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake
13 BuildRequires:  gtk+2-devel >= 1:2.6.0
14 BuildRequires:  libtool
15 BuildRequires:  pkgconfig
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 GtkImageView is a widget that provides a zoomable and panable view of
20 a GdkPixbuf. It is intended to be usable in most types of image
21 viewing applications.
22
23 %package devel
24 Summary:        Header files for the GtkImageView widget
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27 Requires:       gtk+2-devel >= 2:2.10.0
28
29 %description devel
30 Header files for the GtkImageView widget.
31
32 %package static
33 Summary:        Static library of the GtkImageView widget
34 Group:          Development/Libraries
35 Requires:       %{name}-devel = %{version}-%{release}
36
37 %description static
38 Static version libraries of the GtkImageView widget.
39
40 %package apidocs
41 Summary:        GTKImageView API documentation
42 Summary(pl.UTF-8):      Dokumentacja API GtkImageView
43 Group:          Documentation
44 Requires:       gtk-doc-common
45
46 %description apidocs
47 GtkImageView API documentation.
48
49 %description apidocs -l pl.UTF-8
50 Dokumentacja API GtkImageView.
51
52
53 %prep
54 %setup -q
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure \
62          \
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_docdir}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 mv $RPM_BUILD_ROOT%{_datadir}{,/doc}/gtk-doc
74 rm $RPM_BUILD_ROOT%{_libdir}/lib*.so.?
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc README
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %{_pkgconfigdir}/*.pc
92 %{_includedir}/%{name}
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
97
98 %files apidocs
99 %defattr(644,root,root,755)
100 %{_gtkdocdir}/*
This page took 0.036156 seconds and 4 git commands to generate.