Package libmypaint: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | %define _name mypaint %define ver_major 1.6 %define api_ver %ver_major %def_disable gegl Name: lib%_name Version: %ver_major.1 Release: alt1.1 Summary: The brush library used by MyPaint Group: System/Libraries License: BSD Url: https://github.com/%_name/%name Source: %url/releases/download/v%version/%name-%version.tar.xz BuildRequires: intltool libjson-c-devel BuildRequires: gobject-introspection-devel %{?_enable_gegl:BuildRequires: libgegl-devel libgegl-gir BuildRequires: libgegl-gir-devel libbabl-gir} %description %name, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel %name, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects. This package provides development files for %name. %package gir Summary: GObject introspection data for %name Group: System/Libraries Requires: %name = %version-%release %description gir %name, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects. This package provides GObject introspection data for %name. %package gir-devel Summary: GObject introspection devel data for %name Group: System/Libraries BuildArch: noarch Requires: %name-gir = %version-%release %description gir-devel %name, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects. This package provides GObject introspection devel data for %name. %prep %setup %build %autoreconf %configure --disable-static \ %{subst_enable gegl} %make_build %install %makeinstall_std %find_lang %name %files -f %name.lang %_libdir/%name.so.* %{?_enable_gegl:%_libdir/%name-gegl.so.*} %files devel %_includedir/%name/ %{?_enable_gegl:%_includedir/%name-gegl/} %_libdir/*.so %_pkgconfigdir/%name.pc %{?_enable_gegl:%_pkgconfigdir/%name-gegl.pc} %files gir %_typelibdir/MyPaint-%api_ver.typelib %{?_enable_gegl:%_typelibdir/MyPaintGegl-%api_ver.typelib} %files gir-devel %_girdir/MyPaint-%api_ver.gir %{?_enable_gegl:%_girdir/MyPaintGegl-%api_ver.gir} %changelog * Sat Apr 08 2023 Yuri N. Sedunov <aris@altlinux.org> 1.6.1-alt1.1 - disabled gegl support * Fri May 29 2020 Yuri N. Sedunov <aris@altlinux.org> 1.6.1-alt1 - 1.6.1 * Fri May 01 2020 Yuri N. Sedunov <aris@altlinux.org> 1.6.0-alt1 - 1.6.0 * Tue Mar 17 2020 Yuri N. Sedunov <aris@altlinux.org> 1.5.1-alt1 - 1.5.1 * Sun Nov 26 2017 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt3 - fixed buildreqs * Tue May 02 2017 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt2 - rebuilt against libjson-c.so.2 * Fri Jan 13 2017 Yuri N. Sedunov <aris@altlinux.org> 1.3.0-alt1 - first build for Sisyphus |