]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
- updated URLs, updated package to 9.2.9, added am18 patch
[packages/Xlt.git] / Xlt.spec
1 Summary:        The LessTif extension library
2 Summary(pl):    Biblioteka rozszerzeñ do LessTifa
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:  lesstif-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The LessTif extension library. This consists of several widgets and
20 convience functions to make LessTif, or if you must Motif, programming
21 more enjoyable.
22
23 %description -l pl
24 Biblioteka rozszerzeñ do LessTifa. Zawiera trochê widgetów i funkcji
25 ¿eby nieco uprzyjemniæ programowanie z u¿yciem LessTifa czy Motifa.
26
27 %package devel
28 Summary:        Xlt header files and development documentation
29 Summary(pl):    Pliki nag³ówkowe i dokumentacja Xlt
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 Xlt header files and development documentation.
35
36 %description devel -l pl
37 Pliki nag³ówkowe i dokumentacja programisty do Xlt.
38
39 %package static
40 Summary:        Xlt static library
41 Summary(pl):    Biblioteka statyczna Xlt
42 Group:          X11/Development/Libraries
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 Xlt static library.
47
48 %description static -l pl
49 Biblioteka statyczna Xlt.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 %build
56 %{__libtoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__automake}
60 %configure \
61         --enable-shared \
62         --enable-static
63
64 %{__make} \
65         X_EXTRA_LIBS="-lXm"
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_aclocaldir}
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         mandir=%{_mandir}
74
75 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
76 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog README
87 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc doc/*.{html,gif}
92 %attr(755,root,root) %{_libdir}/libXlt.so
93 %{_libdir}/libXlt.la
94 %{_includedir}/Xlt
95 %{_aclocaldir}/ac_find_xlt.m4
96 %{_aclocaldir}/ac_find_xpm.m4
97 %{_mandir}/man3/*
98
99 %files static
100 %defattr(644,root,root,755)
101 %attr(644,root,root) %{_libdir}/libXlt.a
This page took 0.59892 seconds and 4 git commands to generate.