libexo-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. %define srcname exo
  2. Summary: extension library to Xfce
  3. Summary(ja): Xfce の拡張ライブラリ
  4. Name: libexo
  5. Version: 0.10.3
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPLv2
  9. URL: http://www.xfce.org/
  10. Source0: http://archive.xfce.org/src/xfce/exo/0.10/%{srcname}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: glib2-devel >= 2.30.0
  13. BuildRequires: gtk2-devel >= 2.24.0
  14. BuildRequires: libSM-devel
  15. BuildRequires: intltool
  16. BuildRequires: libxfce4util-devel >= 4.10.0
  17. BuildRequires: libxfce4ui-devel >= 4.10.0
  18. BuildRequires: perl-URI
  19. BuildRequires: chrpath
  20. Requires(post): gtk2
  21. Requires(postun): gtk2
  22. Provides: %{srcname} = %{version}-%{release}
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. libexo is the extension library to Xfce developed by os-cillation.
  27. While Xfce ships with quite a few libraries that are primarly targeted
  28. at desktop development, libexo is targeted at application development,
  29. with a focus on applications for Xfce.
  30. %description -l ja
  31. libexo は os-cillation により開発された Xfce の拡張ライブラリです.
  32. Xfce はデスクトップ環境の開発を第一の目的としたごくわずかのライブラリ
  33. と共に作成されていますが,libexo はアプリケーションの開発,それも
  34. Xfce 用のアプリケーション開発に焦点を定めています.
  35. %package -n %{name}-devel
  36. Summary: Header files and libraries for developing apps which will use %{name}
  37. Summary(ja): libexo の開発用ヘッダファイル及びライブラリ
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: gtk2-devel >= 2.24.0
  41. Requires: libxfce4util-devel >= 4.10.0
  42. Requires: libxfce4ui-devel >= 4.10.0
  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 %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  58. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  59. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  60. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/exo-desktop-item-edit
  61. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/exo-open
  62. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/exo-*/exo-helper-*
  63. %find_lang exo-1
  64. %clean
  65. rm -rf $RPM_BUILD_ROOT
  66. %post
  67. /sbin/ldconfig
  68. touch --no-create %{_datadir}/icons/hicolor
  69. %postun
  70. /sbin/ldconfig
  71. if [ $1 -eq 0 ]; then
  72. touch --no-create %{_datadir}/icons/hicolor
  73. /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor;
  74. fi
  75. %posttrans
  76. gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
  77. %files -f exo-1.lang
  78. %defattr(-,root,root)
  79. %doc AUTHORS COPYING ChangeLog README THANKS TODO
  80. %config(noreplace) %{_sysconfdir}/xdg/xfce4/helpers.rc
  81. %{_bindir}/*
  82. %{_libdir}/lib*.so.*
  83. %{_libdir}/xfce4/*
  84. %{_datadir}/applications/*.desktop
  85. %{_datadir}/icons/hicolor/*/*/*.png
  86. %{_datadir}/pixmaps/exo-1
  87. %{_datadir}/xfce4/helpers
  88. %{_mandir}/man1/*
  89. %files -n %{name}-devel
  90. %defattr(-,root,root)
  91. %{_libdir}/lib*.so
  92. %{_libdir}/pkgconfig/*.pc
  93. %{_includedir}/exo-1
  94. %{_datadir}/gtk-doc/html/exo-1
  95. %changelog
  96. * Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.3-1
  97. - new upstrem release
  98. - removed BR: libnotify-devel, python-devel and pygtk2-devel
  99. * Thu Aug 28 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.2-1
  100. - new upstrem release
  101. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2
  102. - rebuild with VineSeed environment
  103. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  104. - new upstrem release
  105. - remove Patch0
  106. - add BuildRequires: libxfce4ui-devel
  107. * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.1-1
  108. - new upstrem release
  109. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-2
  110. - add BuildRequires: libSM-devel
  111. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1
  112. - new upstrem release
  113. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-2
  114. - rebuilt with rpm-4.8.1 for pkg-config
  115. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-1
  116. - new upstrem release
  117. - built with new toolchain
  118. * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1
  119. - new upstrem release
  120. - added BR: perl-URI
  121. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2
  122. - rebuilt with python-2.6.4
  123. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1
  124. - new upstrem release
  125. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1
  126. - new upstrem release
  127. - removed lib*.a from devel package
  128. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1
  129. - applied with new versioning policy
  130. - spec in UTF-8
  131. * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3
  132. - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2
  133. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2
  134. - new upstream release.
  135. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2
  136. - build for VineSeed
  137. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1
  138. - new upstream version
  139. - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section.
  140. - add %{_bindir}/* in files section.
  141. - add %{_libdir}/xfce4 in files section.
  142. - add %{_libexecdir}/* in files section.
  143. - add %{_datadir}/icons/hicolor/*/apps/*.png in files section.
  144. - add %{_mandir}/man1/* in files section.
  145. - add %{_datadir}/xfce4/doc/*/* in files section.
  146. - add %{_datadir}/xfce4/helpers in files section.
  147. - remove %{_datadir}/gtk-doc/html/exo in files section.
  148. - update icon-cache in %post and %postun.
  149. * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3
  150. - changed Group to System Environment/Libraires
  151. - changed devel Group to Development/Libraries
  152. - added %post and %postun section
  153. * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2
  154. - rebuild for VineSeed
  155. * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1
  156. - initial build for Vine Linux