Package 1c-preinstall: 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 | %def_disable hacks %define tested_version 8.3.7.1949 Name: 1c-preinstall Version: 8.3 Release: alt10 Summary: Set correct environment for 1C:Enterprise client License: GPL Group: System/Libraries URL: http://1c.ru/ Packager: Andrey Cherepanov <cas@altlinux.org> %if_enabled hacks BuildRequires: libImageMagick %endif BuildArch: noarch Requires: fontconfig Requires: glib2 Requires: glibc-pthread Requires: libatk Requires: libcairo Requires: libcom_err Requires: libcups Requires: libfreetype Requires: libgcc1 Requires: libgdk-pixbuf Requires: libgio Requires: libgtk+2 Requires: libkrb5 Requires: libpango Requires: libSM Requires: libsoup Requires: libstdc++6 Requires: libwebkitgtk2 Requires: libX11 Requires: zlib Source1: xdg-current-desktop.sh %description This metapackage is intend to deploy correct environment for 1C:Enterprise client installation. Tested with 1C:Enterprise client version %tested_version %package full Summary: Set correct environment for 1C:Enterprise client with Microsoft (tm) fonts Group: System/Libraries BuildArch: noarch Requires: %name Requires: fonts-ttf-ms %description full This metapackage is intend to deploy correct environment for 1C:Enterprise client installation. This package also install Microsoft (tm) fonts are needed by 1C:Enterprise client and haspd for HASP key support. %install %if_enabled hacks mkdir -p %buildroot%_libdir cp -a %_libdir/libMagickWand-*.so.1.* %buildroot%_libdir/ ln -rs %buildroot%_libdir/libMagickWand-*.so.1.* \ %buildroot%_libdir/libWand.so.1 ln -rs %buildroot%_libdir/libMagickWand-*.so.1.* \ %buildroot%_libdir/libWand.so install -m 0755 -D %SOURCE1 %buildroot%_x11sysconfdir/profile.d/xdg-current-desktop.sh mkdir -p %buildroot%_datadir/fonts/ttf/ms ln -rs %buildroot%_datadir/fonts/ttf/ms %buildroot%_datadir/fonts/msttcorefonts %else mkdir -p %buildroot %endif %files %if_enabled hacks %_libdir/libWand.so.1 %_libdir/libWand.so %exclude %_libdir/libMagickWand* %_x11sysconfdir/profile.d/*.sh %endif %files full %if_enabled hacks %_datadir/fonts/msttcorefonts %exclude %_datadir/fonts/ttf/ms %endif %changelog * Wed May 04 2016 Andrey Cherepanov <cas@altlinux.org> 8.3-alt10 - Remove all hacks - Add all required external packages for 8.3.7.1949 * Thu Apr 03 2014 Andrey Cherepanov <cas@altlinux.org> 8.3-alt9 - Rebuild with new version of ImageMagick * Tue Mar 18 2014 Andrey Cherepanov <cas@altlinux.org> 8.3-alt8 - Require libgsf for support save to XLS * Fri Nov 29 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt7 - New version of 1C:Enterprise wants libWand.so * Fri Nov 08 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt6 - Make system Microsoft TTF fonts available for 1C client (ALT #29560) * Thu Oct 03 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt5 - Set XDG_CURRENT_DESKTOP based on current DE (thanks sem@) - New metapackage 1c-preinstall-full with fonts-ttf-ms * Wed Jul 10 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt4 - Pack symlink libWand.so.1 as file, disable triggers * Tue Jul 09 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt3 - Correct detect library path on x86_64 (ALT #29161) * Fri Jun 21 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt2 - Force create symbolic link * Wed Jun 19 2013 Andrey Cherepanov <cas@altlinux.org> 8.3-alt1 - Initial build in Sisyphus |