File: mozilla-bonobo.spec

package info (click to toggle)
mozilla-bonobo 0.4.2.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,452 kB
  • ctags: 147
  • sloc: sh: 8,602; ansic: 1,195; makefile: 52
file content (61 lines) | stat: -rw-r--r-- 1,595 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
Summary: Mozilla plugin for using bonobo components.
Name: mozilla-bonobo
Version: 0.4.2.1
Release: 0
License: GPL
Group: Applications/Internet
URL: http://www.nongnu.org/moz-bonobo/

Packager: Dag Wieers <dag@wieers.com>
Vendor: Dag Apt Repository, http://dag.wieers.com/home-made/apt/

Source:http://savannah.nongnu.org/download/moz-bonobo/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/root-%{name}-%{version}
Prefix: %{_prefix}

BuildRequires: gtk2-devel >= 2.0, glib2-devel >= 2.0, pango-devel >= 1.0.0
BuildRequires: atk-devel >= 1.0, freetype-devel >= 2.0, mozilla-devel >= 1.0
BuildRequires: mozilla-nspr-devel >= 1.0

%description
This package contains a plugin for the Mozilla browser that makes it
possible to use bonobo components.

%prep
%setup

%build
%configure \
	--with-plugin-install-dir="%{buildroot}%{_libdir}/mozilla/plugins" \
	--disable-schemas-install
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
%makeinstall

### Clean up buildroot
%{__rm} -rf %{buildroot}%{_prefix}/doc/

%clean
%{__rm} -rf %{buildroot}

%post
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null
scrollkeeper-update -q

%postun
scrollkeeper-update -q

%files
%defattr(-, root, root, 0755)
%config %{_sysconfdir}/gconf/schemas/*.schemas
%doc AUTHORS ChangeLog COPYING README NEWS TODO
%{_bindir}/*
%{_libdir}/mozilla/plugins/*.so

%changelog
* Thu May 08 2003 Dag Wieers <dag@wieers.com> - 0.1.0-0
- Initial package. (using DAR)