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