]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
879253f13b2f7515c239bb6205707585974e95f8
[packages/Xlt.git] / Xlt.spec
1 Summary:        The LessTif/Motif extension library
2 Summary(pl):    Biblioteka rozszerzeñ do LessTifa/Motifa
3 Name:           Xlt
4 Version:        9.2.9
5 Release:        1
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
9 # Source0-md5:  5159ced8318597b9a303c3453bbe1658
10 Patch0:         %{name}-am18.patch
11 URL:            http://xlt.sf.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  motif-devel >= 1.2
15 BuildRequires:  libtool
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
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):    Pliki nag³ówkowe i dokumentacja Xlt
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}
33 Requires:       motif-devel >= 1.2
34
35 %description devel
36 Xlt header files and development documentation.
37
38 %description devel -l pl
39 Pliki nag³ówkowe i dokumentacja programisty do Xlt.
40
41 %package static
42 Summary:        Xlt static library
43 Summary(pl):    Biblioteka statyczna Xlt
44 Group:          X11/Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 Xlt static library.
49
50 %description static -l pl
51 Biblioteka statyczna Xlt.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 %build
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %{__automake}
62 %configure \
63         --enable-shared \
64         --enable-static
65
66 %{__make} \
67         X_EXTRA_LIBS="-lXm"
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_aclocaldir}
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         mandir=%{_mandir}
76
77 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
78 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog README
89 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc doc/*.{html,gif}
94 %attr(755,root,root) %{_libdir}/libXlt.so
95 %{_libdir}/libXlt.la
96 %{_includedir}/Xlt
97 %{_aclocaldir}/ac_find_xlt.m4
98 %{_aclocaldir}/ac_find_xpm.m4
99 %{_mandir}/man3/*
100
101 %files static
102 %defattr(644,root,root,755)
103 %attr(644,root,root) %{_libdir}/libXlt.a
This page took 0.051557 seconds and 3 git commands to generate.