1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
Summary: Library of Assorted Spiffy Things
Summary(pl): Biblioteka AST (Assorted Spiffy Things)
Name: libast
version: 0.5
Release: 1
License: BSD
Group: Libraries
Source0: http://www.eterm.org/download/%{name}-%{version}.tar.gz
URL: http://www.eterm.org/
BuildRequires: XFree86-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: freetype1-devel
BuildRequires: glibc-devel
BuildRequires: imlib2-devel
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
LibAST is the Library of Assorted Spiffy Things. It contains various
handy routines and drop-in substitutes for some good-but-non-portable
functions. It currently has a built-in memory tracking subsystem as
well as some debugging aids and other similar tools.
%description -l pl
LibAST to biblioteka Assorted Spiffy Things. Zawiera różne podręczne
procedury i zastępniki niektórych dobrych, ale nie przenośnych
funkcji. Aktualnie ma wbudowany system śledzenia pamięci, trochę
pomocy odpluskwiających i parę podobnych narzędzi.
%package devel
Summary: Library of Assorted Spiffy Things header files
Summary(pl): Pliki nagłówkowe biblioteki AST
Group: X11/Development/Libraries
Requires: %{name} = %{version}
%description devel
Header files and development documentation for libast.
%description devel -l pl
Pliki nagłówkowe i dokumentacja programisty do libast.
%package static
Summary: Libast static libraries
Summary(pl): Biblioteki statyczne libast
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}
%description static
Libast static libraries.
%description devel -l pl
Biblioteki statyczne libast.
%prep
%setup -q
%build
#%%{__autoconf}
%configure2_13
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%files devel
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/%{name}-config
%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/*
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
|