libcxp-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. %define name libcxp
  2. %define version 0.5.6
  3. %define release 1%{?_dist_release}
  4. Name: %{name}
  5. Summary: libcxp is the base library of cxp application family.
  6. Version: %{version}
  7. Release: %{release}
  8. Source: %{name}-%{version}.tar.gz
  9. Group: System Environment/Libraries
  10. URL: http://cxplorer.sourceforge.jp/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
  12. License: GPL
  13. Requires: gtk2 GConf2 shared-mime-info
  14. BuildRequires: gtk2-devel GConf2-devel shared-mime-info
  15. Summary(ja): libcxp は cxp アプリケーションファミリのベースライブラリです。
  16. %description
  17. libcxp is the base library of cxp application family. But, cxplorer is only
  18. applicaiton which is developped as cxp family yet.
  19. %description -l ja
  20. libcxpは、cxpアプリケーションファミリのベースライブラリです。しかし、まだ
  21. cxp familyとして開発されているのはcxplorerのみです。
  22. %package devel
  23. Summary: Libraries and include files for libcxp.
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}
  26. Summary(ja): libcxpのライブラリとインクルードファイル
  27. %description devel
  28. Libraries and header files if you want to make use of the libcxp library in your
  29. own programs.
  30. %description -l ja devel
  31. libcxpライブラリを利用したプログラムを作成するのに必要なライブラリとヘッダファイル
  32. %prep
  33. rm -rf $RPM_BUILD_ROOT
  34. %setup -q -n %{name}-%{version}
  35. %build
  36. %configure
  37. make
  38. %install
  39. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  40. %makeinstall
  41. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  42. %{find_lang} %{name}
  43. %post
  44. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  45. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/libcxp.schemas > /dev/null
  46. /sbin/ldconfig
  47. %preun
  48. if [ $1 = 0 ]; then
  49. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  50. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/libcxp.schemas > /dev/null
  51. fi
  52. %postun
  53. /sbin/ldconfig
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files -f %{name}.lang
  57. %defattr(-,root,root)
  58. %doc AUTHORS COPYING ChangeLog INSTALL README NEWS
  59. %{_libdir}/libcxp.so.*
  60. %{_datadir}/pixmaps/cxp
  61. %{_sysconfdir}/gconf/schemas/libcxp.schemas
  62. %files devel
  63. %defattr (-, root, root)
  64. /usr/include/cxp
  65. %{_libdir}/libcxp.so
  66. %{_libdir}/libcxp.a
  67. %{_libdir}/pkgconfig/libcxp.pc
  68. %changelog
  69. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.5.6-1vl5
  70. - applied new versioning policy, spec in utf-8
  71. * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.5.6-0vl2
  72. - changed Group to System Environment/Libraries
  73. - added /sbin/ldconfig to %post and %postun section
  74. * Fri Dec 30 2005 Yasumichi Akahoshi <yasumichi@vinelinux.org>
  75. - 0.5.6-0vl1
  76. - version update(upstream)
  77. - devide devel sub package.
  78. * Wed Oct 12 2005 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  79. - 0.5.5-0vl1
  80. - version update(upstream)
  81. * Wed Oct 05 2005 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  82. - version update(upstream)
  83. * Thu Sep 08 2005 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  84. - version update(upstream)
  85. * Mon Sep 05 2005 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  86. - 0.5.0-0vl1
  87. - version update(upstream)
  88. - add script related gconf.
  89. * Thu May 19 2005 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  90. - 0.4.2-0vl1
  91. - revision update(upstream)
  92. - 0.4.2-0vl2
  93. - fix GROUP
  94. * Wed May 11 2005 Yasumichi Akahoshi <w2linux@lapis.plala.or.jp>
  95. - 0.4.1-0vl1
  96. - First release