source: projects/specs/trunk/x/xfconf/xfconf-vl.spec @ 9399

Revision 9399, 5.7 KB checked in by inagaki, 9 years ago (diff)

2015-03-01 Ryoichi INAGAKI <ryo1@…>

  • Xfce: updated to 4.12
  • libxfce4util410: new for compatibility


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