]> git.pld-linux.org Git - packages/XmHTML.git/blame_incremental - XmHTML.spec
- new URLs, updated to 1.1.10
[packages/XmHTML.git] / XmHTML.spec
... / ...
CommitLineData
1# Note: upstream automake stuff is outdated, imake stuff outdated even more,
2# plain Makefiles not outdated but messy.
3# Use automake with some patches.
4#
5# Conditional build:
6%bcond_without xft # Xft support
7
8Summary: Motif HTML widget
9Summary(pl.UTF-8): Widget do HTML-a oparty o Motif
10Name: XmHTML
11Version: 1.1.10
12Release: 1
13License: LGPL v2+
14Group: X11/Libraries
15Source0: http://downloads.sourceforge.net/xmhtml/%{name}-%{version}.tgz
16# Source0-md5: fd339d59d020da2ccf6e92bf65b810e2
17Patch0: %{name}-am.patch
18Patch1: %{name}-build.patch
19Patch2: %{name}-xft.patch
20URL: https://sourceforge.net/projects/xmhtml/
21BuildRequires: autoconf
22BuildRequires: automake
23BuildRequires: libjpeg-devel
24BuildRequires: libpng-devel
25BuildRequires: libtool
26BuildRequires: motif-devel >= 1.2
27%{?with_xft:BuildRequires: xorg-lib-libXft-devel}
28BuildRequires: xorg-lib-libXmu-devel
29BuildRequires: xorg-lib-libXpm-devel
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33XmHTML provides a widget capable of displaying HTML 3.2 conforming
34text.
35
36%description -l pl.UTF-8
37XmHTML zawiera widget wyświetlający HTML w wersji 3.2.
38
39%package devel
40Summary: Development package of XmHTML
41Summary(pl.UTF-8): Pliki nagłówkowe XmHTML
42Group: X11/Development/Libraries
43Requires: %{name} = %{version}-%{release}
44Requires: libjpeg-devel
45Requires: libpng-devel
46Requires: motif-devel >= 1.2
47%{?with_xft:Requires: xorg-lib-libXft-devel}
48
49%description devel
50Headers needed to compile XmHTML programs.
51
52%description devel -l pl.UTF-8
53Pliki nagłówkowe potrzebne do kompilowania programów korzystających z
54XmHTML.
55
56%package static
57Summary: Static version of XmHTML library
58Summary(pl.UTF-8): Statyczna biblioteka XmHTML
59Group: X11/Development/Libraries
60Requires: %{name}-devel = %{version}-%{release}
61
62%description static
63Static version of XmHTML library.
64
65%description static -l pl.UTF-8
66Statyczna wersja biblioteki XmHTML.
67
68%prep
69%setup -q
70%patch0 -p1
71%patch1 -p1
72%patch2 -p1
73
74%build
75%{__libtoolize}
76%{__aclocal}
77%{__autoconf}
78%{__automake}
79%{!?debug:CPPFLAGS="%{rpmcppflags} -DNDEBUG -Dproduction"}
80%configure \
81 %{?with_xft:--with-xft}
82
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
87
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
91%{__rm} html/man/man.{map,tmpl}
92
93%clean
94rm -rf $RPM_BUILD_ROOT
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(644,root,root,755)
101%doc APPS BUG-REPORTING CHANGES Changelog.txt DEBUGGING FEEDBACK FIXES LICENSE README THANKS TODO docs/{QUOTES,README.*,REASONS,progressive.txt}
102%attr(755,root,root) %{_libdir}/libXmHTML.so.*.*.*
103%attr(755,root,root) %ghost %{_libdir}/libXmHTML.so.0
104
105%files devel
106%defattr(644,root,root,755)
107%doc html/*
108%attr(755,root,root) %{_libdir}/libXmHTML.so
109%{_libdir}/libXmHTML.la
110%{_includedir}/XmHTML
111
112%files static
113%defattr(644,root,root,755)
114%{_libdir}/libXmHTML.a
This page took 0.074728 seconds and 4 git commands to generate.