Package liblasi: 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 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | %define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict %define origname libLASi Name: liblasi Version: 1.1.3 Release: alt3 Summary: C++ stream output interface for creating Unicode PostScript documents License: LGPL Group: System/Libraries Url: http://www.unifont.org/lasi Source: %origname-%version.tar.gz Source100: %name.watch Patch0: libLASi-link_gobject2.patch Patch1: libLASi-do_not_build_examples.patch Packager: Michael Shigorin <mike@altlinux.org> # Automatically added by buildreq on Mon Apr 28 2014 # optimized out: cmake-modules fontconfig fontconfig-devel glib2-devel libcloog-isl4 libfreetype-devel libstdc++-devel pkg-config BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake doxygen gcc-c++ libpango-devel BuildRequires: libharfbuzz-devel libexpat-devel %define pkgdocdir %_docdir/%name-%version %description libLASi is a library written by Larry Siden that provides a C++ stream output interface (with operator <<) for creating Postscript documents that can contain characters from any of the scripts and symbol blocks supported in Unicode and by Owen Taylor's Pango layout engine. The library accomodates right-to-left scripts such as Arabic and Hebrew as easily as left-to-right scripts. Indic and Indic-derived Complex Text Layout (CTL) scripts, such as Devanagari, Thai, Lao, and Tibetan are supported to the extent provided by Pango and by the OpenType fonts installed on your system. All of this is provided without need for any special configuration or layout calculation on the programmer's part. Although the capability to produce Unicode-based multilingual Postscript documents exists in large Open Source application framework libraries such as GTK+, QT, and KDE, libLASi was designed for projects which require the ability to produce Postscript independent of any one application framework. %package devel Summary: Development part of libLASi License: GPL Group: Development/C++ Requires: %name = %EVR %description devel libLASi is a library that provides a C++ stream output interface for creating Postscript documents. This is the development environment to compile libLASi apps. %package doc Summary: Documentation for libLASi License: GPL Group: Documentation BuildArch: noarch %description doc libLASi is a library that provides a C++ stream output interface for creating Postscript documents. This is user and developer documentation for libLASi. %prep %setup -n %origname-%version %patch0 -p1 %patch1 -p1 %build %cmake \ -DCMAKE_CXX_STANDARD=14 \ -DCMAKE_INSTALL_PREFIX=%_prefix \ -DCMAKE_INSTALL_LIBDIR=%_libdir \ %nil %cmake_build %install %cmakeinstall_std mkdir -p %buildroot%pkgdocdir cp -a AUTHORS NEWS README %buildroot%pkgdocdir/ mv %buildroot%_datadir/lasi%version/examples/ %buildroot%pkgdocdir/ rm -rf %buildroot%_docdir/%origname-%version/html %files %_libdir/*.so.* %dir %pkgdocdir %pkgdocdir/AUTHORS %pkgdocdir/NEWS %pkgdocdir/README %files devel %_libdir/*.so %_libdir/pkgconfig/*.pc %_includedir/* %pkgdocdir/examples/ %files doc %doc doc/* %changelog * Mon Oct 11 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 1.1.3-alt3 - Fixed build with gcc-11 * Wed Oct 16 2019 Michael Shigorin <mike@altlinux.org> 1.1.3-alt2 - fix actual ftbfs with opensuse patches + ...dropping examples along with that * Fri Feb 01 2019 Michael Shigorin <mike@altlinux.org> 1.1.3-alt1 - new version (watch file uupdate) * Fri Apr 08 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 1.1.2-alt1.qa1 - Rebuilt for gcc5 C++11 ABI. * Mon Aug 04 2014 Michael Shigorin <mike@altlinux.org> 1.1.2-alt1 - new version (watch file uupdate) - dropped patch (merged upstream) * Mon Apr 28 2014 Michael Shigorin <mike@altlinux.org> 1.1.1-alt5 - replaced the patch with official commit to test it - added documentation subpackage * Sun Dec 08 2013 Michael Shigorin <mike@altlinux.org> 1.1.1-alt4 - added macports patch to FTBFS against freetype-2.5.1: https://sourceforge.net/p/lasi/bugs/2/ * Tue Jul 03 2012 Michael Shigorin <mike@altlinux.org> 1.1.1-alt3 - added missed requires for devel subpackage of main lib package (led@) * Wed May 09 2012 Michael Shigorin <mike@altlinux.org> 1.1.1-alt2 - added watch file * Sun Apr 22 2012 Michael Shigorin <mike@altlinux.org> 1.1.1-alt1 - 1.1.1 * Thu Mar 10 2011 Michael Shigorin <mike@altlinux.org> 1.1.0-alt5 - rebuilt for debuginfo * Wed Oct 13 2010 Michael Shigorin <mike@altlinux.org> 1.1.0-alt4 - hopefully eradicated %%buildroot in installed files (thanks viy@) * Thu Dec 04 2008 Michael Shigorin <mike@altlinux.org> 1.1.0-alt3 - applied repocop patch * Sat Mar 29 2008 Michael Shigorin <mike@altlinux.org> 1.1.0-alt2 - fixed x86_64 build * Sat Mar 29 2008 Michael Shigorin <mike@altlinux.org> 1.1.0-alt1 - 1.1.0 (current stable release) - build moved to cmake - spec cleanup - added, erm, examples to devel subpackage - updated Summary: * Thu Nov 09 2006 Michael Shigorin <mike@altlinux.org> 1.0.6-alt1 - 1.0.6 (NB: requires freetype >= 2.2) - removed patch (merged upstream) * Mon Jun 05 2006 Michael Shigorin <mike@altlinux.org> 1.0.5-alt1 - accepted gcc4 build fix and version update by icesik@ + Mon Jun 05 2006 Igor Zubkov <icesik@altlinux.ru> 1.0.5-alt0 * Sun Mar 26 2006 Michael Shigorin <mike@altlinux.org> 1.0.4-alt2 - fixed build with --as-needed, kind of (better do it properly) * Fri Feb 17 2006 Michael Shigorin <mike@altlinux.org> 1.0.4-alt1 - built for ALT Linux |