Пакет qalculate: 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 | %def_without static Name: qalculate Version: 0.9.7 Release: alt2.1 Summary: A very versatile desktop calculator Group: Office License: GPL Url: http://qalculate.sourceforge.net Packager: Alexey Morsov <swi@altlinux.ru> Requires: lib%name = %version-%release Requires: %name-common = %version-%release Source: lib%name-%version.tar BuildRequires: libcln-devel gcc4.3-c++ glib2-devel libg2c-devel libgmp-devel libstdc++-devel perl-XML-Parser pkgconfig zlib-devel intltool libtool_1.5 libxml2-devel %description Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux. It is small and simple to use but with much power and versatility underneath. Features include customizable functions, units, arbitrary precision, plotting. %package -n lib%name Summary: libqalculate libraries Group: System/Libraries %description -n lib%name Qalculate libraries. %package -n lib%name-devel Summary: libqalculate development package Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel The libqalculate package contains the header files needed for developing applications that use libqalculate. Install libqalculate-devel if you want to develop applications using libqalculate. %if_enabled static %package -n %libname-devel-static Summary: libqalculate static library Group: Development/C Requires: lib%name-devel = %version-%release %description -n lib%name-devel-static This package contains static version of libqalculate. Install libqalculate-devel-static if you want to develop applications statically linked with libqalculate. %endif %package common Summary: qalculate common files Group: Office %description common This package contains common files used by qalculate frontends. %prep %setup -q -n lib%name-%version #patch1 -p1 %build %autoreconf %configure \ --enable-defs2doc %make_build %install %make_install DESTDIR=%buildroot install # remove non-packaged files %__rm -f %buildroot%_libdir/*.la %if_without static %__rm -f %buildroot%_libdir/*.a %endif %find_lang %name %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/lib%name %_libdir/*.so %_libdir/pkgconfig/* %_defaultdocdir/lib%name-%version %files -f %name.lang %_bindir/* %files common %_datadir/qalculate %if_with static %files -n lib%name-devel-static %_libdir/*.a %endif %changelog * Mon Feb 07 2011 Sergey V Turchin <zerg@altlinux.org> 0.9.7-alt2.1 - rebuild * Wed Feb 02 2011 Alexey Morsov <swi@altlinux.ru> 0.9.7-alt2 - rebuild * Thu Apr 22 2010 Alexey Morsov <swi@altlinux.ru> 0.9.7-alt1 - new version * Sat Feb 07 2009 Alexey Morsov <swi@altlinux.ru> 0.9.6-alt2.2 - fix patch * Fri Nov 07 2008 Alexey Morsov <swi@altlinux.ru> 0.9.6-alt2.1 - rebuild with libcln 1.2.2 - fix spec + remove deprecated cal in post/postun * Thu Nov 06 2008 Alexey Morsov <swi@altlinux.ru> 0.9.6-alt2 - fix build with gcc4.3 * Mon Jun 18 2007 Alexey Morsov <swi@altlinux.ru> 0.9.6-alt1 - 0.9.6 release - put api documentation in -devel package * Tue Dec 19 2006 Alexey Morsov <swi@altlinux.ru> 0.9.5-alt1 - 0.9.5 release. * Sat Jan 21 2006 Pavlov Konstantin <thresh@altlinux.ru> 0.9.2-alt1 - 0.9.2 release. * Mon Dec 05 2005 Pavlov Konstantin <thresh@altlinux.ru> 0.9.0-alt1 - 0.9.0 release. * Fri Oct 07 2005 Pavlov Konstantin <thresh@altlinux.ru> 0.8.1.2-alt1 - Upstream bugfix release. * Tue Oct 04 2005 Pavlov Konstantin <thresh@altlinux.ru> 0.8.1.1-alt2 - Fixed lt error. * Sat Aug 27 2005 Pavlov Konstantin <thresh@altlinux.ru> 0.8.1.1-alt1 - Initial build. |