Пакет linux-gpib: 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 | Name: linux-gpib Version: 4.3.4 Release: alt1 Summary: Support package for GPIB (IEEE 488) hardware Group: System/Kernel and hardware Url: http://linux-gpib.sourceforge.net/ License: GPLv2 BuildRequires(pre): rpm-build-python3 BuildRequires: rpm-build-kernel docbook-utils BuildRequires: python3-devel tcl-devel perl-devel Requires: fxload firmware-gpib Source0: %name-%version.tar Source1: %name-kernel-%version.tar.bz2 %description The Linux GPIB Package is a support package for GPIB (IEEE 488) hardware. The package contains kernel driver modules, and a C user-space library with Guile, Perl, PHP, Python and TCL bindings. The API of the C library is intended to be compatible with National Instrument's GPIB library. %package devel Summary: Development files for %name Group: Development/Other %description devel This package contains development files for %name %package -n python3-module-%name Summary: Python bindings for %name Group: Development/Other %description -n python3-module-%name This package contains python bindings for %name %package -n tcl-%name Summary: Tcl bindings for %name Group: Development/Other %description -n tcl-%name This package contains tcl bindings for %name %package -n kernel-source-%name Summary: GPIB modules sources for Linux kernel Group: Development/Kernel BuildArch: noarch Provides: kernel-src-%name = %version-%release %description -n kernel-source-%name This package contains GPIB modules sources for Linux kernel. %prep %setup %build %autoreconf %configure %make_build %install %makeinstall # Version in pc-file is set to GPIB_SO_VERSION which is 3:0:3. # This causes "invalid pkg-config output" error. Replacing it with 3.0.3: sed -r -i -e '/Version:/s/([0-9]+):/\1./g' %buildroot/%_pkgconfigdir/libgpib.pc # move doc and example folders mkdir -p %buildroot%_docdir mv %buildroot%_datadir/linux-gpib-user %buildroot%_docdir/%name-%version cp COPYING README doc/linux-gpib.pdf %buildroot%_docdir/%name-%version cp -r language/tcl/examples %buildroot%_docdir/%name-%version/tcl-examples # install kernel module sources install -pDm0644 %SOURCE1 %kernel_srcdir/%name-%version.tar.bz2 %_sbindir/groupadd -r -f gpib 2> /dev/null ||: %files %dir %_docdir/%name-%version %dir %_docdir/%name-%version/html %doc %_docdir/%name-%version/COPYING %doc %_docdir/%name-%version/README %doc %_docdir/%name-%version/linux-gpib.pdf %doc %_docdir/%name-%version/html/* %config(noreplace) %_sysconfdir/udev/rules.d/* %config(noreplace) %_sysconfdir/gpib.conf %_libexecdir/udev/* %_bindir/ibterm %_bindir/ibtest %_libdir/libgpib.so.* %_sbindir/gpib_config %files devel %_includedir/gpib/* %_libdir/libgpib.so %_pkgconfigdir/* %files -n python3-module-%name %python3_sitelibdir/* %files -n tcl-%name %doc %_docdir/%name-%version/tcl-examples/* %doc %_docdir/%name-%version/tcl-examples/.xsetup %_libdir/libgpib_tcl* %files -n kernel-source-%name %kernel_src/%name-%version.tar.bz2 %changelog * Tue Apr 06 2021 Vladislav Zavjalov <slazav@altlinux.org> 4.3.4-alt1 - v4.3.4 * Tue Apr 14 2020 Andrey Bychkov <mrdrew@altlinux.org> 4.3.0-alt5 - Porting to python3. * Thu Feb 06 2020 Vladislav Zavjalov <slazav@altlinux.org> 4.3.0-alt3 - fix callback type for driver_find_device for 5.4 kernel * Thu Feb 06 2020 Vladislav Zavjalov <slazav@altlinux.org> 4.3.0-alt2 - remove unneeded include <asm/segment.h> * Wed Feb 05 2020 Vladislav Zavjalov <slazav@altlinux.org> 4.3.0-alt1 - v4.3.0 * Thu Mar 28 2019 Anton V. Boyarshinov <boyarsh@altlinux.org> 4.2.0-alt3 - fixed to build with 5.0 kernel * Mon Feb 18 2019 Vladislav Zavjalov <slazav@altlinux.org> 4.2.0-alt2 - fix Repocop warnings: docdir-is-not-owned, buildroot * Sat Feb 16 2019 Vladislav Zavjalov <slazav@altlinux.org> 4.2.0-alt1 - v4.2.0 |