]> git.pld-linux.org Git - packages/devhelp.git/blame - devhelp.spec
- updated to 3.4.1
[packages/devhelp.git] / devhelp.spec
CommitLineData
18f8e10b 1Summary: API documentation browser for GNOME
4188d237 2Summary(pl.UTF-8): Przeglądarka dokumentacji API dla GNOME
20782b1d 3Name: devhelp
6f5236a3 4Version: 3.4.1
2153a520 5Release: 1
0328db91 6License: GPL v2+
20782b1d 7Group: X11/Applications
f58c5523 8Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/3.4/%{name}-%{version}.tar.xz
6f5236a3 9# Source0-md5: d9428af3d308c1f97c2a2eebe6b451c0
40506027 10Patch0: %{name}-bookdir.patch
f6af5a2c 11URL: http://www.imendio.com/projects/devhelp/
647c8443 12BuildRequires: GConf2-devel >= 2.24.0
2153a520
MB
13BuildRequires: autoconf >= 2.64
14BuildRequires: automake >= 1:1.11
15BuildRequires: gettext-devel >= 0.17
647c8443 16BuildRequires: gnome-common >= 2.24.0
2153a520 17BuildRequires: gtk+3-devel >= 3.0.2
f58c5523 18BuildRequires: gtk-webkit3-devel >= 1.6.0
647c8443 19BuildRequires: intltool >= 0.40.0
f58c5523 20BuildRequires: libtool >= 2:2.2
0328db91 21BuildRequires: pkgconfig
2153a520 22BuildRequires: python >= 2.3
0192a9ae 23BuildRequires: rpm-pythonprov
18f8e10b 24BuildRequires: rpmbuild(macros) >= 1.311
edc65cdd
MB
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
9a1ccdd3 27BuildRequires: zlib-devel
2153a520 28Requires(post,preun): GConf2 >= 2.24.0
16f64fd4 29Requires(post,postun): gtk-update-icon-cache
64a66d5b 30Requires: %{name}-libs = %{version}-%{release}
f58c5523 31Requires: gtk-webkit3 >= 1.6.0
2153a520 32Requires: hicolor-icon-theme
ead4e980 33# sr@Latn vs. sr@latin
34Conflicts: glibc-misc < 6:2.7
20782b1d
AM
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
20782b1d 37%description
18f8e10b 38API documentation browser for GNOME.
20782b1d 39
d20ab5a4
JR
40%description -l pl.UTF-8
41Przeglądarka dokumentacji API dla GNOME.
20782b1d 42
64a66d5b 43%package libs
44Summary: Library to embed Devhelp in other applications
4188d237 45Summary(pl.UTF-8): Biblioteka do osadzania Devhelp w innych aplikacjach
f883acb4 46Group: X11/Libraries
64a66d5b 47
48%description libs
18f8e10b 49Library of Devhelp for embedding into other applications.
64a66d5b 50
d20ab5a4 51%description libs -l pl.UTF-8
18f8e10b 52Biblioteka Devhelp do osadzania w innych aplikacjach.
64a66d5b 53
1609a537 54%package devel
64a66d5b 55Summary: Headers for Devhelp library
4188d237 56Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Devhelp
f883acb4 57Group: X11/Development/Libraries
64a66d5b 58Requires: %{name}-libs = %{version}-%{release}
2153a520 59Requires: gtk+3-devel >= 3.0.2
1609a537 60
61%description devel
64a66d5b 62Headers for Devhelp library.
1609a537 63
d20ab5a4
JR
64%description devel -l pl.UTF-8
65Pliki nagłówkowe biblioteki Devhelp.
1609a537 66
67%package static
64a66d5b 68Summary: Static Devhelp library
4188d237 69Summary(pl.UTF-8): Statyczna biblioteka Devhelp
f883acb4 70Group: X11/Development/Libraries
64a66d5b 71Requires: %{name}-devel = %{version}-%{release}
1609a537 72
73%description static
64a66d5b 74Static version of Devhelp library.
1609a537 75
d20ab5a4 76%description static -l pl.UTF-8
64a66d5b 77Statyczna biblioteka Devhelp.
1609a537 78
e7c0fa80
MG
79%package -n gedit2-plugin-devhelp
80Summary: Devhelp plugin for Gedit editor
4188d237 81Summary(pl.UTF-8): Wtyczka devhelpa dla edytora Gedit
1cf29e7b 82Group: X11/Applications
249ab429 83Requires: %{name} = %{version}-%{release}
e7c0fa80 84Requires: gedit2
2153a520
MB
85Requires: libpeas-loader-python
86Requires: python-pygobject >= 2.27.91
e7c0fa80
MG
87
88%description -n gedit2-plugin-devhelp
d088438f 89Plugin that allows to browse API documentation in Gedit.
e7c0fa80 90
d20ab5a4 91%description -n gedit2-plugin-devhelp -l pl.UTF-8
d088438f 92Wtyczka umożliwiająca przeglądanie dokumentacji API w edytorze Gedit.
e7c0fa80 93
20782b1d
AM
94%prep
95%setup -q
c145ed5a 96%patch0 -p1
20782b1d
AM
97
98%build
647c8443 99%{__intltoolize}
0574367f 100%{__libtoolize}
647c8443 101%{__aclocal}
0574367f 102%{__autoconf}
103%{__autoheader}
104%{__automake}
b42350d2 105%configure \
90adff81 106 --enable-static \
8bacc6fc
MB
107 --disable-schemas-install \
108 --disable-silent-rules
20782b1d
AM
109%{__make}
110
111%install
112rm -rf $RPM_BUILD_ROOT
35ab6b2c 113install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \
621cc9d4 114 $RPM_BUILD_ROOT%{_datadir}/%{name}/{books,specs}
20782b1d
AM
115
116%{__make} install \
944db8de 117 DESTDIR=$RPM_BUILD_ROOT
20782b1d 118
2153a520
MB
119%{__rm} $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/*.py \
120 $RPM_BUILD_ROOT%{_libdir}/*.la
2dc813cf 121
20782b1d
AM
122%find_lang %{name}
123
124%clean
125rm -rf $RPM_BUILD_ROOT
126
a5373a6b 127%post
2dc813cf 128%gconf_schema_install devhelp.schemas
18f8e10b 129%update_icon_cache hicolor
a5373a6b 130
2dc813cf 131%preun
132%gconf_schema_uninstall devhelp.schemas
a5373a6b 133
18f8e10b 134%postun
135%update_icon_cache hicolor
136
2f4b9d55 137%post libs -p /sbin/ldconfig
138%postun libs -p /sbin/ldconfig
1609a537 139
20782b1d
AM
140%files -f %{name}.lang
141%defattr(644,root,root,755)
edc65cdd 142%doc AUTHORS NEWS README TODO
f883acb4 143%attr(755,root,root) %{_bindir}/devhelp
9a1ccdd3 144%{_datadir}/%{name}
f883acb4
MB
145%{_desktopdir}/devhelp.desktop
146%{_iconsdir}/hicolor/*/apps/*.png
18f8e10b 147%{_sysconfdir}/gconf/schemas/devhelp.schemas
1609a537 148
64a66d5b 149%files libs
150%defattr(644,root,root,755)
2153a520
MB
151%attr(755,root,root) %{_libdir}/libdevhelp-3.so.*.*.*
152%attr(755,root,root) %ghost %{_libdir}/libdevhelp-3.so.0
64a66d5b 153
1609a537 154%files devel
155%defattr(644,root,root,755)
2153a520
MB
156%attr(755,root,root) %{_libdir}/libdevhelp-3.so
157%{_pkgconfigdir}/libdevhelp-3.0.pc
158%{_includedir}/devhelp-3.0
1609a537 159
160%files static
161%defattr(644,root,root,755)
2153a520 162%{_libdir}/libdevhelp-3.a
e7c0fa80
MG
163
164%files -n gedit2-plugin-devhelp
165%defattr(644,root,root,755)
2153a520
MB
166%{_libdir}/gedit/plugins/devhelp.plugin
167%{_libdir}/gedit/plugins/devhelp.py[co]
This page took 0.087159 seconds and 4 git commands to generate.