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