]> git.pld-linux.org Git - packages/devhelp.git/blame - devhelp.spec
- rebuild to fix broken filedigests
[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
02481bd8 4Version: 3.6.0
d4ef35d3 5Release: 2
0328db91 6License: GPL v2+
20782b1d 7Group: X11/Applications
02481bd8
ŁK
8Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/3.6/%{name}-%{version}.tar.xz
9# Source0-md5: 8076f10f493be38cef55e770db2579c5
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
02481bd8 16BuildRequires: glib2-devel >= 1:2.32.0
647c8443 17BuildRequires: gnome-common >= 2.24.0
02481bd8 18BuildRequires: gtk+3-devel >= 3.4.0
f58c5523 19BuildRequires: gtk-webkit3-devel >= 1.6.0
647c8443 20BuildRequires: intltool >= 0.40.0
f58c5523 21BuildRequires: libtool >= 2:2.2
0328db91 22BuildRequires: pkgconfig
2153a520 23BuildRequires: python >= 2.3
0192a9ae 24BuildRequires: rpm-pythonprov
18f8e10b 25BuildRequires: rpmbuild(macros) >= 1.311
edc65cdd
MB
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
9a1ccdd3 28BuildRequires: zlib-devel
2153a520 29Requires(post,preun): GConf2 >= 2.24.0
16f64fd4 30Requires(post,postun): gtk-update-icon-cache
64a66d5b 31Requires: %{name}-libs = %{version}-%{release}
f58c5523 32Requires: gtk-webkit3 >= 1.6.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}
02481bd8
ŁK
60Requires: glib2-devel >= 1:2.32.0
61Requires: gtk+3-devel >= 3.4.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
2153a520
MB
87Requires: libpeas-loader-python
88Requires: python-pygobject >= 2.27.91
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
20782b1d
AM
100
101%build
647c8443 102%{__intltoolize}
0574367f 103%{__libtoolize}
647c8443 104%{__aclocal}
0574367f 105%{__autoconf}
106%{__autoheader}
107%{__automake}
b42350d2 108%configure \
90adff81 109 --enable-static \
8bacc6fc
MB
110 --disable-schemas-install \
111 --disable-silent-rules
20782b1d
AM
112%{__make}
113
114%install
115rm -rf $RPM_BUILD_ROOT
35ab6b2c 116install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf \
621cc9d4 117 $RPM_BUILD_ROOT%{_datadir}/%{name}/{books,specs}
20782b1d
AM
118
119%{__make} install \
944db8de 120 DESTDIR=$RPM_BUILD_ROOT
20782b1d 121
2153a520
MB
122%{__rm} $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/*.py \
123 $RPM_BUILD_ROOT%{_libdir}/*.la
2dc813cf 124
20782b1d
AM
125%find_lang %{name}
126
127%clean
128rm -rf $RPM_BUILD_ROOT
129
a5373a6b 130%post
2dc813cf 131%gconf_schema_install devhelp.schemas
18f8e10b 132%update_icon_cache hicolor
a5373a6b 133
2dc813cf 134%preun
135%gconf_schema_uninstall devhelp.schemas
a5373a6b 136
18f8e10b 137%postun
138%update_icon_cache hicolor
139
2f4b9d55 140%post libs -p /sbin/ldconfig
141%postun libs -p /sbin/ldconfig
1609a537 142
20782b1d
AM
143%files -f %{name}.lang
144%defattr(644,root,root,755)
edc65cdd 145%doc AUTHORS NEWS README TODO
f883acb4 146%attr(755,root,root) %{_bindir}/devhelp
9a1ccdd3 147%{_datadir}/%{name}
f883acb4
MB
148%{_desktopdir}/devhelp.desktop
149%{_iconsdir}/hicolor/*/apps/*.png
18f8e10b 150%{_sysconfdir}/gconf/schemas/devhelp.schemas
1609a537 151
64a66d5b 152%files libs
153%defattr(644,root,root,755)
2153a520 154%attr(755,root,root) %{_libdir}/libdevhelp-3.so.*.*.*
02481bd8 155%attr(755,root,root) %ghost %{_libdir}/libdevhelp-3.so.1
64a66d5b 156
1609a537 157%files devel
158%defattr(644,root,root,755)
2153a520
MB
159%attr(755,root,root) %{_libdir}/libdevhelp-3.so
160%{_pkgconfigdir}/libdevhelp-3.0.pc
161%{_includedir}/devhelp-3.0
1609a537 162
163%files static
164%defattr(644,root,root,755)
2153a520 165%{_libdir}/libdevhelp-3.a
e7c0fa80 166
c1597d56 167%files -n gedit-plugin-devhelp
e7c0fa80 168%defattr(644,root,root,755)
2153a520
MB
169%{_libdir}/gedit/plugins/devhelp.plugin
170%{_libdir}/gedit/plugins/devhelp.py[co]
This page took 0.101035 seconds and 4 git commands to generate.