source: trunk/third/libglade/libglade.spec.in @ 17111

Revision 17111, 1.9 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17110, which included commits to RCS files with non-trunk default branches.
Line 
1Summary: libglade library
2Name: @PACKAGE@
3Version: @VERSION@
4Release: 1
5Copyright: LGPL
6Group: System Environment/Libraries
7Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libglade/libglade-%{version}.tar.gz
8BuildRoot: /var/tmp/%{name}-root
9Packager: James Henstridge
10URL: http://www.gnome.org
11
12Requires: gtk+
13Requires: libxml >= 1.3
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 libxml-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
51if [ "$SMP" != "" ]; then
52        make -k -j$SMP check "MAKE=make -k -j$SMP check"
53else
54        make -k check
55fi
56
57%install
58[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
59
60make -k prefix=$RPM_BUILD_ROOT%{_prefix} install
61
62
63%clean
64[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
65
66%post
67/sbin/ldconfig
68
69%postun
70/sbin/ldconfig
71
72%files
73%defattr(-, root, root)
74
75%doc AUTHORS ChangeLog NEWS README COPYING
76%{_prefix}/lib/lib*.so.*
77
78%files devel
79%defattr(-, root, root)
80
81%{_prefix}/bin/*
82%{_prefix}/lib/lib*.so
83%{_prefix}/lib/*a
84%{_prefix}/include/libglade-1.0/glade/*
85%{_prefix}/share/aclocal/*
86%{_prefix}/lib/libgladeConf.sh
87%{_prefix}/lib/pkgconfig/*.pc
88
89%doc test-libglade.c
90%doc *.glade
91%doc %{_prefix}/share/gnome/html/libglade/*
Note: See TracBrowser for help on using the repository browser.