source: projects/specs/branches/6/x/xfconf/xfconf-vl.spec @ 3253

Revision 3253, 5.0 KB checked in by inagaki, 13 years ago (diff)

update: Xfce4

Line 
1Name:           xfconf
2Summary:        Hierarchical configuration system for Xfce
3Version:        4.8.0
4Release:        1%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        GPLv2+
8URL:            http://www.xfce.org/
9
10Source0:        http://www.xfce.org/archive/xfce-%{version}/src/xfconf-%{version}.tar.bz2
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  chrpath
14BuildRequires:  dbus-devel >= 1.0.0
15BuildRequires:  dbus-glib-devel >= 0.72
16BuildRequires:  gettext
17BuildRequires:  glib2-devel >= 2.18.0
18BuildRequires:  intltool
19BuildRequires:  libxfce4util-devel >= 4.8.0
20BuildRequires:  perl-ExtUtils-Depends >= 0.300
21BuildRequires:  perl-ExtUtils-PkgConfig >= 1.000
22BuildRequires:  perl-Glib >= 1.020
23BuildRequires:  pkgconfig
24
25Obsoletes: libxfce4mcs < 4.4.3-3
26
27%description
28Xfconf is a hierarchical (tree-like) configuration system where the
29immediate child nodes of the root are called "channels".  All settings
30beneath the channel nodes are called "properties."
31
32%package devel
33Summary: Development tools for xfconf
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: glib2-devel >= 2.12.0
37Requires: dbus-devel >= 1.0.0
38Requires: dbus-glib-devel >= 0.72
39Obsoletes: libxfce4mcs-devel < 4.4.3-3
40Obsoletes: xfce-mcs-manager-devel < 4.4.3-3
41
42%description devel
43This package includes the libraries and header files you will need
44to compile applications for xfconf.
45
46%package perl
47Summary: Perl modules for xfconf
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
51
52%description perl
53This package includes the perl modules and files you will need to
54interact with xfconf using perl.
55
56%prep
57%setup -q
58
59%build
60%configure --disable-static --with-perl-options=INSTALLDIRS="vendor"
61sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
62sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
63
64make %{?_smp_mflags}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68make install DESTDIR=$RPM_BUILD_ROOT
69
70chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/xfconf/xfconfd
71
72# remove unneeded la files.
73rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
74# remove perl temp file
75rm -f $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod
76# remove unneeded dynloader bootstrap file
77rm -f $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.bs
78# remove .packlist files.
79find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
80# fix permissions on the .so file
81chmod 755 $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.so
82
83%find_lang %{name}
84
85# we need to own
86mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/xfce4/
87mkdir -p ${RPM_BUILD_ROOT}%{_libexecdir}/xfce4/
88
89%clean
90rm -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* Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-1
121- new upstream release
122
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
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
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
Note: See TracBrowser for help on using the repository browser.