1 | Name: giblib |
---|
2 | Version: 1.2.4 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | License: MIT |
---|
5 | Group: System Environment/Libraries |
---|
6 | URL: http://freecode.com/projects/giblib |
---|
7 | Source0: http://linuxbrit.co.uk/downloads/giblib-%{version}.tar.gz |
---|
8 | Patch0: giblib-1.2.4-multilib.patch |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | Packager: mkato |
---|
13 | Summary: Simple library and a wrapper for imlib2 |
---|
14 | Summary(ja): imlib2 の為のシンプルなライブラリとラッパー |
---|
15 | |
---|
16 | BuildRequires: imlib2-devel, libX11-devel, zlib-devel |
---|
17 | |
---|
18 | %description |
---|
19 | giblib is a utility library used by many of the applications from |
---|
20 | linuxbrit.co.uk. It incorporates doubly linked lists, some string |
---|
21 | functions, and a wrapper for imlib2. The wrapper does two things. |
---|
22 | It gives you access to fontstyles, which can be loaded from files, |
---|
23 | saved to files or defined dynamically through the API. It also, |
---|
24 | and more importantly, wraps imlib2's context API. ' |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Static library and header files for giblib |
---|
28 | Group: Development/Libraries |
---|
29 | Requires: %{name} = %{version}-%{release} |
---|
30 | Requires: imlib2-devel, pkgconfig, libX11-devel, zlib-devel |
---|
31 | BuildRequires: bzip2-devel |
---|
32 | |
---|
33 | %description devel |
---|
34 | Install this package if you intend to develop using the giblib library. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q |
---|
38 | %patch0 -p1 |
---|
39 | |
---|
40 | %build |
---|
41 | %configure --disable-static |
---|
42 | %{__make} %{?_smp_mflags} |
---|
43 | |
---|
44 | |
---|
45 | %install |
---|
46 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
47 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
48 | |
---|
49 | %clean |
---|
50 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
51 | |
---|
52 | %post -p /sbin/ldconfig |
---|
53 | |
---|
54 | %postun -p /sbin/ldconfig |
---|
55 | |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-,root,root,-) |
---|
59 | %doc AUTHORS COPYING ChangeLog |
---|
60 | %{_libdir}/*.so.* |
---|
61 | |
---|
62 | %files devel |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %{_bindir}/*-config |
---|
65 | %{_includedir}/* |
---|
66 | %exclude %{_libdir}/*.la |
---|
67 | %{_libdir}/*.so |
---|
68 | %{_libdir}/pkgconfig/*.pc |
---|
69 | |
---|
70 | %changelog |
---|
71 | * Mon Jan 6 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.2.4-2 |
---|
72 | - add BuildRequires:bzip2-devel |
---|
73 | |
---|
74 | * Mon Feb 6 2012 KATO Masashi <mkato@par.odn.ne.jp> |
---|
75 | - initial build for Vine |
---|
76 | Linux |
---|