xfconf-vl.spec 4.5 KB

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