Package libgit2-glib: 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 | %define ver_major 0.0 %define api_ver 1.0 Name: libgit2-glib Version: %ver_major.6 Release: alt1 Summary: Git library for GLib Group: System/Libraries License: LGPLv2+ Url: https://live.gnome.org/Libgit2-glib Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %define libgit2_ver 0.19 BuildRequires: libgio-devel libgit2-devel > %libgit2_ver gobject-introspection-devel BuildRequires: rpm-build-python3 python3-devel python3-module-pygobject3-devel %description Libgit2-glib is a glib wrapper library around the libgit2 git access library. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel Libgit2-glib is a glib wrapper library around the libgit2 git access library. The %name-devel package contains libraries and header files for developing applications that use %name. %package gir Summary: GObject introspection data for the Libgit2-glib library Group: System/Libraries Requires: %name = %version-%release %description gir Libgit2-glib is a glib wrapper library around the libgit2 git access library. This package provides GObject introspection data for the Libgit2-glib library. %package gir-devel Summary: GObject introspection devel data for the Libgit2-glib library Group: Development/Other BuildArch: noarch Requires: %name-gir = %version-%release %description gir-devel Libgit2-glib is a glib wrapper library around the libgit2 git access library. This package provides GObject introspection devel data for the Libgit2-glib library . %package devel-doc Summary: Development documentation for Libgit2-glib Group: Development/Documentation Conflicts: %name < %version, %name > %version BuildArch: noarch %description devel-doc Libgit2-glib is a glib wrapper library around the libgit2 git access library. This package contains documentation needed for developing Libgit2-glib applications. %prep %setup subst 's/\(@INTROSPECTION_REQUIRED\)/\1@/ s/\(GIT2_REQUIRED\)/@\1@/' %name-%api_ver.pc.in %build %configure --disable-static %make_build %install %makeinstall_std %files %_libdir/%name-%api_ver.so.* %python3_sitelibdir/gi/overrides/* %doc AUTHORS COPYING NEWS %files devel %_includedir/%name-%api_ver/ %_libdir/%name-%api_ver.so %_libdir/pkgconfig/%name-%api_ver.pc %files gir %_typelibdir/Ggit-%api_ver.typelib %files gir-devel %_girdir/Ggit-%api_ver.gir %files devel-doc %_datadir/gtk-doc/* %changelog * Tue Jul 02 2013 Yuri N. Sedunov <aris@altlinux.org> 0.0.6-alt1 - 0.0.6 * Sat Jun 22 2013 Yuri N. Sedunov <aris@altlinux.org> 0.0.2-alt1 - first build for Sisyphus |