libmypaint-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Summary: Library for making brush strokes
  2. Name: libmypaint
  3. Version: 1.6.1
  4. Release: 1%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. # Compute some version related macros.
  8. # Ugly, need to get quoting percent signs straight.
  9. %global major %(ver=%{version}; echo ${ver%%%%.*})
  10. %global minor %(ver=%{version}; ver=${ver#%major.}; echo ${ver%%%%.*})
  11. %global micro %(ver=%{version}; ver=${ver#%major.%minor.}; echo ${ver%%%%.*})
  12. License: ISC
  13. URL: https://github.com/mypaint/libmypaint
  14. Source0: https://github.com/mypaint/libmypaint/releases/download/v%{version}/libmypaint-%{version}.tar.xz
  15. BuildRequires: json-c-devel
  16. BuildRequires: glib2-devel
  17. BuildRequires: gobject-introspection-devel
  18. BuildRequires: babl-devel
  19. BuildRequires: gegl04-devel
  20. %description
  21. This is a self-contained library containing the MyPaint brush engine.
  22. %package devel
  23. Summary: Development files for libmypaint
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: json-c-devel
  26. %description devel
  27. This package contains files needed for development with libmypaint.
  28. %prep
  29. %setup -q
  30. %build
  31. autoreconf
  32. %{configure} \
  33. --disable-docs \
  34. --enable-introspection=yes \
  35. --enable-gegl
  36. %{__make} %{?_smp_mflags}
  37. %install
  38. %{make_install}
  39. find %{buildroot}%{_libdir} -name '*.la' -delete -print
  40. %find_lang %{name}
  41. %check
  42. #{__make} check
  43. %post -p %{_syssbindir}/ldconfig
  44. %postun -p %{_syssbindir}/ldconfig
  45. %files -f %{name}.lang
  46. %license COPYING
  47. %doc README.md
  48. %{_libdir}/*.so.*
  49. %dir %{_libdir}/girepository-1.0
  50. %{_libdir}/girepository-1.0/MyPaint-%{major}.%{minor}.typelib
  51. %{_libdir}/girepository-1.0/MyPaintGegl-%{major}.%{minor}.typelib
  52. %files devel
  53. %{_libdir}/*.so
  54. %{_includedir}/%{name}
  55. %{_includedir}/%{name}-gegl
  56. %{_libdir}/pkgconfig/libmypaint.pc
  57. %{_libdir}/pkgconfig/libmypaint-gegl.pc
  58. %dir %{_datadir}/gir-1.0
  59. %{_datadir}/gir-1.0/MyPaint-%{major}.%{minor}.gir
  60. %{_datadir}/gir-1.0/MyPaintGegl-%{major}.%{minor}.gir
  61. %changelog
  62. * Sat May 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6.1-1
  63. - new upstream release.
  64. - built with json-c-0.14.
  65. * Tue Jan 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-2
  66. - rebuilt with json-c-0.13.1.
  67. * Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 1.3.0-1
  68. - initial build for Vine Linux
  69. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  71. * Wed May 02 2018 Nils Philippsen <nils@tiptoe.de> - 1.3.0-8
  72. - rebuild with gegl04
  73. * Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 1.3.0-7
  74. - Rebuilt for libjson-c.so.4 (json-c v0.13.1)
  75. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  77. * Wed Dec 13 2017 Björn Esser <besser82@fedoraproject.org> - 1.3.0-5
  78. - Rebuilt for libjson-c.so.3
  79. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  81. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  83. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  85. * Fri Jan 27 2017 Nils Philippsen <nils@tiptoe.de> - 1.3.0-1
  86. - version 1.3.0 final
  87. - conflict with mypaint < 1.3.0
  88. - mention pkgconfig, introspection files explicitly
  89. * Sun Jul 31 2016 Nils Philippsen <nils@tiptoe.de> - 1.3.0-0.2.beta.1
  90. - fix locale names 'ar_AR' -> 'ar'
  91. - fix build dependencies
  92. - fix summary and description texts
  93. - use current build and install macros
  94. - remove all .la files beneath %%_libdir
  95. - ship development documentation
  96. * Sun Jul 31 2016 Nils Philippsen <nils@tiptoe.de> - 1.3.0-0.1.beta.1
  97. - initial release of 1.3.0-beta.1