]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- 2.15.4, updated deps, --as-needed support
[packages/yelp.git] / yelp.spec
1 Summary:        A system documentation reader from the GNOME project
2 Summary(pl):    Czytnik dokumentacji z projektu GNOME
3 Name:           yelp
4 Version:        2.15.4
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/yelp/2.15/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ea76093b608c1eed90ff477d0aca049d
10 Patch0:         %{name}-desktop.patch
11 Patch2:         %{name}-bs.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.14.0
14 BuildRequires:  ORBit2-devel >= 1:2.14.0
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  beagle-devel >= 0.2.7
18 BuildRequires:  bzip2-devel
19 BuildRequires:  dbus-glib-devel >= 0.62
20 BuildRequires:  gnome-common >= 2.12.0
21 BuildRequires:  gnome-doc-utils >= 0.7.1
22 BuildRequires:  gnome-vfs2-devel >= 2.15.3
23 BuildRequires:  libglade2-devel >= 1:2.6.0
24 BuildRequires:  libgnomeui-devel >= 2.15.2
25 BuildRequires:  libtool
26 BuildRequires:  libxml2-devel >= 1:2.6.26
27 BuildRequires:  libxslt-devel >= 1.1.17
28 BuildRequires:  mozilla-firefox-devel
29 BuildRequires:  pkgconfig >= 1:0.15.0
30 BuildRequires:  popt-devel
31 BuildRequires:  rpmbuild(macros) >= 1.197
32 BuildRequires:  zlib-devel
33 Requires(post,preun):   GConf2 >= 2.14.0
34 Requires(post,postun):  gtk+2 >= 2:2.9.2
35 Requires:       docbook-style-xsl >= 1.55.0
36 Requires:       gnome-doc-utils >= 0.7.1
37 Requires:       gnome-vfs2 >= 2.15.3
38 Requires:       libgnomeui >= 2.15.2
39 Requires:       scrollkeeper
40 %requires_eq    mozilla-firefox
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 # can be provided by mozilla or mozilla-embedded
44 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
45
46 %description
47 Yelp is the GNOME help/documentation browser. It is designed to help
48 you browse all the documentation on your system in one central tool.
49
50 %description -l pl
51 Yelp jest przegl±dark± pomocy i dokumentacji GNOME. Umo¿liwia
52 przegl±danie ca³ej dokumentacji systemu za pomoc± jednego, centralnego
53 narzêdzia.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch2 -p1
59
60 %build
61 %{__libtoolize}
62 %{__aclocal} -I m4
63 %{__autoconf}
64 %{__automake}
65 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
66 %configure
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
76
77 %find_lang %{name} --with-gnome --all-name
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 %gconf_schema_install yelp.schemas
84 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
85
86 %preun
87 %gconf_schema_uninstall yelp.schemas
88
89 %postun
90 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
91
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc README ChangeLog NEWS TODO AUTHORS
95 %attr(755,root,root) %{_bindir}/*
96 %{_datadir}/%{name}
97 %{_desktopdir}/*
98 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
99 %{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.061012 seconds and 4 git commands to generate.