Package libstfl0: 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 | Name: libstfl0 Version: 0.24 Release: alt5.3 %define oname stfl Summary: library which implements a curses-based widget set for text terminals License: LGPLv3 Group: Terminals Url: http://www.clifford.at/stfl/ Packager: Vladimir D. Seleznev <vseleznv@altlinux.org> # repackaged http://www.clifford.at/stfl/stfl-%version.tar.gz Source: %oname-%version.tar Source1: %name.watch Patch1: stfl-0.24-alt-as-needed.patch Patch2: stfl-0.24-alt-ruby-linkage-fix.patch Patch3: stfl-0.24-alt-warnings.patch BuildRequires(pre): rpm-build-ruby # Automatically added by buildreq on Fri Mar 03 2017 # optimized out: libncurses-devel libtinfo-devel perl perl-devel python-base python-modules ruby ruby-stdlibs swig-data BuildRequires: libncursesw-devel libruby-devel perl-Encode python-devel swig %description STFL is a library which implements a curses-based widget set for text terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. The public STFL API is only 14 simple function calls big and there are already generic SWIG bindings. Thus is very easy to port STFL to additional scripting languages. %package devel Summary: Headers for %name Group: Development/C Requires: %name = %version-%release %description devel Headers for building software that uses %name %package -n perl-%oname Group: Terminals Requires: perl swig libstfl0 Summary: Perl binding to stfl %description -n perl-%oname Perl binding to stfl %package -n python-module-%oname Group: Terminals Requires: python swig libstfl0 Summary: Python binding to stfl #%%setup_python_module %%oname %description -n python-module-%oname Python binding to stfl %package -n ruby-%oname Group: Terminals Requires: swig ruby libstfl0 Summary: Ruby binding to stfl %description -n ruby-%oname Ruby binding to stfl %prep %setup -n %oname-%version %patch1 -p2 %patch2 -p2 %patch3 -p2 %build sed -i 's|$(prefix)/$(libdir)/ruby|%ruby__sitelibdir|g' ruby/Makefile.snippet # SMP-incompatible build export CFLAGS="%optflags" echo ----------------------- echo %ruby__sitelibdir/stfl.so echo %ruby_sitelibdir/stfl.so make %install make DESTDIR=%buildroot prefix=%prefix libdir=%_lib install rm %buildroot%_libdir/*.a %files %doc README %_libdir/*.so.* %files devel %_includedir/*.h %_libdir/*.so %_pkgconfigdir/*.pc %files -n perl-%oname %_libdir/perl5/* %files -n python-module-%oname %python_sitelibdir/lib-dynload/_stfl.so %python_sitelibdir/stfl.py %python_sitelibdir/stfl.pyc %python_sitelibdir/stfl.pyo %files -n ruby-%oname #%ruby__sitelibdir/stfl.so %changelog * Fri Aug 26 2022 Pavel Skrylev <majioa@altlinux.org> 0.24-alt5.3 - !fix ruby paths * Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.24-alt5.2 - rebuild with new perl 5.28.1 * Thu Jul 26 2018 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.24-alt5.1 - Rebuilt for new Ruby autoreq. * Mon Apr 16 2018 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.24-alt5 - added explicit dependency on libstfl0 to perl-, python- and ruby- subpackages * Fri Mar 30 2018 Andrey Cherepanov <cas@altlinux.org> 0.24-alt4.2.3 - Rebuild with Ruby 2.5.1 * Tue Mar 13 2018 Andrey Cherepanov <cas@altlinux.org> 0.24-alt4.2.2 - Rebuild with Ruby 2.5.0 * Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.24-alt4.2.1 - rebuild with new perl 5.26.1 * Mon Sep 25 2017 Andrey Cherepanov <cas@altlinux.org> 0.24-alt4.2 - Rebuild with Ruby 2.4.2 * Tue Sep 05 2017 Andrey Cherepanov <cas@altlinux.org> 0.24-alt4.1 - Rebuild with Ruby 2.4.1 * Sat Mar 11 2017 Andrey Cherepanov <cas@altlinux.org> 0.24-alt4 - Rebuild with new %%ruby_sitearchdir location * Fri Mar 03 2017 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.24-alt3 - added support for watchfile. - fixed compiler warnings. - built with ruby module. - added origin (alt) in patch filename. - clearly marked that source is repackaged. * Fri Feb 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.24-alt2.1 - rebuild with new perl 5.24.1 * Sat Mar 12 2016 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.24-alt2 - remove libstfl.a from -devel package. * Tue Dec 08 2015 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.24-alt1 - Initial build. |