]>
Commit | Line | Data |
---|---|---|
52e81fd0 | 1 | %define xfce_version 4.18.0 |
403787ea MB |
2 | Summary: Simple configuration storage and query system |
3 | Summary(pl.UTF-8): Prosty system przechowywania i odpytywania konfiguracji | |
4 | Name: xfconf | |
3a168c37 | 5 | Version: 4.18.3 |
13c82fff | 6 | Release: 1 |
fb9046aa | 7 | License: LGPL v2 |
403787ea | 8 | Group: Libraries |
52e81fd0 | 9 | Source0: https://archive.xfce.org/src/xfce/xfconf/4.18/%{name}-%{version}.tar.bz2 |
3a168c37 | 10 | # Source0-md5: f807ed0a1b88af479ec70b28c1f78dcc |
a0943087 | 11 | URL: https://docs.xfce.org/xfce/xfconf/start |
e0083b78 | 12 | BuildRequires: docbook-dtd412-xml |
69e78dae | 13 | BuildRequires: gettext-tools |
a0943087 | 14 | BuildRequires: glib2-devel >= 1:2.66.0 |
52e81fd0 | 15 | BuildRequires: gobject-introspection-devel >= 1.66.0 |
a0943087 | 16 | BuildRequires: gtk-doc >= 1.20 |
c4b2b8b2 | 17 | BuildRequires: intltool >= 0.35.0 |
c20082ad | 18 | BuildRequires: libxfce4util-devel >= %{xfce_version} |
c4b2b8b2 | 19 | BuildRequires: perl-ExtUtils-Depends >= 0.300 |
403787ea | 20 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.0 |
50647875 | 21 | BuildRequires: perl-Glib-devel >= 1.224-2 |
fb9046aa | 22 | BuildRequires: perl-devel >= 1:5.6 |
403787ea | 23 | BuildRequires: pkgconfig |
e9b87be3 | 24 | BuildRequires: rpm-build >= 4.6 |
403787ea | 25 | BuildRequires: rpm-perlprov |
52e81fd0 | 26 | BuildRequires: rpmbuild(macros) >= 2.000 |
c4b2b8b2 | 27 | BuildRequires: vala |
52e81fd0 | 28 | BuildRequires: xfce4-dev-tools >= 4.18.0 |
a0943087 | 29 | Requires: glib2 >= 1:2.66.0 |
fb9046aa | 30 | Requires: libxfce4util >= %{xfce_version} |
d1a4e124 JB |
31 | Obsoletes: libxfce4mcs < 4.5 |
32 | Obsoletes: perl-Xfce4-Xfconf < 4.16 | |
403787ea MB |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
36 | Xfconf is a simple configuration storage and query system. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | Xfconf jest prostym systemem przechowywania i odpytywania | |
40 | konfiguracji. | |
41 | ||
42 | %package devel | |
43 | Summary: Header files for Xfconf library | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Xfconf | |
45 | Group: Development/Libraries | |
46 | Requires: %{name} = %{version}-%{release} | |
a0943087 | 47 | Requires: glib2-devel >= 1:2.66.0 |
d1a4e124 JB |
48 | Obsoletes: libxfce4mcs-devel < 4.5 |
49 | Obsoletes: xfce-mcs-manager-devel < 4.5 | |
403787ea MB |
50 | |
51 | %description devel | |
52 | Header files for Xfconf library. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe biblioteki Xfconf. | |
56 | ||
403787ea MB |
57 | %package apidocs |
58 | Summary: Xfconf API documentation | |
59 | Summary(pl.UTF-8): Dokumentacja API Xfconf | |
60 | Group: Documentation | |
61 | Requires: gtk-doc-common | |
d1a4e124 | 62 | Obsoletes: libxfce4mcs-apidocs < 4.5 |
8633c161 | 63 | BuildArch: noarch |
403787ea MB |
64 | |
65 | %description apidocs | |
66 | Xfconf API documentation. | |
67 | ||
68 | %description apidocs -l pl.UTF-8 | |
69 | Dokumentacja API Xfconf. | |
70 | ||
5328963c KM |
71 | %package -n bash-completion-xfconf-query |
72 | Summary: bash-completion for xfconf-query command | |
73 | Summary(pl.UTF-8): bashowe uzupełnianie parametrów polecenia xfconf-query | |
74 | Group: Applications/Shells | |
75 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
d1a4e124 | 76 | Requires: bash-completion >= 1:2.0 |
5328963c | 77 | BuildArch: noarch |
403787ea | 78 | |
5328963c KM |
79 | %description -n bash-completion-xfconf-query |
80 | Bash-completion for xfconf-query command. | |
403787ea | 81 | |
5328963c KM |
82 | %description -n bash-completion-xfconf-query -l pl.UTF-8 |
83 | Bashowe uzupełnianie parametrów polecenia xfconf-query. | |
403787ea | 84 | |
c4b2b8b2 JB |
85 | %package -n vala-xfconf |
86 | Summary: Vala API for Xfconf library | |
87 | Summary(pl.UTF-8): API języka Vala do biblioteki Xfconf | |
88 | Group: Development/Libraries | |
89 | Requires: %{name}-devel = %{version}-%{release} | |
90 | Requires: vala | |
e9b87be3 | 91 | BuildArch: noarch |
c4b2b8b2 JB |
92 | |
93 | %description -n vala-xfconf | |
94 | Vala API for Xfconf library. | |
95 | ||
96 | %description -n vala-xfconf -l pl.UTF-8 | |
97 | API języka Vala do biblioteki Xfconf. | |
98 | ||
403787ea MB |
99 | %prep |
100 | %setup -q | |
101 | ||
102 | %build | |
403787ea MB |
103 | %configure \ |
104 | --enable-gtk-doc \ | |
fb9046aa | 105 | --disable-silent-rules \ |
5328963c | 106 | --with-html-dir=%{_gtkdocdir} |
403787ea MB |
107 | %{__make} |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
844386aa | 111 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml |
403787ea MB |
112 | |
113 | %{__make} install \ | |
114 | DESTDIR=$RPM_BUILD_ROOT | |
115 | ||
fb9046aa | 116 | # obsoleted by pkg-config |
fe5bb159 | 117 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
5328963c | 118 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gio/modules/libxfconfgsettingsbackend.la |
528024a4 JB |
119 | # unify |
120 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
fb9046aa | 121 | # just a copy or ur |
b05971dd | 122 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK |
e9b87be3 | 123 | # not supported |
5328963c | 124 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/hye |
2ea7f0b3 | 125 | |
403787ea MB |
126 | %find_lang %{name} |
127 | ||
128 | %clean | |
129 | rm -rf $RPM_BUILD_ROOT | |
130 | ||
131 | %post -p /sbin/ldconfig | |
132 | %postun -p /sbin/ldconfig | |
133 | ||
134 | %files -f %{name}.lang | |
135 | %defattr(644,root,root,755) | |
136 | %doc AUTHORS ChangeLog NEWS TODO | |
137 | %attr(755,root,root) %{_bindir}/xfconf-query | |
138 | %attr(755,root,root) %{_libdir}/libxfconf-0.so.*.*.* | |
5328963c | 139 | %attr(755,root,root) %{_libdir}/gio/modules/libxfconfgsettingsbackend.so |
4950c739 | 140 | %attr(755,root,root) %ghost %{_libdir}/libxfconf-0.so.3 |
fe5bb159 MB |
141 | %dir %{_libdir}/xfce4/xfconf |
142 | %attr(755,root,root) %{_libdir}/xfce4/xfconf/xfconfd | |
045e9f12 | 143 | %dir %{_sysconfdir}/xdg/xfce4/xfconf |
844386aa | 144 | %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml |
403787ea | 145 | %{_datadir}/dbus-1/services/org.xfce.Xfconf.service |
b05971dd | 146 | %{_libdir}/girepository-1.0/Xfconf-0.typelib |
403787ea MB |
147 | |
148 | %files devel | |
149 | %defattr(644,root,root,755) | |
150 | %attr(755,root,root) %{_libdir}/libxfconf-0.so | |
403787ea MB |
151 | %{_includedir}/xfce4/xfconf-0 |
152 | %{_pkgconfigdir}/libxfconf-0.pc | |
b05971dd | 153 | %{_datadir}/gir-1.0/Xfconf-0.gir |
403787ea | 154 | |
403787ea MB |
155 | %files apidocs |
156 | %defattr(644,root,root,755) | |
157 | %{_gtkdocdir}/xfconf | |
158 | ||
5328963c | 159 | %files -n bash-completion-xfconf-query |
403787ea | 160 | %defattr(644,root,root,755) |
5328963c | 161 | %{bash_compdir}/xfconf-query |
c4b2b8b2 JB |
162 | |
163 | %files -n vala-xfconf | |
164 | %defattr(644,root,root,755) | |
165 | %{_datadir}/vala/vapi/libxfconf-0.deps | |
166 | %{_datadir}/vala/vapi/libxfconf-0.vapi |