]> git.pld-linux.org Git - packages/yelp.git/blame - yelp.spec
- updated to 2.28.0
[packages/yelp.git] / yelp.spec
CommitLineData
76dacf75 1Summary: A system documentation reader from the GNOME project
3330c3e5 2Summary(pl.UTF-8): Czytnik dokumentacji z projektu GNOME
b624bdba 3Name: yelp
d4c820ff 4Version: 2.28.0
5Release: 1
2f8b9adc 6License: GPL v2
b624bdba 7Group: X11/Applications
d4c820ff 8Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.28/%{name}-%{version}.tar.bz2
9# Source0-md5: 4e68e796927198e644a57d455c16c389
aee6e367 10Patch0: %{name}-libxul.patch
2f8b9adc 11URL: http://live.gnome.org/Yelp
e7b16630 12BuildRequires: GConf2-devel >= 2.26.0
708cfbb0 13BuildRequires: autoconf
2f8b9adc 14BuildRequires: automake >= 1:1.9
708cfbb0 15BuildRequires: bzip2-devel
2f8b9adc
PZ
16BuildRequires: dbus-glib-devel >= 0.74
17BuildRequires: gettext-devel
e7b16630 18BuildRequires: gnome-common >= 2.24.0
d4c820ff 19BuildRequires: gnome-doc-utils >= 0.17.2
e7b16630 20BuildRequires: gtk+2-devel >= 2:2.16.0
2f8b9adc 21BuildRequires: intltool >= 0.37.0
395ebb4c 22BuildRequires: libbeagle-devel >= 0.3.0
62253846 23BuildRequires: libglade2-devel >= 1:2.6.2
e7b16630 24BuildRequires: libgnomeui-devel >= 2.24.0
62383471 25BuildRequires: libtool
2f8b9adc 26BuildRequires: libxml2-devel >= 1:2.6.31
62253846 27BuildRequires: libxslt-devel >= 1.1.22
94294d0d 28BuildRequires: pkgconfig >= 1:0.15.0
2f8b9adc 29BuildRequires: rarian-devel >= 0.7.0
ab26d82c 30BuildRequires: rpmbuild(macros) >= 1.311
2f8b9adc 31BuildRequires: startup-notification-devel >= 0.8
41ed3a7d 32BuildRequires: xulrunner-devel >= 1.9-5
a7dc9ceb 33BuildRequires: zlib-devel
bc7c417c 34Requires(post,postun): gtk+2
99ebaa82 35Requires(post,postun): hicolor-icon-theme
2f8b9adc 36Requires(post,preun): GConf2
eb7456ff 37Requires: docbook-style-xsl >= 1.55.0
d4c820ff 38Requires: gnome-doc-utils >= 0.17.2
e7b16630 39Requires: libgnomeui >= 2.24.0
0d29a63a 40Requires: scrollkeeper
f231837f 41%requires_eq_to xulrunner xulrunner-devel
c4285385
MB
42# sr@Latn vs. sr@latin
43Conflicts: glibc-misc < 6:2.7
b624bdba 44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
a7dc9ceb 46# can be provided by mozilla or mozilla-embedded
2d1261f0 47%define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
4dbe8451
MB
48# we have strict deps for it
49%define _noautoreq libxpcom.so
a7dc9ceb 50
79f3a103 51%description
2fdcd29e 52Yelp is the GNOME help/documentation browser. It is designed to help
b624bdba 53you browse all the documentation on your system in one central tool.
79f3a103 54
234614fa
JR
55%description -l pl.UTF-8
56Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
57przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
58narzędzia.
2a50b763 59
79f3a103 60%prep
ccb9f7bf 61%setup -q
c274dea6 62%patch0 -p1
e48cadd2 63
c4285385 64# fix locale names
bfb5278a
PZ
65# drop la locale
66sed -i -e s#^la## po/LINGUAS
67rm -f po/la.po
c4285385 68
79f3a103 69%build
2f8b9adc 70%{__intltoolize}
badb51e0 71%{__libtoolize}
ac42d540 72%{__aclocal} -I m4
c274dea6 73%{__autoconf}
2f8b9adc 74%{__autoheader}
c274dea6 75%{__automake}
79f3a103 76%configure
a53685ba 77%{__make} -j1 \
78 CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
79f3a103 79
80%install
81rm -rf $RPM_BUILD_ROOT
b624bdba 82
a3ef75ef 83%{__make} install \
62383471 84 DESTDIR=$RPM_BUILD_ROOT
79f3a103 85
2f8b9adc 86%find_lang %{name}
79f3a103 87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
a7dc9ceb 91%post
92%gconf_schema_install yelp.schemas
ab26d82c 93%update_icon_cache hicolor
a7dc9ceb 94
95%preun
96%gconf_schema_uninstall yelp.schemas
97
5fcb1653 98%postun
ab26d82c 99%update_icon_cache hicolor
5fcb1653 100
79f3a103 101%files -f %{name}.lang
b624bdba 102%defattr(644,root,root,755)
c274dea6 103%doc README ChangeLog NEWS TODO AUTHORS
2f8b9adc
PZ
104%attr(755,root,root) %{_bindir}/gnome-help
105%attr(755,root,root) %{_bindir}/yelp
106%{_datadir}/yelp
107%{_desktopdir}/yelp.desktop
5fcb1653 108%{_iconsdir}/hicolor/*/*/yelp-icon-big.png
a7dc9ceb 109%{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.055221 seconds and 4 git commands to generate.