rox-clib-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. %define name rox-clib
  2. %define oname ROX-CLib
  3. %define dvlname %{name}-devel
  4. %define libdir %{_prefix}/lib
  5. Summary: Shared code for ROX applications
  6. Name: %{name}
  7. Version: 2.1.10
  8. Release: 3%{?_dist_release}
  9. Source0: http://www.kerofin.demon.co.uk/rox/%{oname}-%{version}.tar.gz
  10. URL: http://www.kerofin.demon.co.uk/rox/libs.html#rox-clib2
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. License: GPL
  14. Group: User Interface/Desktops
  15. BuildRoot: %{_tmppath}/%{name}-buildroot
  16. Prefix: %{_prefix}
  17. BuildRequires: gtk2-devel
  18. BuildRequires: libxml2-devel
  19. Requires: rox-filer
  20. %description
  21. ROX-CLib contains shared code which can be used by other ROX applications.
  22. (it's written in C).
  23. %description -l ja
  24. ROX-CLib は ROX 用アプリケーションから使用可能な共有コードを含んだライブラ
  25. リです。(それらは C で書かれています)
  26. %package -n %{name}-%{version}
  27. Group: System/Libraries
  28. Summary: Shared library of ROX-Clib
  29. Requires: %name >= %version-%release
  30. %description -n %{name}-%{version}
  31. ROX-CLib contains shared code which can be used by other ROX applications.
  32. (it's written in C).
  33. %description -n %{name}-%{version} -l ja
  34. ROX-CLib は ROX 用アプリケーションから使用可能な共有コードを含んだライブラ
  35. リです。(それらは C で書かれています)
  36. %package -n %{dvlname}
  37. Group: Development/C
  38. Summary: Headers for the rox C library
  39. Requires: %{dvlname} = %version-%release
  40. Requires: rox-filer
  41. Provides: librox-c-devel = %version-%release
  42. %description -n %{dvlname}
  43. ROX-CLib-devel is Headers for C library which can be used by other ROX applications.
  44. %description -n %{dvlname} -l ja
  45. ROX-CLib-devel は ROX 用アプリケーションから使用可能なライブラリ用ヘッダ集です。
  46. %prep
  47. %setup -q -n %oname
  48. rm -rf .xvpics
  49. %build
  50. export CFLAGS="%optflags"
  51. ./AppRun --compile
  52. %install
  53. rm -rf %{buildroot}
  54. mkdir -p %{buildroot}/%{libdir}
  55. cd ..
  56. cp -r %oname %{buildroot}%{libdir}
  57. rm -rf %{buildroot}/%{libdir}/%oname/src
  58. perl -pi -e "s/lib/%_lib/g" %{buildroot}%{libdir}/%oname/Linux-*/bin/rox_run
  59. perl -pi -e "s!%{_builddir}/%oname/src/../!%{libdir}/%oname/!" \
  60. %{buildroot}/%{libdir}/%oname/Linux-*/lib/librox-clib.la
  61. %clean
  62. rm -rf %{buildroot}
  63. %post -n %name -p /sbin/ldconfig
  64. %postun -n %name -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root)
  67. %doc %{libdir}/%oname/Help
  68. %dir %{libdir}/%oname
  69. %{libdir}/%oname/App*
  70. %{libdir}/%oname/.DirIcon
  71. %dir %{libdir}/%oname/Linux*/
  72. %{libdir}/%oname/Linux*/bin
  73. %dir %{libdir}/%oname/Linux*/lib
  74. %{libdir}/%oname/Linux*/lib/librox-clib.so.*
  75. %files -n %{dvlname}
  76. %defattr(-,root,root)
  77. %{libdir}/%oname/Linux*/lib/librox-clib.a
  78. %{libdir}/%oname/Linux*/lib/librox-clib.so
  79. %{libdir}/%oname/Linux*/lib/librox-clib.la
  80. %{libdir}/%oname/Linux*/lib/ROX-CLib.pc
  81. %{libdir}/%oname/Linux*/include
  82. %changelog
  83. * Thu Dec 26 2013 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.1.10-3
  84. - ROX-Filer maintenance team OKATANA(KATO Masashi, TANAKA hiroaki)
  85. - rebuild with gcc-4.8
  86. * Sun Jan 22 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 2.1.10-2
  87. - ROX-Filer maintenance team OKATANA(KATO Masashi, TANAKA hiroaki)
  88. - rebuild by rpm-4.8
  89. * Sat Sep 12 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.1.10-1
  90. - ROX-Filer maintenance team OKATANA(KATO Masashi, TANAKA hiroaki)
  91. - upstream update
  92. - changed system directory to /usr/share/rox-filer
  93. * Sun Aug 6 2006 OKATANA <mkato@par.odn.ne.jp,mosaicist@par.odn.ne.jp> 2.1.8-0vl1, 2
  94. - rebuild for new Requires rox-filer
  95. * Sat Oct 15 2005 OKATANA <mkato@par.odn.ne.jp,mosaicist@par.odn.ne.jp> 2.1.5-0vl1,2
  96. - initial vine package