xfconf-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. Name: xfconf
  2. Summary: Hierarchical configuration system for Xfce
  3. Summary(ja): Xfce 用の階層型設定システム
  4. Version: 4.12.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2+
  8. URL: http://www.xfce.org/
  9. Source0: http://archive.xfce.org/src/xfce/%{name}/4.12/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: chrpath
  12. BuildRequires: dbus-devel >= 1.1.0
  13. BuildRequires: dbus-glib-devel >= 0.84
  14. BuildRequires: gettext
  15. BuildRequires: glib2-devel >= 2.30.0
  16. BuildRequires: intltool
  17. BuildRequires: libxfce4util-devel >= 4.10.0
  18. BuildRequires: perl-ExtUtils-Depends >= 0.300
  19. BuildRequires: perl-ExtUtils-PkgConfig >= 1.000
  20. BuildRequires: perl-Glib >= 1.020
  21. BuildRequires: pkgconfig
  22. Obsoletes: libxfce4mcs < 4.4.3-3
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. %description
  26. Xfconf is a hierarchical (tree-like) configuration system where the
  27. immediate child nodes of the root are called "channels". All settings
  28. beneath the channel nodes are called "properties."
  29. %package devel
  30. Summary: Development tools for xfconf
  31. Summary(ja): xfconf の開発用ツール
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: glib2-devel >= 2.30.0
  35. Requires: dbus-devel >= 1.1.0
  36. Requires: dbus-glib-devel >= 0.84
  37. Obsoletes: libxfce4mcs-devel < 4.4.3-3
  38. Obsoletes: xfce-mcs-manager-devel < 4.4.3-3
  39. %description devel
  40. This package includes the libraries and header files you will need
  41. to compile applications for xfconf.
  42. %package perl
  43. Summary: Perl modules for xfconf
  44. Summary(ja): xfconf の perl モジュール
  45. Group: Development/Libraries
  46. Requires: %{name} = %{version}-%{release}
  47. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  48. %description perl
  49. This package includes the perl modules and files you will need to
  50. interact with xfconf using perl.
  51. %prep
  52. %setup -q
  53. %build
  54. %configure \
  55. --enable-silent-rules \
  56. --disable-static \
  57. --with-perl-options=INSTALLDIRS="vendor"
  58. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  59. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  60. make %{?_smp_mflags}
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. make install DESTDIR=$RPM_BUILD_ROOT
  64. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/xfconf/xfconfd
  65. # ad-hoc fix
  66. chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
  67. # remove unneeded la files.
  68. rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
  69. # remove perl temp file
  70. rm -f $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod
  71. # remove unneeded dynloader bootstrap file
  72. rm -f $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.bs
  73. # remove .packlist files.
  74. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  75. # fix permissions on the .so file
  76. chmod 755 $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.so
  77. %find_lang %{name}
  78. # we need to own
  79. mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/xfce4/
  80. mkdir -p ${RPM_BUILD_ROOT}%{_libexecdir}/xfce4/
  81. %clean
  82. rm -rf $RPM_BUILD_ROOT
  83. %post -p /sbin/ldconfig
  84. %postun -p /sbin/ldconfig
  85. %files -f %{name}.lang
  86. %defattr(-,root,root,-)
  87. %doc AUTHORS ChangeLog NEWS TODO COPYING
  88. %{_libdir}/lib*.so.*
  89. %{_libdir}/xfce4/xfconf/xfconfd
  90. %{_bindir}/xfconf-query
  91. %{_datadir}/dbus-1/services/org.xfce.Xfconf.service
  92. %ghost %dir %{_libdir}/xfce4/
  93. %ghost %dir %{_libexecdir}/xfce4/
  94. %files devel
  95. %defattr(-,root,root,-)
  96. %doc %{_datadir}/gtk-doc/html/xfconf
  97. %{_libdir}/lib*.so
  98. %{_libdir}/pkgconfig/*.pc
  99. %{_includedir}/xfce4/xfconf-0
  100. %files perl
  101. %defattr(-,root,root,-)
  102. %{perl_vendorarch}/auto/*
  103. %{perl_vendorarch}/Xfce4
  104. %{_mandir}/man3/*.3*
  105. %changelog
  106. * Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.12.0-1
  107. - new upstream release
  108. - built with libxfce4util 4.12.1
  109. * Sun Nov 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.10.0-3
  110. - rebuilt with perl 5.16.3
  111. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-2
  112. - rebuild with VineSeed environment
  113. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-1
  114. - new upstream release
  115. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-1
  116. - new upstream release
  117. * Wed Sep 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-2
  118. - rebuilt with rpm-4.8.1 for pkg-config
  119. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.2-1
  120. - new upstream release
  121. - built with new toolchain
  122. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.1-2
  123. - initial build for Vine
  124. * Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1
  125. - Update to 4.6.1
  126. * Mon Mar 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.0-2
  127. - Fix directory ownership problems
  128. - Move gtk-doc into devel package and mark it %%doc
  129. - Make devel package require gtk-doc
  130. * Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1
  131. - Update to 4.6.0
  132. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-2
  133. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  134. * Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1
  135. - Update to 4.5.99.1
  136. * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-3
  137. - Let xfce4-settings Obsolete mcs manager and plugin packages
  138. * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-2
  139. - Add Obsoletes for mcs devel package
  140. * Tue Jan 13 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.93-1
  141. - Update to 4.5.93
  142. * Fri Jan 02 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.92-4
  143. - Add Obsoletes for mcs packages
  144. * Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-3
  145. - Fixes for review ( bug 477732 )
  146. * Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-2
  147. - Add gettext BuildRequires
  148. * Sun Dec 21 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1
  149. - Initial version for Fedora