]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
- rebuild without libjpeg.la
[packages/Xlt.git] / Xlt.spec
1 Summary:        The LessTif/Motif extension library
2 Summary(pl.UTF-8):      Biblioteka rozszerzeń do LessTifa/Motifa
3 Name:           Xlt
4 Version:        13.0.13
5 Release:        2
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
9 # Source0-md5:  46b6259c7637d6e9b87520eb91b6ea51
10 Patch0:         %{name}-format.patch
11 URL:            http://xlt.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  motif-devel >= 1.2
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The LessTif/Motif extension library. This consists of several widgets
20 and convience functions to make LessTif, or if you must Motif,
21 programming more enjoyable.
22
23 %description -l pl.UTF-8
24 Biblioteka rozszerzeń do LessTifa/Motifa. Zawiera trochę widgetów i
25 funkcji żeby nieco uprzyjemnić programowanie z użyciem LessTifa czy
26 Motifa.
27
28 %package devel
29 Summary:        Xlt header files and development documentation
30 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja Xlt
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       motif-devel >= 1.2
34
35 %description devel
36 Xlt header files and development documentation.
37
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe i dokumentacja programisty do Xlt.
40
41 %package static
42 Summary:        Xlt static library
43 Summary(pl.UTF-8):      Biblioteka statyczna Xlt
44 Group:          X11/Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Xlt static library.
49
50 %description static -l pl.UTF-8
51 Biblioteka statyczna Xlt.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 touch MaintainerMode.am
58
59 %build
60 %{__libtoolize}
61 %{__aclocal} -I .
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --enable-static
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_aclocaldir}
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT \
76         mandir=%{_mandir}
77
78 # packaged as %doc in -devel
79 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/Xlt
80 # packaged in motif
81 %{__rm} $RPM_BUILD_ROOT%{_aclocaldir}/ac_find_motif.m4
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_libdir}/libXlt.so.*.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libXlt.so.0
94
95 %files devel
96 %defattr(644,root,root,755)
97 %doc doc/*.{html,gif}
98 %attr(755,root,root) %{_libdir}/libXlt.so
99 %{_libdir}/libXlt.la
100 %{_includedir}/Xlt
101 %{_aclocaldir}/ac_find_xlt.m4
102 %{_aclocaldir}/ac_find_xpm.m4
103 %{_mandir}/man3/StrokeInstall.3*
104 %{_mandir}/man3/Strokes.3*
105 %{_mandir}/man3/Xlt*.3*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/libXlt.a
This page took 0.050243 seconds and 3 git commands to generate.