libexo-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. %define srcname exo
  2. Summary: extension library to Xfce
  3. Summary(ja): Xfceの拡張ライブラリ
  4. Name: libexo
  5. Version: 0.3.107
  6. Release: 1%{?_dist_release}
  7. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{srcname}-%{version}.tar.bz2
  8. License: LGPL
  9. Group: System Environment/Libraries
  10. URL: http://www.xfce.org/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: glib2-devel >= 2.6.4
  13. BuildRequires: gtk2-devel >= 2.6.0
  14. BuildRequires: libxfce4util-devel >= 4.2.2
  15. BuildRequires: libnotify-devel >= 0.4.0
  16. BuildRequires: hal-devel >= 0.5.7
  17. BuildRequires: python-devel pygtk2-devel
  18. BuildRequires: perl-URI
  19. Requires(post): gtk2
  20. Requires(postun): gtk2
  21. Provides: %{srcname} = %{version}-%{release}
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. libexo is the extension library to Xfce developed by os-cillation.
  26. While Xfce ships with quite a few libraries that are primarly targeted
  27. at desktop development, libexo is targeted at application development,
  28. with a focus on applications for Xfce.
  29. %description -l ja
  30. libexoはos-cillationにより開発されたXfceの拡張ライブラリです。
  31. Xfceはデスクトップ環境の開発を第一の目的としたごくわずかのライブラリ
  32. と共に作成されていますが、libexoはアプリケーションの開発、それも
  33. Xfce用のアプリケーション開発に焦点を定めています。
  34. %package -n %{name}-devel
  35. Summary: Header files and libraries for developing apps which will use sqlite3
  36. Summary(ja): libexoの開発用ヘッダファイル及びライブラリ
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: glib2-devel >= 2.6.4
  40. Requires: gtk2-devel >= 2.6.0
  41. Requires: libxfce4util-devel >= 4.2.2
  42. Requires: hal-devel >= 0.5.7
  43. Provides: %{srcname}-devel = %{version}-%{release}
  44. %description -n %{name}-devel
  45. The libexo-devel package contains the header files and libraries needed
  46. to develop programs that use the libexo library.
  47. %description -n %{name}-devel -l ja
  48. libexo-develはlibexoライブラリを用いるプログラムの開発に
  49. 必要なヘッダファイル及びライブラリを含むパッケージです。
  50. %prep
  51. %setup -q -n %{srcname}-%{version}
  52. %build
  53. %configure --disable-static
  54. %__make
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. %makeinstall
  58. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  59. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %post
  63. touch --no-create %{_datadir}/icons/hicolor
  64. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  65. /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor;
  66. fi
  67. /sbin/ldconfig
  68. %postun
  69. touch --no-create %{_datadir}/icons/hicolor
  70. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  71. /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor;
  72. fi
  73. /sbin/ldconfig
  74. %files
  75. %defattr(-,root,root)
  76. %doc AUTHORS COPYING ChangeLog README THANKS TODO
  77. %{_sysconfdir}/xdg/xfce4/helpers.rc
  78. %{_sysconfdir}/xdg/xfce4/mount.rc
  79. %{_bindir}/*
  80. %{_libdir}/lib*.so.*
  81. %{_libdir}/python?.?/site-packages/*
  82. %{_libexecdir}/*
  83. %{_datadir}/applications/*.desktop
  84. %{_datadir}/icons/hicolor/*/apps/*.png
  85. %{_datadir}/pixmaps/exo-0.3
  86. %{_datadir}/pygtk/2.0/*
  87. %{_datadir}/xfce4/doc/*/*
  88. %{_datadir}/xfce4/helpers
  89. %{_localedir}/*/LC_MESSAGES/lib*.mo
  90. %{_mandir}/man1/*
  91. %files -n %{name}-devel
  92. %defattr(-,root,root)
  93. %{_libdir}/lib*.so
  94. %{_libdir}/pkgconfig/*.pc
  95. %{_includedir}/exo-0.3
  96. %{_datadir}/gtk-doc/html/exo-0.3
  97. %changelog
  98. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-1
  99. - new upstrem release
  100. - built with new toolchain
  101. * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1
  102. - new upstrem release
  103. - added BR: perl-URI
  104. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2
  105. - rebuilt with python-2.6.4
  106. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1
  107. - new upstrem release
  108. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1
  109. - new upstrem release
  110. - removed lib*.a from devel package
  111. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1
  112. - applied with new versioning policy
  113. - spec in UTF-8
  114. * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3
  115. - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2
  116. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2
  117. - new upstream release.
  118. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2
  119. - build for VineSeed
  120. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1
  121. - new upstream version
  122. - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section.
  123. - add %{_bindir}/* in files section.
  124. - add %{_libdir}/xfce4 in files section.
  125. - add %{_libexecdir}/* in files section.
  126. - add %{_datadir}/icons/hicolor/*/apps/*.png in files section.
  127. - add %{_mandir}/man1/* in files section.
  128. - add %{_datadir}/xfce4/doc/*/* in files section.
  129. - add %{_datadir}/xfce4/helpers in files section.
  130. - remove %{_datadir}/gtk-doc/html/exo in files section.
  131. - update icon-cache in %post and %postun.
  132. * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3
  133. - changed Group to System Environment/Libraires
  134. - changed devel Group to Development/Libraries
  135. - added %post and %postun section
  136. * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2
  137. - rebuild for VineSeed
  138. * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1
  139. - initial build for Vine Linux