]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- updated to 3.2.0; merged changes from DEVEL
[packages/yelp.git] / yelp.spec
1 Summary:        A system documentation reader from the GNOME project
2 Summary(pl.UTF-8):      Czytnik dokumentacji z projektu GNOME
3 Name:           yelp
4 Version:        3.2.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/yelp/3.2/%{name}-%{version}.tar.xz
9 # Source0-md5:  d57df40eb0a90bdbed1f996c158014cf
10 URL:            http://projects.gnome.org/yelp/
11 BuildRequires:  autoconf >= 2.63
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  bzip2-devel
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.28.0
16 BuildRequires:  gnome-common >= 2.24.0
17 BuildRequires:  gnome-doc-utils >= 0.20.0
18 BuildRequires:  gtk+3-devel >= 3.0.0
19 BuildRequires:  gtk-doc >= 1.13
20 BuildRequires:  gtk-webkit3-devel >= 1.3.2
21 BuildRequires:  intltool >= 0.41.0
22 BuildRequires:  libtool >= 2:2.2.6
23 BuildRequires:  libxml2-devel >= 1:2.6.31
24 BuildRequires:  libxslt-devel >= 1.1.22
25 BuildRequires:  lzma-devel >= 4.9
26 BuildRequires:  pkgconfig >= 1:0.15.0
27 BuildRequires:  rpmbuild(macros) >= 1.601
28 BuildRequires:  sqlite3-devel
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 BuildRequires:  yelp-xsl >= 3.2.0
32 Requires(post,postun):  desktop-file-utils
33 Requires(post,postun):  glib2 >= 1:2.26.0
34 Requires:       %{name}-libs = %{version}-%{release}
35 Requires:       docbook-dtd412-xml
36 Requires:       docbook-dtd42-xml
37 Requires:       docbook-dtd43-xml
38 Requires:       docbook-dtd44-xml
39 Requires:       docbook-style-xsl >= 1.55.0
40 Requires:       gnome-doc-utils >= 0.20.0
41 Requires:       gnome-icon-theme-symbolic
42 Requires:       yelp-xsl >= 3.2.0
43 # sr@Latn vs. sr@latin
44 Conflicts:      glibc-misc < 6:2.7
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 Yelp is the default help browser for the GNOME desktop. Yelp provides
49 a simple graphical interface for viewing DocBook, HTML, man, and info
50 formatted documentation.
51
52 %description -l pl.UTF-8
53 Yelp jest domyślną przeglądarką pomocy dla biurka GNOME. Dostarcza
54 prosty graficzny interfejs do oglądania dokumentacji w formatach
55 DocBook, HTML, man i info.
56
57 %package libs
58 Summary:        yelp library
59 Summary(pl.UTF-8):      Biblioteka yelp
60 Group:          Libraries
61
62 %description libs
63 yelp library.
64
65 %description libs -l pl.UTF-8
66 Biblioteka yelp.
67
68 %package devel
69 Summary:        Header files for yelp library
70 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki yelp
71 Group:          Development/Libraries
72 Requires:       %{name}-libs = %{version}-%{release}
73 Requires:       glib2-devel >= 1:2.28.0
74 Requires:       gtk+3-devel >= 3.0.0
75 Requires:       gtk-webkit3-devel >= 1.3.2
76 Requires:       libxml2-devel >= 1:2.6.31
77 Requires:       libxslt-devel >= 1.1.22
78
79 %description devel
80 Header files for yelp library.
81
82 %description devel -l pl.UTF-8
83 Pliki nagłówkowe biblioteki yelp.
84
85 %package apidocs
86 Summary:        yelp library API documentation
87 Summary(pl.UTF-8):      Dokumentacja API biblioteki yelp
88 Group:          Documentation
89 Requires:       gtk-doc-common
90
91 %description apidocs
92 yelp library API documentation.
93
94 %description apidocs -l pl.UTF-8
95 Dokumentacja API biblioteki yelp.
96
97 %prep
98 %setup -q
99
100 %build
101 %{__intltoolize}
102 %{__libtoolize}
103 %{__aclocal} -I m4
104 %{__autoconf}
105 %{__autoheader}
106 %{__automake}
107 %configure \
108         --disable-silent-rules \
109         --disable-schemas-compile \
110         --disable-static \
111         --disable-gtk-doc \
112         --with-html-dir=%{_gtkdocdir}
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117
118 %{__make} install \
119         DESTDIR=$RPM_BUILD_ROOT
120
121 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
122
123 %find_lang %{name}
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %post
129 %update_desktop_database_post
130 %glib_compile_schemas
131
132 %postun
133 %update_desktop_database_postun
134 %glib_compile_schemas
135
136 %post libs -p /sbin/ldconfig
137 %postun libs -p /sbin/ldconfig
138
139 %files -f %{name}.lang
140 %defattr(644,root,root,755)
141 %doc README ChangeLog NEWS TODO AUTHORS
142 %attr(755,root,root) %{_bindir}/gnome-help
143 %attr(755,root,root) %{_bindir}/yelp
144 %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml
145 %{_datadir}/yelp
146 %{_desktopdir}/yelp.desktop
147
148 %files libs
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/libyelp.so.*.*.*
151 %attr(755,root,root) %ghost %{_libdir}/libyelp.so.0
152
153 %files devel
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libyelp.so
156 %{_includedir}/libyelp
157
158 %files apidocs
159 %defattr(644,root,root,755)
160 %{_gtkdocdir}/libyelp
This page took 0.079998 seconds and 4 git commands to generate.