xfconf-vl.spec 5.2 KB

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