Package perl-Wx: 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 183 184 185 186 187 188 189 190 | %define _unpackaged_files_terminate_build 1 Name: perl-Wx Version: 0.9932 Release: alt3 Summary: wxPerl - Perl bindings for wxWindows License: GPL+ or Artistic Group: Development/Perl URL: http://wxperl.sourceforge.net/ Source0: http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-%{version}.tar.gz # Work around BOM_UTF8 clash between wxGTK and Perl. Should be fixed in newer # wxGTK, CPAN RT#121464, <http://trac.wxwidgets.org/ticket/13599>;. Patch0: Wx-0.9932-Undefine-BOM_UTF8.patch Patch1: gtk3.patch # Automatically added by buildreq on Wed Oct 19 2011 BuildRequires: gcc-c++ perl-Encode perl-ExtUtils-CBuilder perl-ExtUtils-XSpp perl-IO-String perl-autodie perl-threads xvfb-run %description wxPerl is a Perl module wrapping the awesome wxWindows library for cross-platform GUI developement. %package devel Summary: Wx Perl development files Group: Development/Perl Requires: %name = %version-%release BuildRequires: libwxGTK3.0-devel perl-Alien-wxWidgets Requires: libwxGTK3.0-devel %description devel Development files useful for building Perl applications depending on Wx. %prep %setup -q -n Wx-%{version} %patch0 -p1 %patch1 -p1 %ifdef __buildreqs # these tests open /usr/share/applications/*.desktop rm t/08_ovl_func.t rm ext/filesys/t/03_threads.t %endif %ifndef _build_display %def_without test %endif %build %if 1 %perl_vendor_build %else # with --wx-unicode perl Makefile.PL --wx-unicode \ --wx-version=`wx-config --version | cut -d . -f 1-2` \ --wx-toolkit=gtk \ INSTALLDIRS=vendor \ OPTIMIZE="$RPM_OPT_FLAGS -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-local-typedefs" %make_build %endif %install %perl_vendor_install %check xvfb-run -a make test # need DISPLAY for perl.req %{expand:%%global __find_requires xvfb-run -a %__find_requires} %files %doc README.txt wxpl.ico wxpl.xpm Changes docs %perl_vendor_archlib/Wx* %perl_vendor_autolib/Wx %exclude %perl_vendor_archlib/Wx/Overload %exclude %perl_vendor_archlib/Wx/build %exclude %perl_vendor_archlib/Wx/cpp %exclude %perl_vendor_archlib/Wx/typemap %files devel %doc Changes samples %_bindir/wx* %_man1dir/wxperl_overload.* %dir %perl_vendor_archlib/Wx %perl_vendor_archlib/Wx/Overload %perl_vendor_archlib/Wx/build %perl_vendor_archlib/Wx/cpp %perl_vendor_archlib/Wx/typemap %changelog * Sat Oct 09 2021 Igor Vlasenko <viy@altlinux.org> 0.9932-alt3 - rebuild with wxWidgets 3.0 * Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.9932-alt2.2 - rebuild with new perl 5.28.1 * Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.9932-alt2.1 - rebuild with new perl 5.26.1 * Sun Dec 10 2017 Igor Vlasenko <viy@altlinux.ru> 0.9932-alt2 - added patch for perl 5.26 * Tue May 09 2017 Igor Vlasenko <viy@altlinux.ru> 0.9932-alt1 - automated CPAN update * Fri Feb 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.9928-alt1.1 - rebuild with new perl 5.24.1 * Mon Dec 28 2015 Igor Vlasenko <viy@altlinux.ru> 0.9928-alt1 - automated CPAN update * Wed Nov 25 2015 Igor Vlasenko <viy@altlinux.ru> 0.9927-alt2.1 - rebuild with new perl 5.22.0 * Sun Nov 01 2015 Vladimir Lettiev <crux@altlinux.ru> 0.9927-alt2 - added man(1) for wxperl_overload * Fri Oct 16 2015 Igor Vlasenko <viy@altlinux.ru> 0.9927-alt1 - automated CPAN update * Tue Dec 09 2014 Igor Vlasenko <viy@altlinux.ru> 0.9923-alt1.1 - rebuild with new perl 5.20.1 * Tue Jun 10 2014 Igor Vlasenko <viy@altlinux.ru> 0.9923-alt1 - automated CPAN update * Thu Aug 29 2013 Vladimir Lettiev <crux@altlinux.ru> 0.9922-alt2 - built for perl 5.18 * Wed Jul 24 2013 Igor Vlasenko <viy@altlinux.ru> 0.9922-alt1 - automated CPAN update * Thu Oct 04 2012 Vladimir Lettiev <crux@altlinux.ru> 0.9914-alt1 - 0.9913 -> 0.9914 * Mon Oct 01 2012 Vladimir Lettiev <crux@altlinux.ru> 0.9913-alt1 - 0.9911 -> 0.9913 - built as plain srpm * Sun Sep 02 2012 Vladimir Lettiev <crux@altlinux.ru> 0.9911-alt1 - 0.9902 -> 0.9911 - built for perl-5.16 * Wed Oct 19 2011 Alexey Tourbin <at@altlinux.ru> 0.9902-alt1 - 0.9901 -> 0.9902 - built for perl-5.14 * Thu Sep 22 2011 Igor Vlasenko <viy@altlinux.ru> 0.9901-alt1 - automated CPAN update - manually dropped ExtUtils-ParseXS hack due to new perl. * Mon Feb 14 2011 Vladimir Lettiev <crux@altlinux.ru> 0.98-alt1 - 0.98 - used bundled ExtUtils::ParseXS = 2.2206 to hackaround old ExtUtils::ParseXS inside perl-devel - optimised dependencies by buildreq - dropped noop patch - relaxed _perl_req_method * Sun Nov 07 2010 Vladimir Lettiev <crux@altlinux.ru> 0.96-alt1.1 - rebuilt with perl 5.12 - fixed build * Fri Jan 29 2010 Slava Dubrovskiy <dubrsl@altlinux.org> 0.96-alt1 - 0.96 - Fix bug (ALT #22841) * Thu Dec 11 2008 Slava Dubrovskiy <dubrsl@altlinux.org> 0.89-alt1 - 0.89 * Fri Sep 12 2008 Slava Dubrovskiy <dubrsl@altlinux.org> 0.86-alt1 - 0.86 * Fri Mar 14 2008 Slava Dubrovskiy <dubrsl@altlinux.org> 0.81-alt1 - 0.81 * Tue Nov 13 2007 Slava Dubrovskiy <dubrsl@altlinux.org> 0.80-alt1 - 0.80 - Add perl-Wx-open.patch - Remove perl-Wx-0.26-alt-SetConstants.patch - Split "devel" subpackage - Update spec and BuildRequires - Switch off tests (not work xvfb-run) * Wed Jun 21 2006 Slava Dubrovskiy <dubrsl@altlinux.ru> 0.26-alt0 - 0.26 - Update spec * Sat May 13 2006 Valentyn Solomko <val@pere.org.ua> 0.2.0.060513 - First build for ALTLinux. |