SPECS: gtkimageview.spec (NEW) - new spec
jajcus
jajcus at pld-linux.org
Tue Feb 17 15:35:21 CET 2009
Author: jajcus Date: Tue Feb 17 14:35:21 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new spec
---- Files affected:
SPECS:
gtkimageview.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/gtkimageview.spec
diff -u /dev/null SPECS/gtkimageview.spec:1.1
--- /dev/null Tue Feb 17 15:35:21 2009
+++ SPECS/gtkimageview.spec Tue Feb 17 15:35:15 2009
@@ -0,0 +1,111 @@
+# $Revision$, $Date$
+Summary: A GTK+ widget providing zoomable and panable view of a GdkPixbuf
+Name: gtkimageview
+Version: 1.6.3
+Release: 1
+License: LGPL v2.1
+Group: X11/Libraries
+#Source0: http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/%{name}-%{version}.tar.gz?format=raw
+Source0: %{name}-%{version}.tar.gz
+# Source0-md5: 9c241ecf36faeb750d42c5cbc1301bcf
+URL: http://trac.bjourne.webfactional.com/
+BuildRequires: autoconf >= 2.53
+BuildRequires: automake
+BuildRequires: gtk+2-devel >= 1:2.6.0
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GtkImageView is a widget that provides a zoomable and panable view of
+a GdkPixbuf. It is intended to be usable in most types of image
+viewing applications.
+
+%package devel
+Summary: Header files for the GtkImageView widget
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gtk+2-devel >= 2:2.10.0
+
+%description devel
+Header files for the GtkImageView widget.
+
+%package static
+Summary: Static library of the GtkImageView widget
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static version libraries of the GtkImageView widget.
+
+%package apidocs
+Summary: GTKImageView API documentation
+Summary(pl.UTF-8): Dokumentacja API GtkImageView
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+GtkImageView API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API GtkImageView.
+
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_docdir}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+mv $RPM_BUILD_ROOT%{_datadir}{,/doc}/gtk-doc
+rm $RPM_BUILD_ROOT%{_libdir}/lib*.so.?
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_pkgconfigdir}/*.pc
+%{_includedir}/%{name}
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/02/17 14:35:15 jajcus
+- new spec
+
================================================================
More information about the pld-cvs-commit
mailing list