source: projects/specs/trunk/g/giblib/giblib-vl.spec @ 8129

Revision 8129, 2.0 KB checked in by tanakanata, 10 years ago (diff)

initial put

Line 
1Name:           giblib
2Version:        1.2.4
3Release:        2%{?_dist_release}
4License:        MIT
5Group:          System Environment/Libraries
6URL:            http://freecode.com/projects/giblib
7Source0:        http://linuxbrit.co.uk/downloads/giblib-%{version}.tar.gz
8Patch0:         giblib-1.2.4-multilib.patch
9BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10Vendor:         Project Vine
11Distribution:   Vine Linux
12Packager:       mkato
13Summary:        Simple library and a wrapper for imlib2
14Summary(ja):    imlib2 の為のシンプルなライブラリとラッパー
15
16BuildRequires:  imlib2-devel, libX11-devel, zlib-devel
17
18%description
19giblib is a utility library used by many of the applications from
20linuxbrit.co.uk. It incorporates doubly linked lists, some string
21functions, and a wrapper for imlib2. The wrapper does two things.
22It gives you access to fontstyles, which can be loaded from files,
23saved to files or defined dynamically through the API. It also,
24and more importantly, wraps imlib2's context API.              '
25
26%package        devel
27Summary:        Static library and header files for giblib
28Group:          Development/Libraries
29Requires:       %{name} = %{version}-%{release}
30Requires:       imlib2-devel, pkgconfig, libX11-devel, zlib-devel
31BuildRequires:  bzip2-devel
32
33%description    devel
34Install 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
Note: See TracBrowser for help on using the repository browser.