Пакет libgtkmathview: 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 | %define ver_major 0.8 %define real_name gtkmathview Name: lib%real_name Version: %ver_major.0 Release: alt2 Summary: A MathML rendering library License: LGPL Group: System/Libraries Url: http://www.gnome.org Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%real_name-%version.tar.gz Packager: Damir Shayhutdinov <damir@altlinux.ru> Patch1: gtkmathview-0.7.7-without-binreloc.patch Patch2: gtkmathview-0.7.7-stdcpp-link-fix.patch Patch3: gtkmathview-0.7.7-link-backends-fix.patch Patch4: gtkmathview-0.8.0-alt-fix-linking.patch Patch5: gtkmathview-0.8.0-alt-fix-pkgconfig.patch Patch6: libgtkmathview-0.8.0-debian-gcc43-fix.patch %define gtk_ver 2.2.4 %define libxml2_ver 2.5.6 BuildPreReq: libgtk+2-devel >= %gtk_ver BuildPreReq: libxml2-devel >= %libxml2_ver # Automatically added by buildreq on Wed Dec 14 2005 BuildRequires: fontconfig-devel gnome-libs-devel libcairo-devel libglitz-devel libpng-devel BuildRequires: libpopt-devel pkg-config xorg-x11-devel xsltproc zlib-devel t1lib-devel BuildRequires: freetype2-devel gcc-c++ glib2-devel gtk-doc libart_lgpl-devel libatk-devel BuildRequires: libexpat-devel libgnomeprint2-devel libgtk+2-devel libpango-devel libstdc++-devel Requires: libgtk+2 >= %gtk_ver Requires: libxml2 >= %libxml2_ver %description GtkMathView is a C++ rendering engine for MathML documents. It provides an interactive view that can be used for browsing and editing MathML markup. %package -n %name-devel Summary: Libraries, headers, and support files needed for using gtkmathview. Group: Development/GNOME and GTK+ Requires: %name = %version-%release Requires: libgtk+2-devel >= %gtk_ver Requires: libxml2-devel >= %libxml2_ver %description -n %name-devel Libraries, headers, and support files needed for using gtkmathview. %define _gtk_docdir %_datadir/gtk-doc/html %prep %setup -q -n %real_name-%version %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build autoreconf -fisv %configure --with-t1lib=yes --with-libxml2 %make_build %install %makeinstall # remove non-packaged files %__rm -f %buildroot%_libdir/*.la %find_lang %name-1.0 %files -f %name-1.0.lang %_bindir/mathmlsvg %_libdir/*.so.* %_datadir/%real_name %_man1dir/mathml* %dir %_sysconfdir/%real_name %config(noreplace) %_sysconfdir/%real_name/*.xml %doc AUTHORS ChangeLog NEWS README %files -n %name-devel %_includedir/%real_name/* %_libdir/*.so %exclude %_libdir/*.a %_libdir/pkgconfig/*.pc %doc AUTHORS README BUGS CONTRIBUTORS NEWS ANNOUNCEMENT TODO %changelog * Tue Nov 25 2008 Damir Shayhutdinov <damir@altlinux.ru> 0.8.0-alt2 - Fixed build on gcc4.3 - Removed obsolete ldconfig calls * Sun Oct 21 2007 Damir Shayhutdinov <damir@altlinux.ru> 0.8.0-alt1 - New version. * Fri Oct 06 2006 Damir Shayhutdinov <damir@altlinux.ru> 0.7.7-alt1 - New version. * Thu Feb 02 2006 ALT QA Team Robot <qa-robot@altlinux.org> 0.7.6-alt1.1 - Rebuilt for new pkg-config dependencies. * Wed Dec 14 2005 Vital Khilko <vk@altlinux.ru> 0.7.6-alt1 - initial build |