orange-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Name: orange
  2. Version: 0.4
  3. Release: 1%{?_dist_release}
  4. Summary: Squeeze out installable Microsoft cabinet files
  5. Group: Applications/Communications
  6. License: MIT
  7. URL: http://synce.sourceforge.net/
  8. Source0: http://downloads.sourceforge.net/synce/liborange-0.4.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: libsynce-devel
  11. BuildRequires: dynamite-devel
  12. BuildRequires: unshield-devel >= 0.5.1
  13. BuildRequires: libgsf-devel
  14. BuildRequires: file
  15. BuildRequires: zlib-devel
  16. %description
  17. Orange is a tool and library for squeezing out juicy installable Microsoft
  18. Cabinet Files from self-extracting installers for Microsoft Windows and some
  19. other installer file formats
  20. %package devel
  21. Group: Development/Libraries
  22. Summary: Files needed for software development with %{name}
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: pkgconfig
  25. %description devel
  26. The %{name}-devel package contains the files needed for development with
  27. %{name}
  28. %prep
  29. %setup -q -n liborange-%{version}
  30. %build
  31. %configure --disable-static --disable-rpath \
  32. --with-libsynce-include=%{_includedir} --with-libsynce-lib=%{_libdir} \
  33. --with-libdynamite-include=%{_includedir} --with-libdynamite-lib=%{_libdir} \
  34. --with-libunshield-include=%{_includedir} --with-libunshield-lib=%{_libdir} \
  35. --with-libgsf
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. rm -f $RPM_BUILD_ROOT%{_libdir}/liborange.{,l}a
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc LICENSE
  48. %{_bindir}/orange
  49. %{_libdir}/liborange.so.*
  50. %{_mandir}/man1/orange.1.gz
  51. %files devel
  52. %{_libdir}/liborange.so
  53. %{_includedir}/liborange*h
  54. %{_libdir}/pkgconfig/liborange.pc
  55. %changelog
  56. * Wed Jun 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.4-1
  57. - initial build for Vine Linux
  58. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  60. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  62. * Sun Feb 08 2009 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  63. - 0.4-1
  64. - version upgrade
  65. * Tue Jun 17 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  66. - 0.3.2-1
  67. - version upgrade
  68. * Mon Dec 03 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  69. - 0.3-5.cvs20051118
  70. - fix BR
  71. * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  72. - 0.3-5.cvs20051118
  73. - rebuild for buildid
  74. * Mon Dec 04 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  75. 0.3-4.cvs20051118
  76. - bump
  77. * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.3-3.cvs20051118
  78. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  79. * Mon Sep 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  80. 0.3-2.cvs20051118
  81. - FE6 rebuild
  82. - Fix BR
  83. * Wed Mar 22 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  84. 0.3-1.cvs20051118
  85. - Bump for libgsf
  86. - fix versioning
  87. * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  88. 0.3-0.cvs20051118.fc5.2
  89. - Rebuild for Fedora Extras 5
  90. * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  91. 0.3-0.cvs20051118.fc5.1
  92. - rebuild
  93. * Fri Nov 18 2005 Christian Iseli <Christian.Iseli[AT]licr.org> 0.3-0
  94. - grab latest from CVS to use libgsf instead of obsolete libole2
  95. * Tue Sep 27 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  96. 0.3-2
  97. - include patch for new libole2
  98. * Tue Aug 23 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  99. 0.3-1
  100. - Initial Release