]> git.pld-linux.org Git - packages/libast.git/blob - libast.spec
- release 2
[packages/libast.git] / libast.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Library of Assorted Spiffy Things
6 Summary(pl.UTF-8):      Biblioteka AST (Assorted Spiffy Things)
7 Name:           libast
8 Version:        0.7
9 Release:        2
10 License:        BSD
11 Group:          Libraries
12 Source0:        http://www.eterm.org/download/%{name}-%{version}.tar.gz
13 # Source0-md5:  a9ec3b2da317f35869316e6d9571d296
14 URL:            http://www.eterm.org/
15 BuildRequires:  automake
16 BuildRequires:  imlib2-devel
17 BuildRequires:  pcre-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 LibAST is the Library of Assorted Spiffy Things. It contains various
22 handy routines and drop-in substitutes for some good-but-non-portable
23 functions. It currently has a built-in memory tracking subsystem as
24 well as some debugging aids and other similar tools.
25
26 %description -l pl.UTF-8
27 LibAST to biblioteka Assorted Spiffy Things. Zawiera różne podręczne
28 procedury i zastępniki niektórych dobrych, ale nie przenośnych
29 funkcji. Aktualnie ma wbudowany system śledzenia pamięci, trochę
30 pomocy odpluskwiających i parę podobnych narzędzi.
31
32 %package devel
33 Summary:        Library of Assorted Spiffy Things header files
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki AST
35 Group:          X11/Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       imlib2-devel
38 Requires:       pcre-devel
39
40 %description devel
41 Header files and development documentation for libast.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe i dokumentacja programisty do libast.
45
46 %package static
47 Summary:        Libast static libraries
48 Summary(pl.UTF-8):      Biblioteki statyczne libast
49 Group:          X11/Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Libast static libraries.
54
55 %description static -l pl.UTF-8
56 Biblioteki statyczne libast.
57
58 %prep
59 %setup -q
60
61 %build
62 cp -f /usr/share/automake/config.sub .
63 %configure \
64         %{!?with_static_libs:--disable-static}
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc ChangeLog README
82 %attr(755,root,root) %{_libdir}/libast.so.*.*.*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %doc DESIGN
87 %attr(755,root,root) %{_bindir}/libast-config
88 %attr(755,root,root) %{_libdir}/libast.so
89 %{_libdir}/libast.la
90 %{_includedir}/libast*
91 %{_aclocaldir}/libast.m4
92
93 %if %{with static_libs}
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/libast.a
97 %endif
This page took 0.252487 seconds and 4 git commands to generate.