]>
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 | |
7 | Version: 4.6.0 | |
8 | Release: 1 | |
9 | License: GPL v2 | |
10 | Group: Libraries | |
11 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 | |
12 | # Source0-md5: 38595f78379eb1f456e97b393fdafd20 | |
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 | |
18 | BuildRequires: gettext-devel | |
19 | BuildRequires: glib2-devel >= 1:2.12.0 | |
20 | BuildRequires: gtk-doc >= 1.0 | |
21 | BuildRequires: libtool | |
22 | BuildRequires: libxfce4util-devel >= %{version} | |
23 | BuildRequires: perl-ExtUtils-Depends >= 0.3 | |
24 | BuildRequires: perl-ExtUtils-PkgConfig >= 1.0 | |
25 | BuildRequires: perl-Glib >= 1.020 | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: rpm-perlprov | |
28 | BuildRequires: rpmbuild(macros) >= 1.98 | |
29 | BuildRequires: xfce4-dev-tools >= %{version} | |
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 | |
46 | Requires: glib2-devel >= 1:2.12.0 | |
47 | ||
48 | %description devel | |
49 | Header files for Xfconf library. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki nagłówkowe biblioteki Xfconf. | |
53 | ||
54 | %package static | |
55 | Summary: Static Xfconf library | |
56 | Summary(pl.UTF-8): Statyczna biblioteka Xfconf | |
57 | Group: Development/Libraries | |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Static Xfconf library. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Statyczna biblioteka Xfconf. | |
65 | ||
66 | %package apidocs | |
67 | Summary: Xfconf API documentation | |
68 | Summary(pl.UTF-8): Dokumentacja API Xfconf | |
69 | Group: Documentation | |
70 | Requires: gtk-doc-common | |
71 | ||
72 | %description apidocs | |
73 | Xfconf API documentation. | |
74 | ||
75 | %description apidocs -l pl.UTF-8 | |
76 | Dokumentacja API Xfconf. | |
77 | ||
78 | %package -n perl-Xfce4-Xfconf | |
79 | Summary: Perl interface to the Xfce4 Xfconf | |
80 | Summary(pl.UTF-8): Interfejs perlowy do Xfce4 Xfconf | |
81 | Group: Development/Languages/Perl | |
82 | Requires: perl-Glib >= 1.020 | |
83 | ||
84 | %description -n perl-Xfce4-Xfconf | |
85 | Perl interface to the Xfce4 Xfconf. | |
86 | ||
87 | %description -n perl-Xfce4-Xfconf -l pl.UTF-8 | |
88 | Interfejs perlowy do Xfce4 Xfconf. | |
89 | ||
90 | %prep | |
91 | %setup -q | |
92 | ||
93 | %build | |
94 | %{__libtoolize} | |
95 | %{__aclocal} | |
96 | %{__autoconf} | |
97 | %{__autoheader} | |
98 | %{__automake} | |
99 | %configure \ | |
100 | --enable-gtk-doc \ | |
101 | --with-html-dir=%{_gtkdocdir} \ | |
102 | --with-perl-options="INSTALLDIRS=vendor" | |
103 | %{__make} | |
104 | ||
105 | %install | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %{__make} install \ | |
109 | DESTDIR=$RPM_BUILD_ROOT | |
110 | ||
111 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
112 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Xfce4/Xfconf/.packlist | |
113 | ||
114 | %find_lang %{name} | |
115 | ||
116 | %clean | |
117 | rm -rf $RPM_BUILD_ROOT | |
118 | ||
119 | %post -p /sbin/ldconfig | |
120 | %postun -p /sbin/ldconfig | |
121 | ||
122 | %files -f %{name}.lang | |
123 | %defattr(644,root,root,755) | |
124 | %doc AUTHORS ChangeLog NEWS TODO | |
125 | %attr(755,root,root) %{_bindir}/xfconf-query | |
126 | %attr(755,root,root) %{_libdir}/libxfconf-0.so.*.*.* | |
127 | %attr(755,root,root) %ghost %{_libdir}/libxfconf-0.so.2 | |
128 | %attr(755,root,root) %{_libdir}/xfconfd | |
129 | %{_datadir}/dbus-1/services/org.xfce.Xfconf.service | |
130 | ||
131 | %files devel | |
132 | %defattr(644,root,root,755) | |
133 | %attr(755,root,root) %{_libdir}/libxfconf-0.so | |
134 | %{_libdir}/libxfconf-0.la | |
135 | %{_includedir}/xfce4/xfconf-0 | |
136 | %{_pkgconfigdir}/libxfconf-0.pc | |
137 | ||
138 | %files static | |
139 | %defattr(644,root,root,755) | |
140 | %{_libdir}/libxfconf-0.a | |
141 | ||
142 | %files apidocs | |
143 | %defattr(644,root,root,755) | |
144 | %{_gtkdocdir}/xfconf | |
145 | ||
146 | %files -n perl-Xfce4-Xfconf | |
147 | %defattr(644,root,root,755) | |
148 | %attr(755,root,root) %{perl_vendorarch}/auto/Xfce4/Xfconf/Xfconf.so | |
149 | %dir %{perl_vendorarch}/Xfce4 | |
150 | %{perl_vendorarch}/Xfce4/Xfconf.pm | |
151 | %dir %{perl_vendorarch}/Xfce4/Xfconf | |
152 | %{perl_vendorarch}/Xfce4/Xfconf/Install | |
153 | %dir %{perl_vendorarch}/auto/Xfce4 | |
154 | %dir %{perl_vendorarch}/auto/Xfce4/Xfconf | |
155 | %{perl_vendorarch}/auto/Xfce4/Xfconf/*.bs | |
156 | %{_mandir}/man3/Xfce4::Xfconf.3pm* |