Package gucharmap7: 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 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | %define _name gucharmap %define ver_major 2.32 %define gtk_api_ver 2.0 %define so_ver 7 %def_disable introspection %def_disable python Name: gucharmap%so_ver Version: %ver_major.1 Release: alt1 Summary: gucharmap is a featureful Unicode character map License: %gpl3plus Group: Text tools Source: %gnome_ftp/%name/%ver_major/%_name-%version.tar.bz2 # From configure.ac %define glib_ver 2.16.3 %define gtk_ver 2.21.6 %define pygtk_ver 2.7.1 Requires: lib%name = %version-%release Requires(post,preun): GConf BuildPreReq: rpm-build-gnome rpm-build-licenses # From configure.ac BuildPreReq: intltool >= 0.40.0 BuildPreReq: gnome-common BuildPreReq: glib2-devel >= %glib_ver BuildPreReq: libgtk+2-devel >= %gtk_ver BuildPreReq: gnome-doc-utils >= 0.9.0 BuildPreReq: gtk-doc >= 1.0 BuildPreReq: libcairo-gobject-devel libGConf-devel GConf %{?_enable_python:BuildPreReq: python-module-pygtk-devel >= %pygtk_ver} %{?_enable_introspection:BuildPreReq: gobject-introspection-devel libgtk+2-gir-devel} %description This package provides a featureful Unicode character map for GNOME2. %package -n lib%name Summary: gucharmap shared library Group: System/Libraries %description -n lib%name This package provides shared library for programs that show character maps (including Gucharmap and a character map applet for the GNOME panel). %package -n lib%name-devel Summary: Development files for lib%name Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel This package contains headers and libraries needed to compile applications against lib%name %package -n lib%name-gir Summary: GObject introspection data for the %name library Group: System/Libraries Requires: lib%name = %version-%release %description -n lib%name-gir GObject introspection data for the GNOME Unicode character map library %package -n lib%name-gir-devel Summary: GObject introspection devel data for the %name library Group: System/Libraries BuildArch: noarch Requires: lib%name-gir = %version-%release %description -n lib%name-gir-devel GObject introspection devel data for the GNOME Unicode character map library %{?_enable_python:%setup_python_module %name} %package -n python-module-%name Summary: Python bindings for %name library Group: Development/Python Requires: lib%name = %version-%release %description -n python-module-%name %name is a featureful Unicode character map. This package contains bindings to for the GNOME Unicode character map library. %prep %setup -q -n %_name-%version %build %configure \ --disable-scrollkeeper \ --disable-static \ --enable-gconf \ --disable-schemas-install \ %{subst_enable introspection} \ %{?_enable_python:--enable-python-bindings} \ --with-gtk=%gtk_api_ver %make_build %install %make_install DESTDIR=%buildroot install %find_lang --with-gnome %name %post %gconf2_install %name %preun if [ $1 = 0 ]; then %gconf2_uninstall %name fi %if 0 %files -f %name.lang %_bindir/* %_desktopdir/* %config %gconf_schemasdir/%name.schemas %endif %files -n lib%name %_libdir/*.so.* %doc AUTHORS ChangeLog NEWS README TODO COPYING COPYING.UNICODE %files -n lib%name-devel %_includedir/* %_libdir/*.so %_pkgconfigdir/*.pc %if_enabled introspection %files -n lib%name-gir %_libdir/girepository-1.0/* %files -n lib%name-gir-devel %_datadir/gir-1.0/* %endif %if_enabled python %files -n python-module-%name %python_sitelibdir/gtk-2.0/gucharmap.so %_datadir/pygtk/2.0/defs/gucharmap.defs %exclude %python_sitelibdir/gtk-2.0/gucharmap.la %endif %changelog * Thu May 26 2011 Yuri N. Sedunov <aris@altlinux.org> 2.32.1-alt1 - first build for Sisyphus |