1 | Name: xfconf |
---|
2 | Summary: Hierarchical configuration system for Xfce |
---|
3 | Version: 4.10.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: GPLv2+ |
---|
8 | URL: http://www.xfce.org/ |
---|
9 | |
---|
10 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/xfconf-%{version}.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: chrpath |
---|
14 | BuildRequires: dbus-devel >= 1.0.0 |
---|
15 | BuildRequires: dbus-glib-devel >= 0.72 |
---|
16 | BuildRequires: gettext |
---|
17 | BuildRequires: glib2-devel >= 2.18.0 |
---|
18 | BuildRequires: intltool |
---|
19 | BuildRequires: libxfce4util-devel >= 4.10.0 |
---|
20 | BuildRequires: perl-ExtUtils-Depends >= 0.300 |
---|
21 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.000 |
---|
22 | BuildRequires: perl-Glib >= 1.020 |
---|
23 | BuildRequires: pkgconfig |
---|
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} |
---|
36 | Requires: glib2-devel >= 2.12.0 |
---|
37 | Requires: dbus-devel >= 1.0.0 |
---|
38 | Requires: dbus-glib-devel >= 0.72 |
---|
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 | |
---|
70 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/xfconf/xfconfd |
---|
71 | |
---|
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.* |
---|
100 | %{_libdir}/xfce4/xfconf/xfconfd |
---|
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 |
---|
120 | * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Wed Sep 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-2 |
---|
127 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
128 | |
---|
129 | * Sat May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.2-1 |
---|
130 | - new upstream release |
---|
131 | - built with new toolchain |
---|
132 | |
---|
133 | * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.1-2 |
---|
134 | - initial build for Vine |
---|
135 | |
---|
136 | * Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1 |
---|
137 | - Update to 4.6.1 |
---|
138 | |
---|
139 | * Mon Mar 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.0-2 |
---|
140 | - Fix directory ownership problems |
---|
141 | - Move gtk-doc into devel package and mark it %%doc |
---|
142 | - Make devel package require gtk-doc |
---|
143 | |
---|
144 | * Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1 |
---|
145 | - Update to 4.6.0 |
---|
146 | |
---|
147 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-2 |
---|
148 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
149 | |
---|
150 | * Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1 |
---|
151 | - Update to 4.5.99.1 |
---|
152 | |
---|
153 | * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-3 |
---|
154 | - Let xfce4-settings Obsolete mcs manager and plugin packages |
---|
155 | |
---|
156 | * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-2 |
---|
157 | - Add Obsoletes for mcs devel package |
---|
158 | |
---|
159 | * Tue Jan 13 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.93-1 |
---|
160 | - Update to 4.5.93 |
---|
161 | |
---|
162 | * Fri Jan 02 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.92-4 |
---|
163 | - Add Obsoletes for mcs packages |
---|
164 | |
---|
165 | * Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-3 |
---|
166 | - Fixes for review ( bug 477732 ) |
---|
167 | |
---|
168 | * Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-2 |
---|
169 | - Add gettext BuildRequires |
---|
170 | |
---|
171 | * Sun Dec 21 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1 |
---|
172 | - Initial version for Fedora |
---|