xfconf-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Name: xfconf
  2. Summary: Hierarchical configuration system for Xfce
  3. Version: 4.8.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.8.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. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-1
  97. - new upstream release
  98. * Wed Sep 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-2
  99. - rebuilt with rpm-4.8.1 for pkg-config
  100. * Sat May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.2-1
  101. - new upstream release
  102. - built with new toolchain
  103. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.1-2
  104. - initial build for Vine
  105. * Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1
  106. - Update to 4.6.1
  107. * Mon Mar 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.0-2
  108. - Fix directory ownership problems
  109. - Move gtk-doc into devel package and mark it %%doc
  110. - Make devel package require gtk-doc
  111. * Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1
  112. - Update to 4.6.0
  113. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-2
  114. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  115. * Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1
  116. - Update to 4.5.99.1
  117. * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-3
  118. - Let xfce4-settings Obsolete mcs manager and plugin packages
  119. * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-2
  120. - Add Obsoletes for mcs devel package
  121. * Tue Jan 13 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.93-1
  122. - Update to 4.5.93
  123. * Fri Jan 02 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.92-4
  124. - Add Obsoletes for mcs packages
  125. * Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-3
  126. - Fixes for review ( bug 477732 )
  127. * Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-2
  128. - Add gettext BuildRequires
  129. * Sun Dec 21 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1
  130. - Initial version for Fedora