OBS User unknown 2008-09-29 16:35:13 +00:00 committed by Git OBS Bridge
parent 0336a03422
commit d56ebb2292
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 29 17:49:46 CEST 2008 - sbrabec@suse.cz
- Fixed dependencies.
- Fixed permissions of documentation.
-------------------------------------------------------------------
Mon Jul 21 14:25:07 CEST 2008 - sbrabec@suse.cz

View File

@ -23,6 +23,8 @@ Name: gegl
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
# Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to build patched build plus original as addon.
BuildRequires: ImageMagick OpenEXR-devel SDL-devel asciidoc babl-devel enscript gcc-c++ glib2-devel graphviz gtk2-devel libjpeg-devel libpng-devel librsvg-devel libstdc++-devel lua-devel ruby
# To build documentation, babl-0_0 is a must, "Recommends" is not enough:
BuildRequires: babl-0_0
# Only for directory ownership:
BuildRequires: gtk-doc
%if 0%{?BUILD_ORIG}
@ -39,12 +41,13 @@ Provides: patched_subset
Requires: glib2 >= 2.14.0
Url: http://gegl.org/
Version: 0.0.18
Release: 2
Release: 3
License: GPL v3 or later; LGPL v3 or later
Group: System/Libraries
Summary: Generic Graphics Library
Source: ftp://ftp.gimp.org/pub/gegl/v0.0/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libgegl-0_0-0 = %{version}-%{release}
%description
GEGL provides infratructure to do demand based cached non destructive
@ -94,6 +97,7 @@ Authors:
License: GPL v3 or later; LGPL v3 or later
Summary: Generic Graphics Library
Group: System/Libraries
Requires: libbabl-0_0-0 >= %{version}
%description 0_0
GEGL provides infratructure to do demand based cached non destructive
@ -199,7 +203,7 @@ Authors:
License: GPL v3 or later; LGPL v3 or later
Summary: Generic Graphics Library
Group: System/Libraries
Recommends: %{name}-0_0 = %{version}
Recommends: %{name}-0_0 >= %{version}
%description -n libgegl-0_0-0
GEGL provides infratructure to do demand based cached non destructive
@ -365,6 +369,7 @@ done
%endif
rm $RPM_BUILD_ROOT%{_libdir}/gegl-0.0/*.la
rm $RPM_BUILD_ROOT%{_libdir}/*.la
chmod -x $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gegl/*.*
%post -n libgegl-0_0-0 -p /sbin/ldconfig
@ -399,7 +404,6 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root)
%{_includedir}/*
#%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
@ -408,5 +412,8 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/gegl
%changelog
* Mon Sep 29 2008 sbrabec@suse.cz
- Fixed dependencies.
- Fixed permissions of documentation.
* Mon Jul 21 2008 sbrabec@suse.cz
- New SuSE package.