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