1 | Name: perl-Gtk2-ImageView |
---|
2 | Version: 0.05 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Perl bindings to the GtkImageView image viewer widget |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: LGPLv3+ |
---|
8 | URL: http://search.cpan.org/dist/Gtk2-ImageView/ |
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Gtk2-ImageView-%{version}.tar.gz |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | BuildRequires: gtk2-devel |
---|
13 | BuildRequires: gtkimageview-devel >= 1.6.0 |
---|
14 | BuildRequires: perl(ExtUtils::Depends) >= 0.2 |
---|
15 | BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 |
---|
16 | BuildRequires: perl(Glib) >= 1.140 |
---|
17 | BuildRequires: perl(Gtk2) >= 1.140 |
---|
18 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
19 | Requires: perl(Glib) >= 1.140 |
---|
20 | Requires: perl(Gtk2) >= 1.140 |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | Perl bindings to the GtkImageView image viewer widget. Find out more about |
---|
27 | GtkImageView at http://trac.bjourne.webfactional.com/. The Perl bindings follow |
---|
28 | the C API very closely, and the C reference should be considered the canonical |
---|
29 | documentation. |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development headers for %{name} |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | |
---|
36 | %description devel |
---|
37 | Development headers for %{name}. |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q -n Gtk2-ImageView-%{version} |
---|
41 | |
---|
42 | %build |
---|
43 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
44 | %{__make} %{?_smp_mflags} |
---|
45 | |
---|
46 | %install |
---|
47 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
48 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
49 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
50 | find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' |
---|
51 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
52 | %{__chmod} -R u+w $RPM_BUILD_ROOT/* |
---|
53 | |
---|
54 | %check |
---|
55 | # There are tests, but they need an X DISPLAY to run. Not worth it. |
---|
56 | #make test |
---|
57 | |
---|
58 | %clean |
---|
59 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root,-) |
---|
63 | %doc AUTHORS COPYING.LESSER README |
---|
64 | %{perl_vendorarch}/auto/Gtk2/ImageView/ |
---|
65 | %{perl_vendorarch}/Gtk2* |
---|
66 | %exclude %{perl_vendorarch}/Gtk2/ImageView/Install/*.h |
---|
67 | %{_mandir}/man3/*.3pm* |
---|
68 | |
---|
69 | %files devel |
---|
70 | %defattr(-,root,root,-) |
---|
71 | %{perl_vendorarch}/Gtk2/ImageView/Install/*.h |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.05-1 |
---|
75 | - updated to 0.05 |
---|
76 | - built with perl 5.16.3 |
---|
77 | |
---|
78 | * Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.04-2 |
---|
79 | - build with perl 5.12.3 |
---|
80 | - add Vendor and Distribution tags |
---|
81 | |
---|
82 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.04-1 |
---|
83 | - initial build for Vine Linux based on fedora development |
---|
84 | |
---|
85 | * Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 0.04-5 |
---|
86 | - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper). |
---|
87 | |
---|
88 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-4 |
---|
89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
90 | |
---|
91 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
93 | |
---|
94 | * Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-2 |
---|
95 | - missing BuildRequires: perl(GTK2) |
---|
96 | |
---|
97 | * Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-1 |
---|
98 | - initial package for Fedora |
---|