]> git.pld-linux.org Git - packages/epiphany.git/blob - epiphany.spec
- version 0.8.0
[packages/epiphany.git] / epiphany.spec
1
2 %define         minmozver       1.4
3
4 Summary:        Epiphany - gecko-based GNOME web browser
5 Summary(pl):    Epiphany - przegl±darka WWW dla GNOME
6 Name:           epiphany
7 Version:        0.8.0
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Networking
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
12 # Source0-md5:  b75c4d7eae8c08eb7d817138e5867b73
13 Patch0:         %{name}-MOZILLA_FIVE_HOME.patch
14 URL:            http://epiphany.mozdev.org/
15 BuildRequires:  GConf2-devel
16 BuildRequires:  ORBit2-devel >= 2.7.3
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libbonobo-devel >= 2.3.5
20 BuildRequires:  gnome-vfs2-devel
21 BuildRequires:  gtk+2-devel >= 2.0.6
22 BuildRequires:  intltool
23 BuildRequires:  libglade2-devel
24 BuildRequires:  libgnomeui-devel
25 BuildRequires:  libxml2-devel
26 BuildRequires:  mozilla-embedded-devel >= %{minmozver}
27 BuildRequires:  nautilus-devel >= 2.0.0
28 BuildRequires:  scrollkeeper
29 BuildRequires:  rpm-build >= 4.1-10
30 Requires(post): GConf2
31 Requires(post): scrollkeeper
32 Requires:       mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 # can be provided by mozilla or mozilla-embedded
36 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
37
38 %description
39 Gnome browser based on Gecko (Mozilla rendering engine).
40
41 %description -l pl
42 Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
43 interpretacji stron Mozilli).
44
45 %package devel
46 Summary:        Epiphany header files
47 Summary(pl):    Pliki nag³ówkowe Epiphany
48 Group:          X11/Applications/Networking
49 Requires:       %{name} = %{version}
50
51 %description devel
52 Epiphany header files for plugin development.
53
54 %description devel -l pl
55 Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
56
57
58 %prep
59 %setup -q
60 %patch0 -p1
61
62 %build
63 rm -f acconfig.h
64 glib-gettextize --copy --force
65 intltoolize --copy --force
66 %{__libtoolize}
67 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
68 %{__autoheader}
69 %{__automake}
70 %{__autoconf}
71
72 # rebuild for new ORBit2
73 cd idl
74 orbit-idl-2 -I/usr/share/idl -I/usr/share/idl/bonobo-2.0 \
75         -I/usr/share/idl/bonobo-activation-2.0 EphyAutomation.idl
76 mv -f *.h *.c ../src
77 cd ..
78
79 %configure \
80         --disable-schemas-install \
81         --enable-nautilus-view=yes \
82         --with-mozilla-snapshot=1.4
83
84 # CFLAGS is a hack for gcc 3.3
85 %{__make} CFLAGS="%{rpmcflags} -fno-strict-aliasing"
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 # epiphany-2.0.mo, but gnome/help/epiphany
94 %find_lang %{name}-2.0 --with-gnome --all-name
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post
100 %gconf_schema_install
101 /usr/bin/scrollkeeper-update
102
103 %files -f %{name}-2.0.lang
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README
106 %attr(755,root,root) %{_bindir}/*
107 %{_libdir}/bonobo/servers/*
108 %{_datadir}/%{name}
109 %{_desktopdir}/*
110 %{_datadir}/application-registry/*
111 %{_pixmapsdir}/*
112 %{_sysconfdir}/gconf/schemas/*
113 %{_omf_dest_dir}/*
114
115 %files devel
116 %defattr(644,root,root,755)
117 %{_includedir}/epiphany-1.0
This page took 0.058623 seconds and 4 git commands to generate.