]> git.pld-linux.org Git - packages/libast.git/blob - libast.spec
- changed req for main subpkg in static subpkg to devel
[packages/libast.git] / libast.spec
1 Summary:        Library of Assorted Spiffy Things
2 Name:           libast
3 Version:        0.3
4 Release:        2
5 License:        BSD
6 Group:          Libraries               
7 Source0:        http://www.eterm.org/download/%{name}-%{version}.tar.gz
8 URL:            http://www.eterm.org/
9 BuildRequires:  freetype1-devel
10 BuildRequires:  XFree86-devel
11 BuildRequires:  imlib2-devel
12 BuildRequires:  glibc-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 LibAST is the Library of Assorted Spiffy Things. It contains various
17 handy routines and drop-in substitutes for some good-but-non-portable
18 functions. It currently has a built-in memory tracking subsystem as
19 well as some debugging aids and other similar tools.
20
21 %package devel
22 Summary:        Library of Assorted Spiffy Things
23 Group:          X11/Development/Libraries
24 Group(de):      X11/Entwicklung/Libraries
25 Group(es):      X11/Desarrollo/Bibliotecas
26 Group(fr):      X11/Development/Librairies
27 Group(pl):      X11/Programowanie/Biblioteki
28 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
29 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
30 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
31 Requires:       %{name} = %{version}
32
33 %description devel
34 Header files and development documentation for libast.
35
36 %package static
37 Summary:        Libast static libraries
38 Summary(pl):    Biblioteki statyczne libast
39 Group:          X11/Development/Libraries
40 Group(de):      X11/Entwicklung/Libraries
41 Group(es):      X11/Desarrollo/Bibliotecas
42 Group(fr):      X11/Development/Librairies
43 Group(pl):      X11/Programowanie/Biblioteki
44 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
45 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
46 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Libast static libraries.
51
52 %description devel -l pl
53 Biblioteki statyczne libast.
54
55
56 %prep
57 %setup -q
58
59 %build
60   %configure2_13 --prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_libdir} --includedir=%{_includedir}
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %{__make} DESTDIR=$RPM_BUILD_ROOT install
66
67 gzip -9nf ChangeLog README
68
69 %post
70 /sbin/ldconfig
71
72 %postun
73 /sbin/ldconfig
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/libast-test
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc *.gz 
86 %attr(755,root,root) %{_bindir}/%{name}-config
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %attr(755,root,root) %{_libdir}/lib*.la
89 %{_includedir}/*
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.a
This page took 0.04073 seconds and 4 git commands to generate.