]> git.pld-linux.org Git - packages/perl-Gtk2-TrayIcon.git/blame - perl-Gtk2-TrayIcon.spec
- tabs in preamble
[packages/perl-Gtk2-TrayIcon.git] / perl-Gtk2-TrayIcon.spec
CommitLineData
89614e5f 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
019105ee 5%include /usr/lib/rpm/macros.perl
e64fb968 6%define pnam Gtk2-TrayIcon
b118ffe9 7Summary: Gtk2::TrayIcon - Perl interface to the EggTrayIcon library
eaef1404 8Summary(pl.UTF-8): Gtk2::TrayIcon - interfejs perlowy do biblioteki EggTrayIcon
8cf17d75 9Name: perl-Gtk2-TrayIcon
d0fe29e6 10Version: 0.04
888de1b2 11Release: 1
12License: LGPL
13Group: Development/Languages/Perl
14Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
d0fe29e6 15# Source0-md5: eff5603bba7eb0f20e56a0d4ce1874db
888de1b2 16URL: http://gtk2-perl.sourceforge.net/
17BuildRequires: libglade2-devel >= 2.0.0
888de1b2 18BuildRequires: perl-Glib >= 1.00
8cf17d75 19BuildRequires: perl-Gtk2 >= 1.00
888de1b2 20BuildRequires: perl-devel >= 1:5.8.0
29d5b973 21BuildRequires: perl-ExtUtils-Depends
202c3b62 22BuildRequires: perl-ExtUtils-PkgConfig
888de1b2 23BuildRequires: rpm-perlprov >= 4.1-13
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
b118ffe9 27Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary
28widget in a System Tray like the GNOME notification area.
8cf17d75 29
8e03d8d0
JR
30%description -l pl.UTF-8
31Moduł Gtk2::TrayIcon umożliwia programistom perlowym umieszczanie
b118ffe9 32dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w
33obszarze powiadamiania GNOME.
888de1b2 34
35%prep
36%setup -q -n %{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41
42%{__make} \
43 OPTIMIZE="%{rpmcflags}"
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%{perl_vendorarch}/Gtk2/TrayIcon.pm
59%dir %{perl_vendorarch}/Gtk2/TrayIcon
8cf17d75 60%{perl_vendorarch}/Gtk2/TrayIcon/Install
888de1b2 61%dir %{perl_vendorarch}/auto/Gtk2/TrayIcon
62%attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.so
888de1b2 63%{perl_vendorarch}/auto/Gtk2/TrayIcon/*.bs
64%{_mandir}/man3/*
This page took 0.049763 seconds and 4 git commands to generate.