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