giblib-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. BuildRequires: imlib2-devel, libX11-devel, zlib-devel
  16. %description
  17. giblib is a utility library used by many of the applications from
  18. linuxbrit.co.uk. It incorporates doubly linked lists, some string
  19. functions, and a wrapper for imlib2. The wrapper does two things.
  20. It gives you access to fontstyles, which can be loaded from files,
  21. saved to files or defined dynamically through the API. It also,
  22. and more importantly, wraps imlib2's context API. '
  23. %package devel
  24. Summary: Static library and header files for giblib
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: imlib2-devel, pkgconfig, libX11-devel, zlib-devel
  28. BuildRequires: bzip2-devel
  29. %description devel
  30. Install this package if you intend to develop using the giblib library.
  31. %prep
  32. %setup -q
  33. %patch0 -p1
  34. %build
  35. %configure --disable-static
  36. %{__make} %{?_smp_mflags}
  37. %install
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  40. %clean
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc AUTHORS COPYING ChangeLog
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %defattr(-,root,root,-)
  50. %{_bindir}/*-config
  51. %{_includedir}/*
  52. %exclude %{_libdir}/*.la
  53. %{_libdir}/*.so
  54. %{_libdir}/pkgconfig/*.pc
  55. %changelog
  56. * Mon Jan 6 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 1.2.4-2
  57. - add BuildRequires:bzip2-devel
  58. * Mon Feb 6 2012 KATO Masashi <mkato@par.odn.ne.jp>
  59. - initial build for Vine
  60. Linux