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