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

Revision 1873, 4.7 KB checked in by inagaki, 14 years ago (diff)

rebuilt wirh rpm-4.8.1

Line 
1Name:           xfconf
2Summary:        Hierarchical configuration system for Xfce
3Version:        4.6.2
4Release:        2%{?_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:  glib2-devel >= 2.12.0
14BuildRequires:  libxfce4util-devel >= 4.6.0
15BuildRequires:  dbus-devel >= 1.0.0
16BuildRequires:  dbus-glib-devel >= 0.72
17BuildRequires:  perl-ExtUtils-Depends >= 0.300
18BuildRequires:  perl-ExtUtils-PkgConfig >= 1.000
19BuildRequires:  perl-Glib >= 1.020
20BuildRequires:  gettext
21
22Obsoletes: libxfce4mcs < 4.4.3-3
23
24%description
25Xfconf is a hierarchical (tree-like) configuration system where the
26immediate child nodes of the root are called "channels".  All settings
27beneath the channel nodes are called "properties."
28
29%package devel
30Summary: Development tools for xfconf
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
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* Wed Sep 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-2
116- rebuilt with rpm-4.8.1 for pkg-config
117
118* Sat May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.2-1
119- new upstream release
120- built with new toolchain
121
122* Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.1-2
123- initial build for Vine
124
125* Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1
126- Update to 4.6.1
127
128* Mon Mar 02 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.0-2
129- Fix directory ownership problems
130- Move gtk-doc into devel package and mark it %%doc
131- Make devel package require gtk-doc
132
133* Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1
134- Update to 4.6.0
135
136* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-2
137- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
138
139* Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1
140- Update to 4.5.99.1
141
142* Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-3
143- Let xfce4-settings Obsolete mcs manager and plugin packages
144
145* Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-2
146- Add Obsoletes for mcs devel package
147
148* Tue Jan 13 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.93-1
149- Update to 4.5.93
150
151* Fri Jan 02 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.92-4
152- Add Obsoletes for mcs packages
153
154* Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-3
155- Fixes for review ( bug 477732 )
156
157* Mon Dec 22 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-2
158- Add gettext BuildRequires
159
160* Sun Dec 21 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1
161- Initial version for Fedora
Note: See TracBrowser for help on using the repository browser.