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