]> git.pld-linux.org Git - packages/perl-Gtk2-GladeXML.git/blob - perl-Gtk2-GladeXML.spec
- massive: unfold macros in name/summary & other unifications
[packages/perl-Gtk2-GladeXML.git] / perl-Gtk2-GladeXML.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires X server)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pnam    Gtk2-GladeXML
7 Summary:        Mechanisms for instantiating and utilization of user interfaces created with Glade-2
8 Summary(pl):    Mechanizmy pozwalaj±ce na wykorzystywanie interfejsów stworzonych za pomoc± Glade-2
9 Name:           perl-GladeXML
10 Version:        1.00
11 Release:        1
12 License:        LGPL
13 Group:          Development/Languages/Perl
14 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  c10083a94d10be7f681ca297612cd552
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  libglade2-devel >= 2.0.0
18 BuildRequires:  perl-ExtUtils-Depends
19 BuildRequires:  perl-ExtUtils-PkgConfig
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  perl-Glib >= 1.02
22 BuildRequires:  perl-Gtk2 >= 1.00
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 Requires:       perl-Glib >= 1.02
25 Requires:       perl-Gtk2 >= 1.00
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 After designing an application with Glade-2 the layout and
30 configuration is saved in a XML formatted file. libglade is a library
31 to load and use files of this particular XML format at application run
32 time. This module is a set of mappings of libglade.
33
34 %description -l pl
35 Po zaprojektowaniu aplikacji korzystaj±cej z Glade-2 jej wygl±d i
36 konfiguracja s± zapamiêtywane w postaci plików w formacie XML.
37 libglade jest bibliotek± s³u¿±c± do odczytu i korzystania z tego
38 specyficznego formatu XML w czasie dzia³ania aplikacji. Ten modu³
39 stanowi zbiór odwzorowañ biblioteki libglade.
40
41 %prep
42 %setup -q -n %{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47
48 %{__make} \
49         OPTIMIZE="%{rpmcflags}"
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS README ChangeLog
65 %{perl_vendorarch}/Gtk2/GladeXML.pm
66 %dir %{perl_vendorarch}/Gtk2/GladeXML
67 %dir %{perl_vendorarch}/auto/Gtk2/GladeXML
68 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/GladeXML/*.so
69 %{perl_vendorarch}/Gtk2/GladeXML/Install
70 %{perl_vendorarch}/auto/Gtk2/GladeXML/*.bs
71 %{_mandir}/man3/*
This page took 0.039351 seconds and 3 git commands to generate.