Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zint/zint.spec @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 Name: zint | |
| 2 Version: 2.13.0 | |
| 3 Release: 2%{?dist} | |
| 4 Summary: A barcode generator and library | |
| 5 License: GPLv3+ | |
| 6 URL: http://www.zint.org.uk | |
| 7 Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.src.tar.gz | |
| 8 Group: Applications/Engineering | |
| 9 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | |
| 10 | |
| 11 # Reset locales to "C" when exporting to EPS or SVG in order to force | |
| 12 # decimal points in all language environments. | |
| 13 # This issue has been reported upstream: | |
| 14 # http://sourceforge.net/mailarchive/forum.php?thread_name=4BF78012.7090508%40uos.de&forum_name=zint-barcode | |
| 15 Patch0: zint-locale.patch | |
| 16 | |
| 17 BuildRequires: cmake | |
| 18 BuildRequires: libpng-devel | |
| 19 BuildRequires: zlib-devel | |
| 20 | |
| 21 %description | |
| 22 Zint is a C library for encoding data in several barcode variants. The | |
| 23 bundled command-line utility provides a simple interface to the library. | |
| 24 Features of the library: | |
| 25 - Over 50 symbologies including all ISO/IEC standards, like QR codes. | |
| 26 - Unicode translation for symbologies which support Latin-1 and | |
| 27 Kanji character sets. | |
| 28 - Full GS1 support including data verification and automated insertion of | |
| 29 FNC1 characters. | |
| 30 - Support for encoding binary data including NULL (ASCII 0) characters. | |
| 31 - Health Industry Barcode (HIBC) encoding capabilities. | |
| 32 - Output in the following file formats: PNG, GIF, EPS, WMF, BMP, TIF, SVG. | |
| 33 - Verification stage for SBN, ISBN and ISBN-13 data. | |
| 34 | |
| 35 | |
| 36 %package -n zint-devel | |
| 37 Summary: Library and header files for %{name} | |
| 38 Group: Development/Libraries | |
| 39 Requires: %{name} = %{version}-%{release} | |
| 40 | |
| 41 %description -n zint-devel | |
| 42 C library and header files needed to develop applications using %{name}. | |
| 43 The API documentation can be found ont the project website: | |
| 44 https://zint.org.uk/manual/ | |
| 45 | |
| 46 | |
| 47 %package -n zint-qt | |
| 48 Summary: Zint Barcode Studio GUI and library | |
| 49 Group: Applications/Engineering | |
| 50 Requires: %{name} = %{version}-%{release} | |
| 51 BuildRequires: qt-devel >= 4.4 | |
| 52 BuildRequires: desktop-file-utils | |
| 53 | |
| 54 %description -n zint-qt | |
| 55 Zint Barcode Studio is a Qt-based GUI which allows desktop users to generate | |
| 56 barcodes which can then be embedded in documents or HTML pages, and a library | |
| 57 which can be used to incorporate barcode generation functionality into other | |
| 58 software. | |
| 59 | |
| 60 | |
| 61 %package -n zint-qt-devel | |
| 62 Summary: Library and header files for %{name}-qt | |
| 63 Group: Development/Libraries | |
| 64 Requires: %{name}-devel = %{version}-%{release} | |
| 65 Requires: %{name}-qt = %{version}-%{release} | |
| 66 | |
| 67 %description -n zint-qt-devel | |
| 68 C library and header files needed to develop applications using %{name}-qt. | |
| 69 | |
| 70 | |
| 71 %prep | |
| 72 %setup -q | |
| 73 %patch0 -p1 | |
| 74 | |
| 75 # remove bundled getopt sources (we use the corresponding Fedora package instead) | |
| 76 rm -rf getopt | |
| 77 | |
| 78 %build | |
| 79 %cmake CMakeLists.txt | |
| 80 make VERBOSE=1 %{?_smp_mflags} | |
| 81 | |
| 82 cat <<EOF >zint-qt.desktop | |
| 83 [Desktop Entry] | |
| 84 Name=Zint Barcode Studio | |
| 85 GenericName=Zint Barcode Studio | |
| 86 Exec=zint-qt | |
| 87 Icon=zint | |
| 88 Terminal=false | |
| 89 Type=Application | |
| 90 Categories=Utility; | |
| 91 EOF | |
| 92 | |
| 93 | |
| 94 %install | |
| 95 rm -rf $RPM_BUILD_ROOT | |
| 96 make install DESTDIR=$RPM_BUILD_ROOT | |
| 97 rm -rf $RPM_BUILD_ROOT/%{_datadir}/cmake | |
| 98 install -D -p -m 644 frontend_qt4/images/%{name}_white.png %{buildroot}/usr/share/pixmaps/%{name}.png | |
| 99 install -D -p -m 644 %{name}-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop | |
| 100 desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-qt.desktop | |
| 101 | |
| 102 %clean | |
| 103 rm -rf $RPM_BUILD_ROOT | |
| 104 | |
| 105 | |
| 106 %post -p /sbin/ldconfig | |
| 107 %postun -p /sbin/ldconfig | |
| 108 %post -n %{name}-qt -p /sbin/ldconfig | |
| 109 %postun -n %{name}-qt -p /sbin/ldconfig | |
| 110 | |
| 111 | |
| 112 %files | |
| 113 %defattr(-,root,root,-) | |
| 114 %doc COPYING README | |
| 115 %{_bindir}/%{name} | |
| 116 %{_libdir}/libzint.so.* | |
| 117 | |
| 118 %files -n %{name}-devel | |
| 119 %defattr(-,root,root,-) | |
| 120 %{_includedir}/%{name}.h | |
| 121 %{_libdir}/libzint.so | |
| 122 | |
| 123 %files -n %{name}-qt | |
| 124 %defattr(-,root,root,-) | |
| 125 %{_bindir}/%{name}-qt | |
| 126 %{_libdir}/libQZint.so.* | |
| 127 %{_datadir}/applications/%{name}-qt.desktop | |
| 128 %{_datadir}/pixmaps/%{name}.png | |
| 129 | |
| 130 %files -n %{name}-qt-devel | |
| 131 %defattr(-,root,root,-) | |
| 132 %{_includedir}/qzint.h | |
| 133 %{_libdir}/libQZint.so | |
| 134 | |
| 135 | |
| 136 %changelog | |
| 137 | |
| 138 * Sat Feb 1 2020 Harald Oehlmann <oehhar@sourceforge.net> - 2.7.1 | |
| 139 - Version -> 2.7.1 | |
| 140 | |
| 141 * Thu Dec 5 2019 Harald Oehlmann <oehhar@sourceforge.net> - 2.7.0 | |
| 142 - Version -> 2.7.0 | |
| 143 | |
| 144 * Wed Sep 18 2019 Harald Oehlmann <oehhar@sourceforge.net> - 2.6.6 | |
| 145 - Version -> 2.6.6 | |
| 146 | |
| 147 * Mon Sep 1 2019 Harald Oehlmann <oehhar@sourceforge.net> - 2.6.5 | |
| 148 - Version -> 2.6.5 | |
| 149 | |
| 150 * Fri Aug 30 2019 Harald Oehlmann <oehhar@sourceforge.net> - 2.6.4 | |
| 151 - Version -> 2.6.4 | |
| 152 | |
| 153 * Thu Feb 15 2018 Robin Stuart <rstuart114@gmail.com> - 2.6.3 | |
| 154 - Version -> 2.6.3 | |
| 155 | |
| 156 * Sun Oct 22 2017 Robin Stuat <rstuart114@gmail.com> - 2.6.2 | |
| 157 - Version -> 2.6.2 | |
| 158 | |
| 159 * Sun Aug 27 2017 Robin Stuart <rstuart114@gmail.com> - 2.6.1 | |
| 160 - Version -> 2.6.1 | |
| 161 | |
| 162 * Thu May 11 2017 Robin Stuart <rstuart114@gmail.com> - 2.6.0 | |
| 163 - Update version number | |
| 164 | |
| 165 * Sat May 22 2010 Martin Gieseking <martin.gieseking@uos.de> - 2.3.1-2 | |
| 166 - Added patch to fix export issue | |
| 167 | |
| 168 * Fri May 21 2010 Martin Gieseking <martin.gieseking@uos.de> - 2.3.1-1 | |
| 169 - initial package |
