xfconf-vl.spec 4.6 KB

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