]>
Commit | Line | Data |
---|---|---|
403787ea MB |
1 | # |
2 | %include /usr/lib/rpm/macros.perl | |
3 | # | |
4 | Summary: Simple configuration storage and query system | |
5 | Summary(pl.UTF-8): Prosty system przechowywania i odpytywania konfiguracji | |
6 | Name: xfconf | |
075572cd | 7 | Version: 4.6.2 |
081ee7a6 | 8 | Release: 3 |
403787ea MB |
9 | License: GPL v2 |
10 | Group: Libraries | |
11 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 | |
075572cd | 12 | # Source0-md5: 5ff93c15077c6dbbcd38c437bc1ab2ef |
403787ea MB |
13 | URL: http://www.xfce.org/projects/xfconf/ |
14 | BuildRequires: autoconf >= 2.50 | |
15 | BuildRequires: automake >= 1:1.8 | |
16 | BuildRequires: dbus-devel >= 1.0.0 | |
17 | BuildRequires: dbus-glib-devel >= 0.72 | |
e0083b78 | 18 | BuildRequires: docbook-dtd412-xml |
403787ea MB |
19 | BuildRequires: gettext-devel |
20 | BuildRequires: glib2-devel >= 1:2.12.0 | |
21 | BuildRequires: gtk-doc >= 1.0 | |
e0083b78 | 22 | BuildRequires: intltool |
403787ea MB |
23 | BuildRequires: libtool |
24 | BuildRequires: libxfce4util-devel >= %{version} | |
25 | BuildRequires: perl-ExtUtils-Depends >= 0.3 | |
26 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.0 | |
27 | BuildRequires: perl-Glib >= 1.020 | |
28 | BuildRequires: pkgconfig | |
29 | BuildRequires: rpm-perlprov | |
30 | BuildRequires: rpmbuild(macros) >= 1.98 | |
52ac0e28 | 31 | BuildRequires: xfce4-dev-tools >= 4.6.0 |
3e32f690 | 32 | Obsoletes: libxfce4mcs |
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} | |
47 | Requires: dbus-devel >= 1.0.0 | |
48 | Requires: dbus-glib-devel >= 0.72 | |
49 | Requires: glib2-devel >= 1:2.12.0 | |
3e32f690 MB |
50 | Obsoletes: libxfce4mcs-devel |
51 | Obsoletes: xfce-mcs-manager-devel | |
403787ea MB |
52 | |
53 | %description devel | |
54 | Header files for Xfconf library. | |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Pliki nagłówkowe biblioteki Xfconf. | |
58 | ||
59 | %package static | |
60 | Summary: Static Xfconf library | |
61 | Summary(pl.UTF-8): Statyczna biblioteka Xfconf | |
62 | Group: Development/Libraries | |
63 | Requires: %{name}-devel = %{version}-%{release} | |
3e32f690 | 64 | Obsoletes: libxfce4mcs-static |
403787ea MB |
65 | |
66 | %description static | |
67 | Static Xfconf library. | |
68 | ||
69 | %description static -l pl.UTF-8 | |
70 | Statyczna biblioteka Xfconf. | |
71 | ||
72 | %package apidocs | |
73 | Summary: Xfconf API documentation | |
74 | Summary(pl.UTF-8): Dokumentacja API Xfconf | |
75 | Group: Documentation | |
76 | Requires: gtk-doc-common | |
3e32f690 | 77 | Obsoletes: libxfce4mcs-apidocs |
403787ea MB |
78 | |
79 | %description apidocs | |
80 | Xfconf API documentation. | |
81 | ||
82 | %description apidocs -l pl.UTF-8 | |
83 | Dokumentacja API Xfconf. | |
84 | ||
85 | %package -n perl-Xfce4-Xfconf | |
86 | Summary: Perl interface to the Xfce4 Xfconf | |
87 | Summary(pl.UTF-8): Interfejs perlowy do Xfce4 Xfconf | |
88 | Group: Development/Languages/Perl | |
89 | Requires: perl-Glib >= 1.020 | |
90 | ||
91 | %description -n perl-Xfce4-Xfconf | |
92 | Perl interface to the Xfce4 Xfconf. | |
93 | ||
94 | %description -n perl-Xfce4-Xfconf -l pl.UTF-8 | |
95 | Interfejs perlowy do Xfce4 Xfconf. | |
96 | ||
97 | %prep | |
98 | %setup -q | |
99 | ||
100 | %build | |
101 | %{__libtoolize} | |
102 | %{__aclocal} | |
103 | %{__autoconf} | |
104 | %{__autoheader} | |
105 | %{__automake} | |
106 | %configure \ | |
107 | --enable-gtk-doc \ | |
108 | --with-html-dir=%{_gtkdocdir} \ | |
109 | --with-perl-options="INSTALLDIRS=vendor" | |
110 | %{__make} | |
111 | ||
112 | %install | |
113 | rm -rf $RPM_BUILD_ROOT | |
844386aa | 114 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml |
403787ea MB |
115 | |
116 | %{__make} install \ | |
117 | DESTDIR=$RPM_BUILD_ROOT | |
118 | ||
119 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
120 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Xfce4/Xfconf/.packlist | |
121 | ||
081ee7a6 | 122 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
2ea7f0b3 | 123 | |
403787ea MB |
124 | %find_lang %{name} |
125 | ||
126 | %clean | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %post -p /sbin/ldconfig | |
130 | %postun -p /sbin/ldconfig | |
131 | ||
132 | %files -f %{name}.lang | |
133 | %defattr(644,root,root,755) | |
134 | %doc AUTHORS ChangeLog NEWS TODO | |
135 | %attr(755,root,root) %{_bindir}/xfconf-query | |
136 | %attr(755,root,root) %{_libdir}/libxfconf-0.so.*.*.* | |
137 | %attr(755,root,root) %ghost %{_libdir}/libxfconf-0.so.2 | |
138 | %attr(755,root,root) %{_libdir}/xfconfd | |
045e9f12 | 139 | %dir %{_sysconfdir}/xdg/xfce4/xfconf |
844386aa | 140 | %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml |
403787ea MB |
141 | %{_datadir}/dbus-1/services/org.xfce.Xfconf.service |
142 | ||
143 | %files devel | |
144 | %defattr(644,root,root,755) | |
145 | %attr(755,root,root) %{_libdir}/libxfconf-0.so | |
146 | %{_libdir}/libxfconf-0.la | |
147 | %{_includedir}/xfce4/xfconf-0 | |
148 | %{_pkgconfigdir}/libxfconf-0.pc | |
149 | ||
150 | %files static | |
151 | %defattr(644,root,root,755) | |
152 | %{_libdir}/libxfconf-0.a | |
153 | ||
154 | %files apidocs | |
155 | %defattr(644,root,root,755) | |
156 | %{_gtkdocdir}/xfconf | |
157 | ||
158 | %files -n perl-Xfce4-Xfconf | |
159 | %defattr(644,root,root,755) | |
160 | %attr(755,root,root) %{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.so | |
161 | %dir %{perl_vendorarch}/Xfce4 | |
162 | %{perl_vendorarch}/Xfce4/Xfconf.pm | |
163 | %dir %{perl_vendorarch}/Xfce4/Xfconf | |
164 | %{perl_vendorarch}/Xfce4/Xfconf/Install | |
165 | %dir %{perl_vendorarch}/auto/Xfce4 | |
166 | %dir %{perl_vendorarch}/auto/Xfce4/Xfconf | |
167 | %{perl_vendorarch}/auto/Xfce4/Xfconf/*.bs | |
168 | %{_mandir}/man3/Xfce4::Xfconf.3pm* |