libexo-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. %define srcname exo
  2. Summary: extension library to Xfce
  3. Summary(ja): Xfce の拡張ライブラリ
  4. Name: libexo
  5. Version: 0.3.107
  6. Release: 2%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPL
  9. URL: http://www.xfce.org/
  10. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{srcname}-%{version}.tar.bz2
  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 %{name}
  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. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-2
  99. - rebuilt with rpm-4.8.1 for pkg-config
  100. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-1
  101. - new upstrem release
  102. - built with new toolchain
  103. * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1
  104. - new upstrem release
  105. - added BR: perl-URI
  106. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2
  107. - rebuilt with python-2.6.4
  108. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1
  109. - new upstrem release
  110. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1
  111. - new upstrem release
  112. - removed lib*.a from devel package
  113. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1
  114. - applied with new versioning policy
  115. - spec in UTF-8
  116. * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3
  117. - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2
  118. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2
  119. - new upstream release.
  120. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2
  121. - build for VineSeed
  122. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1
  123. - new upstream version
  124. - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section.
  125. - add %{_bindir}/* in files section.
  126. - add %{_libdir}/xfce4 in files section.
  127. - add %{_libexecdir}/* in files section.
  128. - add %{_datadir}/icons/hicolor/*/apps/*.png in files section.
  129. - add %{_mandir}/man1/* in files section.
  130. - add %{_datadir}/xfce4/doc/*/* in files section.
  131. - add %{_datadir}/xfce4/helpers in files section.
  132. - remove %{_datadir}/gtk-doc/html/exo in files section.
  133. - update icon-cache in %post and %postun.
  134. * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3
  135. - changed Group to System Environment/Libraires
  136. - changed devel Group to Development/Libraries
  137. - added %post and %postun section
  138. * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2
  139. - rebuild for VineSeed
  140. * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1
  141. - initial build for Vine Linux