source: trunk/third/libglade2/libglade.spec.in @ 18268

Revision 18268, 2.2 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18267, which included commits to RCS files with non-trunk default branches.
Line 
1Summary: libglade library
2Name: libglade
3Version: @VERSION@
4Release: 1
5Copyright: LGPL
6Group: System Environment/Libraries
7Source: ftp://ftp.gnome.org/pub/GNOME/earthquake/sources/libglade/libglade-%{version}.tar.gz
8BuildRoot: /var/tmp/%{name}-root
9Packager: James Henstridge <james@daa.com.au>
10URL: http://www.gnome.org
11
12Requires: gtk+ >= 2.0.0
13Requires: libxml2 >= 2.4.10
14
15%description
16This library allows you to load user interfaces in your program, which are
17stored externally.  This allows alteration of the interface without
18recompilation of the program.
19
20The interfaces can also be edited with GLADE.
21
22%package devel
23Summary: Libraries, includes, etc to develop libglade applications
24Group: Development/Libraries
25Requires: libglade gtk+-devel libxml2-devel
26
27%description devel
28Libraries, include files, etc you can use to develop libglade applications.
29
30
31%changelog
32
33* Sun Nov  1 1998 James Henstridge <james@daa.com.au>
34
35- Updated the dependencies of the devel package, so users must have gtk+-devel.
36
37* Sun Oct 25 1998 James Henstridge <james@daa.com.au>
38
39- Initial release 0.0.1
40
41%prep
42%setup
43
44%build
45%ifarch alpha
46        MYARCH_FLAGS="--host=alpha-redhat-linux"
47%endif
48
49CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix}
50
51make
52
53%install
54[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
55
56make prefix=$RPM_BUILD_ROOT%{_prefix} install
57
58
59%clean
60[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
61
62%post
63/sbin/ldconfig
64
65CATALOG=/etc/xml/catalog
66/usr/bin/xmlcatalog --noout --add "system" \
67    "http://glade.gnome.org/glade-2.0.dtd" \
68    %{_prefix}/share/xml/libglade/glade-2.0.dtd $CATALOG || true
69
70%postun
71/sbin/ldconfig
72
73CATALOG=/etc/xml/catalog
74/usr/bin/xmlcatalog --noout --del \
75    %{_prefix}/share/xml/libglade/glade-2.0.dtd $CATALOG || true
76
77%files
78%defattr(-, root, root)
79
80%doc AUTHORS ChangeLog NEWS README COPYING
81%{_prefix}/lib/lib*.so.*
82%{_prefix}/lib/libglade/2.0/*
83%{_prefix}/share/xml/libglade/glade-2.0.dtd
84
85%files devel
86%defattr(-, root, root)
87
88%{_prefix}/bin/*
89%{_prefix}/lib/lib*.so
90%{_prefix}/lib/*a
91%{_prefix}/include/libglade-2.0/glade/*
92%{_prefix}/lib/pkgconfig/libglade-2.0.pc
93
94%doc test-libglade.c
95%doc examples/*.glade
96%doc %{_prefix}/share/gtk-doc/html/libglade/*
Note: See TracBrowser for help on using the repository browser.