]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
8bd3691c9f254c4b13dfd7ebbd4115b34a8d5c22
[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
34 %description devel
35 Xlt header files and development documentation.
36
37 %description devel -l pl
38 Pliki nag³ówkowe i dokumentacja programisty do Xlt.
39
40 %package static
41 Summary:        Xlt static library
42 Summary(pl):    Biblioteka statyczna Xlt
43 Group:          X11/Development/Libraries
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Xlt static library.
48
49 %description static -l pl
50 Biblioteka statyczna Xlt.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure \
62         --enable-shared \
63         --enable-static
64
65 %{__make} \
66         X_EXTRA_LIBS="-lXm"
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT%{_aclocaldir}
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT \
74         mandir=%{_mandir}
75
76 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
77 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README
88 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
89
90 %files devel
91 %defattr(644,root,root,755)
92 %doc doc/*.{html,gif}
93 %attr(755,root,root) %{_libdir}/libXlt.so
94 %{_libdir}/libXlt.la
95 %{_includedir}/Xlt
96 %{_aclocaldir}/ac_find_xlt.m4
97 %{_aclocaldir}/ac_find_xpm.m4
98 %{_mandir}/man3/*
99
100 %files static
101 %defattr(644,root,root,755)
102 %attr(644,root,root) %{_libdir}/libXlt.a
This page took 0.064564 seconds and 3 git commands to generate.