xfconf-vl.spec 5.0 KB

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