]> git.pld-linux.org Git - packages/perl-Gtk2-GladeXML.git/blame - perl-Gtk2-GladeXML.spec
- copy-pasto
[packages/perl-Gtk2-GladeXML.git] / perl-Gtk2-GladeXML.spec
CommitLineData
1974f28c 1#
2# Conditional build:
d8573a6a 3%bcond_with tests # perform "make test" (requires X server)
1974f28c 4#
fafe2cf2 5%define pnam Gtk2-GladeXML
b552a7d4 6Summary: Mechanisms for instantiating and utilization of user interfaces created with Glade-2
b1a1b51b 7Summary(pl.UTF-8): Mechanizmy pozwalające na wykorzystywanie interfejsów stworzonych za pomocą Glade-2
089eb418 8Name: perl-Gtk2-GladeXML
4c3f27e5
JB
9Version: 1.008
10Release: 1
dea00916
MK
11License: LGPL
12Group: Development/Languages/Perl
4c3f27e5
JB
13Source0: https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14# Source0-md5: e4eba9d654198eb5bc4da7418d93d30a
1974f28c 15URL: http://gtk2-perl.sourceforge.net/
4c3f27e5
JB
16BuildRequires: libglade2-devel >= 1:2.6.0
17BuildRequires: perl-ExtUtils-Depends >= 0.300
18BuildRequires: perl-ExtUtils-PkgConfig >= 1.000
1974f28c 19BuildRequires: perl-devel >= 1:5.8.0
4c3f27e5 20BuildRequires: perl-Glib-devel >= 1.140
dd27de14 21BuildRequires: perl-Gtk2-devel >= 1.140
dea00916 22BuildRequires: rpm-perlprov >= 4.1-13
28882fff 23BuildRequires: rpmbuild(macros) >= 1.745
4c3f27e5 24Requires: libglade2 >= 1:2.6.0
7800cf6e 25Requires: perl-Glib >= 1.140
26Requires: perl-Gtk2 >= 1.140
dea00916
MK
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
b7e3f45a 30After designing an application with Glade-2 the layout and
31configuration is saved in a XML formatted file. libglade is a library
32to load and use files of this particular XML format at application run
33time. This module is a set of mappings of libglade.
34
4c3f27e5
JB
35Note: this module is deprecated and no longer maintained.
36
00845191
JR
37%description -l pl.UTF-8
38Po zaprojektowaniu aplikacji korzystającej z Glade-2 jej wygląd i
39konfiguracja są zapamiętywane w postaci plików w formacie XML.
40libglade jest biblioteką służącą do odczytu i korzystania z tego
41specyficznego formatu XML w czasie działania aplikacji. Ten moduł
42stanowi zbiór odwzorowań biblioteki libglade.
dea00916 43
4c3f27e5
JB
44Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany.
45
46%package devel
bbc7c58f
JB
47Summary: Development files for Perl Gtk2-GladeXML bindings
48Summary(pl.UTF-8): Pliki programistyczne wiązań Gtk2-GladeXML dla Perla
4c3f27e5
JB
49Group: Development/Languages/Perl
50Requires: %{name} = %{version}-%{release}
51Requires: libglade2-devel >= 1:2.6.0
52Requires: perl-Cairo-devel
53Requires: perl-Glib-devel >= 1.120
54Requires: perl-Gtk2-devel >= 1.121
55
56%description devel
bbc7c58f 57Development files for Perl Gtk2-GladeXML bindings.
4c3f27e5
JB
58
59%description devel -l pl.UTF-8
bbc7c58f 60Pliki programistyczne wiązań Gtk2-GladeXML dla Perla.
4c3f27e5 61
dea00916 62%prep
1974f28c 63%setup -q -n %{pnam}-%{version}
dea00916
MK
64
65%build
66%{__perl} Makefile.PL \
67 INSTALLDIRS=vendor
68
69%{__make} \
5267c9d2 70 CC="%{__cc}" \
dea00916
MK
71 OPTIMIZE="%{rpmcflags}"
72
1974f28c 73%{?with_tests:%{__make} test}
74
dea00916
MK
75%install
76rm -rf $RPM_BUILD_ROOT
77
4c3f27e5 78%{__make} pure_install \
dea00916
MK
79 DESTDIR=$RPM_BUILD_ROOT
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
86%doc AUTHORS README ChangeLog
87%{perl_vendorarch}/Gtk2/GladeXML.pm
1974f28c 88%dir %{perl_vendorarch}/Gtk2/GladeXML
b552a7d4 89%dir %{perl_vendorarch}/auto/Gtk2/GladeXML
4c3f27e5
JB
90%attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/GladeXML/GladeXML.so
91%{_mandir}/man3/Gtk2::GladeXML*.3pm*
92
93%files devel
94%defattr(644,root,root,755)
1974f28c 95%{perl_vendorarch}/Gtk2/GladeXML/Install
This page took 0.104106 seconds and 4 git commands to generate.