libexo-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. %define srcname exo
  2. Summary: extension library to Xfce
  3. Summary(ja): Xfceの拡張ライブラリ
  4. Name: libexo
  5. Version: 0.3.106
  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: gtk2-devel >= 2.6.1
  13. BuildRequires: libxfcegui4-devel >= 4.2.2
  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: gtk2-devel >= 2.6.1
  40. Requires: libxfce4util-devel >= 4.2.2
  41. Requires: hal-devel >= 0.5.7
  42. Provides: %{srcname}-devel = %{version}-%{release}
  43. %description -n %{name}-devel
  44. The libexo-devel package contains the header files and libraries needed
  45. to develop programs that use the libexo library.
  46. %description -n %{name}-devel -l ja
  47. libexo-develはlibexoライブラリを用いるプログラムの開発に
  48. 必要なヘッダファイル及びライブラリを含むパッケージです。
  49. %prep
  50. %setup -q -n %{srcname}-%{version}
  51. %build
  52. %configure --disable-static
  53. %__make
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. %makeinstall
  57. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  58. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %post
  62. touch --no-create %{_datadir}/icons/hicolor
  63. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  64. /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor;
  65. fi
  66. /sbin/ldconfig
  67. %postun
  68. touch --no-create %{_datadir}/icons/hicolor
  69. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  70. /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor;
  71. fi
  72. /sbin/ldconfig
  73. %files
  74. %defattr(-,root,root)
  75. %doc AUTHORS COPYING ChangeLog HACKING README THANKS TODO
  76. %{_sysconfdir}/xdg/xfce4/helpers.rc
  77. %{_sysconfdir}/xdg/xfce4/mount.rc
  78. %{_bindir}/*
  79. %{_libdir}/lib*.so.*
  80. %{_libdir}/python?.?/site-packages/*
  81. %{_libexecdir}/*
  82. %{_datadir}/applications/*.desktop
  83. %{_datadir}/icons/hicolor/*/apps/*.png
  84. %{_datadir}/pixmaps/exo-0.3
  85. %{_datadir}/pygtk/2.0/*
  86. %{_datadir}/xfce4/doc/*/*
  87. %{_datadir}/xfce4/helpers
  88. %{_localedir}/*/LC_MESSAGES/lib*.mo
  89. %{_mandir}/man1/*
  90. %files -n %{name}-devel
  91. %defattr(-,root,root)
  92. #{_libdir}/lib*.a
  93. #{_libdir}/lib*.la
  94. %{_libdir}/lib*.so
  95. %{_libdir}/pkgconfig/*.pc
  96. %{_includedir}/exo-0.3
  97. %{_datadir}/gtk-doc/html/exo-0.3
  98. %changelog
  99. * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1
  100. - new upstrem release
  101. - added BR: perl-URI
  102. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2
  103. - rebuilt with python-2.6.4
  104. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1
  105. - new upstrem release
  106. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1
  107. - new upstrem release
  108. - removed lib*.a from devel package
  109. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1
  110. - applied with new versioning policy
  111. - spec in UTF-8
  112. * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3
  113. - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2
  114. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2
  115. - new upstream release.
  116. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2
  117. - build for VineSeed
  118. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1
  119. - new upstream version
  120. - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section.
  121. - add %{_bindir}/* in files section.
  122. - add %{_libdir}/xfce4 in files section.
  123. - add %{_libexecdir}/* in files section.
  124. - add %{_datadir}/icons/hicolor/*/apps/*.png in files section.
  125. - add %{_mandir}/man1/* in files section.
  126. - add %{_datadir}/xfce4/doc/*/* in files section.
  127. - add %{_datadir}/xfce4/helpers in files section.
  128. - remove %{_datadir}/gtk-doc/html/exo in files section.
  129. - update icon-cache in %post and %postun.
  130. * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3
  131. - changed Group to System Environment/Libraires
  132. - changed devel Group to Development/Libraries
  133. - added %post and %postun section
  134. * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2
  135. - rebuild for VineSeed
  136. * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1
  137. - initial build for Vine Linux