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