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

Revision 8068, 5.2 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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