]> git.pld-linux.org Git - packages/libglade.git/blob - libglade.spec
- updated to 0.5,
[packages/libglade.git] / libglade.spec
1 Summary:        libglade library
2 Name:           libglade
3 Version:        0.5
4 Release:        1
5 Copyright:      LGPL
6 Group:          X11/Libraries
7 Source:         ftp://ftp.daa.com.au/pub/james/gnome/%{name}-%{version}.tar.gz
8 BuildRequires:  gnome-libs-devel
9 BuildRequires:  gtk+-devel >= 1.2.0
10 BuildRequires:  libxml-devel
11 BuildRequires:  XFree86-devel
12 URL:            http://www.gnome.org
13 BuildRoot:      /tmp/%{name}-%{version}-root
14
15 %define         _prefix         /usr/X11R6
16
17 Requires: gtk+
18 Requires: libxml >= 1.3
19
20 %description
21 This library allows you to load user interfaces in your program, which are
22 stored externally. This allows alteration of the interface without
23 recompilation of the program.
24
25 The interfaces can also be edited with GLADE.
26
27 %package devel
28 Summary:        Libraries, includes, etc to develop libglade applications
29 Group:          X11/Libraries
30 Requires:       %{name} = %{version}
31
32 %description devel
33 Libraries, include files, etc you can use to develop libglade applications.
34
35 %package static
36 Summary:        Static libglade library
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description static
41 Static libglade library.
42
43 %prep
44 %setup -q
45
46 %build
47 automake
48 gettextize --copy --force
49 %configure
50 make
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT/usr/src/examples/%{name}
55
56 make install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         m4datadir=/usr/share/aclocal
59
60 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
61
62 gzip -9nf AUTHORS ChangeLog NEWS README
63
64 install test-libglade.c *.glade $RPM_BUILD_ROOT/usr/src/examples/%{name}
65
66 %find_lang %{name}
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/lib*.so.*.*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %doc *gz
81 %docdir %{_datadir}/gnome/html/libglade
82 %doc %{_datadir}/gnome/html/libglade/*
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/libgladeConf.sh
85 %attr(755,root,root) %{_libdir}/lib*.so
86 %attr(755,root,root) %{_libdir}/lib*.la
87 %{_includedir}/glade
88
89 /usr/share/aclocal/*
90
91 /usr/src/examples/%{name}
92
93 %files static
94 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.027946 seconds and 3 git commands to generate.