libexo-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. %define srcname exo
  2. Summary: Extension library to Xfce
  3. Summary(ja): Xfce の拡張ライブラリ
  4. Name: libexo
  5. Version: 0.10.7
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPLv2+ and GPLv2+
  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 COPYING.LIB 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 Nov 14 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.7-1
  97. - new upstream release
  98. * Thu Jun 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.6-1
  99. - new upstream release
  100. - fixed License (some binaries are licensed under GPLv2+)
  101. * Thu Mar 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.4-1
  102. - new upstream release
  103. * Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.3-1
  104. - new upstrem release
  105. - removed BR: libnotify-devel, python-devel and pygtk2-devel
  106. * Thu Aug 28 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.2-1
  107. - new upstrem release
  108. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2
  109. - rebuild with VineSeed environment
  110. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  111. - new upstrem release
  112. - remove Patch0
  113. - add BuildRequires: libxfce4ui-devel
  114. * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.1-1
  115. - new upstrem release
  116. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-2
  117. - add BuildRequires: libSM-devel
  118. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1
  119. - new upstrem release
  120. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-2
  121. - rebuilt with rpm-4.8.1 for pkg-config
  122. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-1
  123. - new upstrem release
  124. - built with new toolchain
  125. * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1
  126. - new upstrem release
  127. - added BR: perl-URI
  128. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2
  129. - rebuilt with python-2.6.4
  130. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1
  131. - new upstrem release
  132. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1
  133. - new upstrem release
  134. - removed lib*.a from devel package
  135. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1
  136. - applied with new versioning policy
  137. - spec in UTF-8
  138. * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3
  139. - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2
  140. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2
  141. - new upstream release.
  142. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2
  143. - build for VineSeed
  144. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1
  145. - new upstream version
  146. - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section.
  147. - add %{_bindir}/* in files section.
  148. - add %{_libdir}/xfce4 in files section.
  149. - add %{_libexecdir}/* in files section.
  150. - add %{_datadir}/icons/hicolor/*/apps/*.png in files section.
  151. - add %{_mandir}/man1/* in files section.
  152. - add %{_datadir}/xfce4/doc/*/* in files section.
  153. - add %{_datadir}/xfce4/helpers in files section.
  154. - remove %{_datadir}/gtk-doc/html/exo in files section.
  155. - update icon-cache in %post and %postun.
  156. * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3
  157. - changed Group to System Environment/Libraires
  158. - changed devel Group to Development/Libraries
  159. - added %post and %postun section
  160. * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2
  161. - rebuild for VineSeed
  162. * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1
  163. - initial build for Vine Linux