pixman-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: pixman
  3. Version: 0.17.4
  4. Release: 1%{?_dist_release}
  5. Summary: Pixel manipulation library
  6. Summary(ja): ピクセル操作ライブラリ
  7. Group: System Environment/Libraries
  8. License: MIT
  9. URL: http://xorg.freedesktop.org/archive/individual/lib/
  10. Source0: pixman-%{version}.tar.bz2
  11. # revert changes
  12. # http://cgit.freedesktop.org/pixman/commit/?id=7aeed3fc08b3359a3e4e6178f569dbb28ffdad08
  13. # This breaks notification area icon.
  14. #Patch1: pixman-0.15.14-revert-fast-path-call.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Obsoletes: libpixman <= 0.1.6
  17. %description
  18. Pixman is a pixel manipulation library for X and cairo.
  19. %package devel
  20. Summary: Pixel manipulation library development package
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. Obsoletes: libpixman-devel <= 0.1.6
  25. %description devel
  26. Development library for pixman.
  27. # compat32
  28. %package -n compat32-%{name}
  29. Summary: Pixel manipulation library
  30. Summary(ja): ピクセル操作ライブラリ
  31. Group: System Environment/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description -n compat32-%{name}
  34. Pixman is a pixel manipulation library for X and cairo.
  35. %package -n compat32-%{name}-devel
  36. Summary: Pixel manipulation library development package
  37. Group: Development/Libraries
  38. Requires: compat32-%{name} = %{version}-%{release}
  39. Requires: %{name}-devel = %{version}-%{release}
  40. %description -n compat32-%{name}-devel
  41. Development library for pixman.
  42. %prep
  43. %setup -q
  44. #%patch1 -p1
  45. %build
  46. %configure --disable-static
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. make install DESTDIR=$RPM_BUILD_ROOT
  51. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %post -n compat32-%{name} -p /sbin/ldconfig
  57. %postun -n compat32-%{name} -p /sbin/ldconfig
  58. %files
  59. %defattr(-,root,root,-)
  60. %{_libdir}/libpixman-1*.so.*
  61. %files devel
  62. %defattr(-,root,root,-)
  63. %dir %{_includedir}/pixman-1
  64. %{_includedir}/pixman-1/pixman.h
  65. %{_includedir}/pixman-1/pixman-version.h
  66. %{_libdir}/libpixman-1*.so
  67. %{_libdir}/pkgconfig/pixman-1.pc
  68. # compat32
  69. %if %{build_compat32}
  70. %files -n compat32-%{name}
  71. %defattr(-,root,root,-)
  72. %{_libdir}/libpixman-1*.so.*
  73. %files -n compat32-%{name}-devel
  74. %defattr(-,root,root,-)
  75. %{_libdir}/libpixman-1*.so
  76. %{_libdir}/pkgconfig/pixman-1.pc
  77. %endif
  78. %changelog
  79. * Wed Feb 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17.4-1
  80. - new upstream release
  81. * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16.2-1
  82. - new upstream release
  83. * Thu Jul 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.18-1
  84. - new upstream release
  85. * Tue Jun 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.14-2
  86. - add Patch1 to fix notification icon
  87. * Mon Jun 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.14-1
  88. - new upstream release
  89. * Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.15.4-2
  90. - added compat32 subpackage for x86_64 arch support again.
  91. * Wed May 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.4-1
  92. - new upstream release
  93. * Sat May 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.15.2-2
  94. - added compat32 subpackage for x86_64 arch support.
  95. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15.2-1
  96. - new upstream release
  97. * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.14.0-1
  98. - new upstream release
  99. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.12.0-1
  100. - new upstream release
  101. * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11.10-1
  102. - new upstream release
  103. * Mon Aug 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.11.8-1
  104. - new upstream release
  105. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.11.6-1
  106. - new upstream release
  107. * Thu May 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.0-1vl5
  108. - Initial build for Vine Linux
  109. * Thu Apr 3 2008 Soren Sandmann <sandmann@redhat.com> 0.10.0-1
  110. - Update to 0.10.0
  111. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.6-4
  112. - Autorebuild for GCC 4.3
  113. * Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-3
  114. - Third time's the charm.
  115. * Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-2
  116. - Second try.
  117. * Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-1
  118. - Update to 0.9.6 release.
  119. * Wed Sep 05 2007 Adam Jackson <ajax@redhat.com> 0.9.5-1
  120. - Update to 0.9.5 release.
  121. * Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.9.0-7.20070827
  122. - New snapshot
  123. * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-4.20070824
  124. - New snapshot
  125. * Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 0.9.0-3.20070724
  126. - rebuild for toolchain bug
  127. * Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-2.20070724
  128. - Re-add it, %%dir is not the same as adding a dir whole.
  129. * Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-1.20070724
  130. - Remove redundant header from %%files devel.
  131. * Fri May 18 2007 Adam Jackson <ajax@redhat.com> 0.9.0-0.20070724
  132. - git build so I can build git X.