File: libglade.spec

package info (click to toggle)
libglade2 1:2.6.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 2,280 kB
  • ctags: 494
  • sloc: sh: 9,285; ansic: 4,312; xml: 1,958; makefile: 121
file content (83 lines) | stat: -rw-r--r-- 1,872 bytes parent folder | download | duplicates (2)
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
Summary: libglade library
Name: libglade
Version: 2.6.4
Release: 1
Copyright: LGPL
Group: System Environment/Libraries
Source: http://ftp.gnome.org/pub/GNOME/sources/libglade/2.4/libglade-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
URL: http://www.gnome.org

Requires: gtk+ >= 2.4.0
Requires: libxml2 >= 2.4.10

%description
This library allows you to load user interfaces in your program, which are
stored externally.  This allows alteration of the interface without
recompilation of the program.

The interfaces can also be edited with GLADE.

%package devel
Summary: Libraries, includes, etc to develop libglade applications
Group: Development/Libraries
Requires: libglade gtk+-devel libxml2-devel

%description devel
Libraries, include files, etc you can use to develop libglade applications.


%changelog

* Sun Nov  1 1998 James Henstridge <james@daa.com.au>

- Updated the dependencies of the devel package, so users must have gtk+-devel.

* Sun Oct 25 1998 James Henstridge <james@daa.com.au>

- Initial release 0.0.1

%prep
%setup

%build
%configure
make

%install
%makeinstall

%post
/sbin/ldconfig

CATALOG=/etc/xml/catalog
/usr/bin/xmlcatalog --noout --add "system" \
    "http://glade.gnome.org/glade-2.0.dtd" \
    %{_prefix}/share/xml/libglade/glade-2.0.dtd $CATALOG || true

%postun
/sbin/ldconfig

CATALOG=/etc/xml/catalog
/usr/bin/xmlcatalog --noout --del \
    %{_prefix}/share/xml/libglade/glade-2.0.dtd $CATALOG || true

%files
%defattr(-, root, root)

%doc AUTHORS ChangeLog NEWS README COPYING
%{_prefix}/lib/lib*.so.*
%{_prefix}/share/xml/libglade/glade-2.0.dtd

%files devel
%defattr(-, root, root)

%{_prefix}/bin/*
%{_prefix}/lib/lib*.so
%{_prefix}/lib/*a
%{_prefix}/include/libglade-2.0/glade/*
%{_prefix}/lib/pkgconfig/libglade-2.0.pc

%doc test-libglade.c
%doc examples/*.glade
%doc %{_prefix}/share/gtk-doc/html/libglade/*