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

Revision 1068, 4.6 KB checked in by inagaki, 14 years ago (diff)

updated: XFce 4.6.2

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