xfconf-vl.spec 5.4 KB

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