xfconf-vl.spec 4.7 KB

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