]>
Commit | Line | Data |
---|---|---|
403787ea MB |
1 | # |
2 | %include /usr/lib/rpm/macros.perl | |
3 | # | |
c20082ad | 4 | %define xfce_version 4.10.0 |
403787ea MB |
5 | Summary: Simple configuration storage and query system |
6 | Summary(pl.UTF-8): Prosty system przechowywania i odpytywania konfiguracji | |
7 | Name: xfconf | |
88b981fc | 8 | Version: 4.10.0 |
eff8a4f9 | 9 | Release: 3 |
403787ea MB |
10 | License: GPL v2 |
11 | Group: Libraries | |
88b981fc JR |
12 | Source0: http://archive.xfce.org/xfce/4.10/src/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 4ed48150a03fb5f42b455494307b7f28 | |
fe5bb159 | 14 | URL: http://www.xfce.org/projects/xfconf |
403787ea MB |
15 | BuildRequires: dbus-devel >= 1.0.0 |
16 | BuildRequires: dbus-glib-devel >= 0.72 | |
e0083b78 | 17 | BuildRequires: docbook-dtd412-xml |
403787ea | 18 | BuildRequires: gettext-devel |
fe5bb159 | 19 | BuildRequires: glib2-devel >= 1:2.18.0 |
403787ea | 20 | BuildRequires: gtk-doc >= 1.0 |
c20082ad | 21 | BuildRequires: libxfce4util-devel >= %{xfce_version} |
403787ea MB |
22 | BuildRequires: perl-ExtUtils-Depends >= 0.3 |
23 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.0 | |
50647875 | 24 | BuildRequires: perl-Glib-devel >= 1.224-2 |
403787ea MB |
25 | BuildRequires: pkgconfig |
26 | BuildRequires: rpm-perlprov | |
27 | BuildRequires: rpmbuild(macros) >= 1.98 | |
c287f575 | 28 | BuildRequires: xfce4-dev-tools >= 4.10.0 |
3e32f690 | 29 | Obsoletes: libxfce4mcs |
403787ea MB |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
33 | Xfconf is a simple configuration storage and query system. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | Xfconf jest prostym systemem przechowywania i odpytywania | |
37 | konfiguracji. | |
38 | ||
39 | %package devel | |
40 | Summary: Header files for Xfconf library | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Xfconf | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
44 | Requires: dbus-devel >= 1.0.0 | |
45 | Requires: dbus-glib-devel >= 0.72 | |
fe5bb159 | 46 | Requires: glib2-devel >= 1:2.18.0 |
3e32f690 MB |
47 | Obsoletes: libxfce4mcs-devel |
48 | Obsoletes: xfce-mcs-manager-devel | |
403787ea MB |
49 | |
50 | %description devel | |
51 | Header files for Xfconf library. | |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki nagłówkowe biblioteki Xfconf. | |
55 | ||
403787ea MB |
56 | %package apidocs |
57 | Summary: Xfconf API documentation | |
58 | Summary(pl.UTF-8): Dokumentacja API Xfconf | |
59 | Group: Documentation | |
60 | Requires: gtk-doc-common | |
3e32f690 | 61 | Obsoletes: libxfce4mcs-apidocs |
403787ea MB |
62 | |
63 | %description apidocs | |
64 | Xfconf API documentation. | |
65 | ||
66 | %description apidocs -l pl.UTF-8 | |
67 | Dokumentacja API Xfconf. | |
68 | ||
69 | %package -n perl-Xfce4-Xfconf | |
70 | Summary: Perl interface to the Xfce4 Xfconf | |
71 | Summary(pl.UTF-8): Interfejs perlowy do Xfce4 Xfconf | |
72 | Group: Development/Languages/Perl | |
73 | Requires: perl-Glib >= 1.020 | |
74 | ||
75 | %description -n perl-Xfce4-Xfconf | |
76 | Perl interface to the Xfce4 Xfconf. | |
77 | ||
78 | %description -n perl-Xfce4-Xfconf -l pl.UTF-8 | |
79 | Interfejs perlowy do Xfce4 Xfconf. | |
80 | ||
81 | %prep | |
82 | %setup -q | |
83 | ||
84 | %build | |
403787ea MB |
85 | %configure \ |
86 | --enable-gtk-doc \ | |
87 | --with-html-dir=%{_gtkdocdir} \ | |
fe5bb159 MB |
88 | --with-perl-options="INSTALLDIRS=vendor" \ |
89 | --disable-silent-rules | |
403787ea MB |
90 | %{__make} |
91 | ||
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
844386aa | 94 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml |
403787ea MB |
95 | |
96 | %{__make} install \ | |
97 | DESTDIR=$RPM_BUILD_ROOT | |
98 | ||
99 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
100 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Xfce4/Xfconf/.packlist | |
101 | ||
081ee7a6 | 102 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
fe5bb159 | 103 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
2ea7f0b3 | 104 | |
403787ea MB |
105 | %find_lang %{name} |
106 | ||
107 | %clean | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %post -p /sbin/ldconfig | |
111 | %postun -p /sbin/ldconfig | |
112 | ||
113 | %files -f %{name}.lang | |
114 | %defattr(644,root,root,755) | |
115 | %doc AUTHORS ChangeLog NEWS TODO | |
116 | %attr(755,root,root) %{_bindir}/xfconf-query | |
117 | %attr(755,root,root) %{_libdir}/libxfconf-0.so.*.*.* | |
118 | %attr(755,root,root) %ghost %{_libdir}/libxfconf-0.so.2 | |
fe5bb159 MB |
119 | %dir %{_libdir}/xfce4/xfconf |
120 | %attr(755,root,root) %{_libdir}/xfce4/xfconf/xfconfd | |
045e9f12 | 121 | %dir %{_sysconfdir}/xdg/xfce4/xfconf |
844386aa | 122 | %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml |
403787ea MB |
123 | %{_datadir}/dbus-1/services/org.xfce.Xfconf.service |
124 | ||
125 | %files devel | |
126 | %defattr(644,root,root,755) | |
127 | %attr(755,root,root) %{_libdir}/libxfconf-0.so | |
403787ea MB |
128 | %{_includedir}/xfce4/xfconf-0 |
129 | %{_pkgconfigdir}/libxfconf-0.pc | |
130 | ||
403787ea MB |
131 | %files apidocs |
132 | %defattr(644,root,root,755) | |
133 | %{_gtkdocdir}/xfconf | |
134 | ||
135 | %files -n perl-Xfce4-Xfconf | |
136 | %defattr(644,root,root,755) | |
137 | %attr(755,root,root) %{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.so | |
138 | %dir %{perl_vendorarch}/Xfce4 | |
139 | %{perl_vendorarch}/Xfce4/Xfconf.pm | |
140 | %dir %{perl_vendorarch}/Xfce4/Xfconf | |
141 | %{perl_vendorarch}/Xfce4/Xfconf/Install | |
142 | %dir %{perl_vendorarch}/auto/Xfce4 | |
143 | %dir %{perl_vendorarch}/auto/Xfce4/Xfconf | |
144 | %{perl_vendorarch}/auto/Xfce4/Xfconf/*.bs | |
145 | %{_mandir}/man3/Xfce4::Xfconf.3pm* |