Browse Source

gegl04-0.4.12-1

Tomohiro "Tomo-p" KATO 5 years ago
parent
commit
5891633528
1 changed files with 17 additions and 9 deletions
  1. 17 9
      g/gegl04/gegl04-vl.spec

+ 17 - 9
g/gegl04/gegl04-vl.spec

@@ -1,16 +1,15 @@
 %define VER 0.4
-%define FILEVER 0_4_8
 
 Summary:  A graph based image processing framework
 Summary(ja):  グラフベースの画像処理フレームワーク
 Name:     gegl04
-Version:  0.4.8
+Version:  0.4.12
 Release:  1%{?_dist_release}
 # The binary is under the GPL, while the libs are under LGPL
 License:  LGPLv3+ and GPLv3+
 Group:    System Environment/Libraries
 URL:      http://www.gegl.org/
-Source0:  https://gitlab.gnome.org/GNOME/gegl/-/archive/GEGL_%{FILEVER}/gegl-GEGL_%{FILEVER}.tar.bz2
+Source0:  https://download.gimp.org/pub/gegl/%{VER}/gegl-%{version}.tar.bz2
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  glib2-devel
@@ -39,6 +38,9 @@ BuildRequires:  enscript
 BuildRequires:  w3m
 BuildRequires:  graphviz
 
+Obsoletes:      gegl < 0.4
+Obsoletes:      gegl03 < 0.4
+Provides:       gegl = %{version}-%{release}
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -55,6 +57,9 @@ Summary(ja):  %{name} の開発ファイル
 Group:    Development/Libraries
 Requires: %{name} = %{version}-%{release}
 Requires: pkgconfig babl-devel glib2-devel
+Obsoletes:      gegl-devel < 0.4
+Obsoletes:      gegl03-devel < 0.4
+Provides:       gegl-devel = %{version}-%{release}
 
 %description devel
 This package contains the libraries and header files needed for
@@ -62,7 +67,7 @@ developing with %{name}.
 
 
 %prep
-%setup -q -n gegl-GEGL_%{FILEVER}
+%setup -q -n gegl-%{version}
 
 %build
 ./autogen.sh
@@ -75,10 +80,6 @@ developing with %{name}.
 
 find ${RPM_BUILD_ROOT} -name '*.la' -delete
 
-# conflict with gegl-0.2
-%{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc
-%{__rm} -rf ${RPM_BUILD_ROOT}%{_bindir}
-
 %find_lang gegl-%{VER}
 
 %clean
@@ -91,8 +92,10 @@ find ${RPM_BUILD_ROOT} -name '*.la' -delete
 
 %files -f gegl-%{VER}.lang
 %defattr(-, root, root, -)
-%doc AUTHORS COPYING COPYING.LESSER MAINTAINERS
+%license COPYING COPYING.LESSER
+%doc AUTHORS MAINTAINERS
 %doc docs/ChangeLog docs/NEWS.txt
+%{_bindir}/*
 %{_libdir}/libgegl-%{VER}.so.*
 %{_libdir}/libgegl-npd-%{VER}.so
 %{_libdir}/libgegl-sc-%{VER}.so
@@ -106,9 +109,14 @@ find ${RPM_BUILD_ROOT} -name '*.la' -delete
 %{_libdir}/pkgconfig/gegl-%{VER}.pc
 %{_libdir}/pkgconfig/gegl-sc-%{VER}.pc
 %{_datadir}/gir-1.0/Gegl-%{VER}.gir
+%{_datadir}/gtk-doc/html/*
 
 
 %changelog
+* Mon Dec 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.12-1
+- new upstream release.
+- added O:gegl{,03}{,-devel}: none required.
+
 * Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.4.8-1
 - initial build