]> git.pld-linux.org Git - packages/giblib.git/blob - giblib.spec
ce368e08787bcab6d47653c35e67cb6b657cf99f
[packages/giblib.git] / giblib.spec
1 Summary:        Utility library used in many applications by LinuxBrit
2 Summary(pl):    Biblioteka narzêdziowa u¿ywana w wielu aplikacjach LinuxBrit
3 Name:           giblib
4 Version:        1.2.3
5 Release:        1
6 License:        BSD-like
7 Group:          X11/Libraries
8 Source0:        http://www.linuxbrit.co.uk/downloads/%{name}-%{version}.tar.gz
9 URL:            http://www.linuxbrit.co.uk/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRequires:  imlib2-devel
14 BuildRequires:  libltdl-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17
18 %description
19 giblib is a utility library used by many of the applications LinuxBrit
20 writes. It incorporates doubly linked lists, some string functions,
21 and a wrapper for imlib2. The wrapper does two things. It gives you
22 access to fontstyles, which can be loaded from files, saved to files
23 or defined dynamically through the API. It also, and more importantly,
24 wraps imlib2's context API to simplify calls.
25                               
26 %description -l pl
27 giblib to biblioteka narzêdziowa u¿ywana w wielu aplikacjach autorstwa
28 LinuxBrit. Zawiera dwukierunkowe listy, funkcje do obs³ugi ci±gów
29 znaków i wrapper do Imlib2. Wrapper robi dwie rzeczy: dostêp do styli
30 fontów, które mog± byæ wczytywane z plików, zapisywane do plików lub
31 definiowane dynamicznie poprzez API, oraz upraszcza wywo³ania
32 niektórych funkcji Imlib2.
33
34 %package devel
35 Summary:        Header files for giblib
36 Summary(pl):    Pliki nag³ówkowe giblib
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Header files for giblib.
42
43 %description devel -l pl
44 Pliki nag³ówkowe biblioteki giblib.
45
46 %package static
47 Summary:        giblib static library
48 Summary(pl):    Statyczna biblioteka giblib
49 Group:          X11/Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Static version of giblib library.
54
55 %description static -l pl
56 Statyczna wersja biblioteki giblib.
57
58 %prep
59 %setup -q
60
61 %build
62 rm -f missing
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 %configure
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} DESTDIR=$RPM_BUILD_ROOT install
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_includedir}/%{name}
90 %attr(755,root,root) %{_bindir}/*
91 %attr(755,root,root) %{_libdir}/lib*.so
92 %{_libdir}/lib*.la
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.495867 seconds and 2 git commands to generate.