]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- rel 6
[packages/GConf2.git] / GConf2.spec
1 #
2 # TODO:
3 # - update documentation to follow changes introduced in Patch0
4 #
5 # Conditional build:
6 %bcond_without  static_libs     # don't build static libraries
7 #
8 Summary:        GNOME2 configuration database system
9 Summary(pl):    System konfiguracyjnej bazy danych dla GNOME 2
10 Summary(pt_BR): Sistema de Configuração do GNOME 2
11 Summary(ru):    óÉÓÔÅÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ GNOME 2
12 Name:           GConf2
13 Version:        2.14.0
14 Release:        6
15 License:        LGPL
16 Group:          X11/Applications
17 Source0:        http://ftp.gnome.org/pub/gnome/sources/GConf/2.14/GConf-%{version}.tar.bz2
18 # Source0-md5:  d07c2efcaf477cf34225c604a04b6271
19 Source1:        %{name}-merge-tree.xinit
20 Patch0:         %{name}-NO_MAJOR_VERSION.patch
21 Patch1:         %{name}-path.patch
22 URL:            http://www.gnome.org/
23 BuildRequires:  ORBit2-devel >= 1:2.14.0
24 BuildRequires:  autoconf
25 BuildRequires:  automake >= 1:1.7
26 BuildRequires:  gettext-devel
27 BuildRequires:  glib2-devel >= 1:2.11.2
28 BuildRequires:  gtk+2-devel >= 2:2.9.2
29 BuildRequires:  gtk-doc >= 1.4-2
30 BuildRequires:  libtool
31 BuildRequires:  libxml2-devel >= 1:2.6.25
32 BuildRequires:  openldap-devel
33 BuildRequires:  perl-base
34 BuildRequires:  pkgconfig
35 BuildRequires:  popt-devel
36 BuildRequires:  rpmbuild(macros) >= 1.197
37 Requires:       ORBit2 >= 1:2.14.0
38 Requires:       glib2 >= 1:2.11.2
39 Obsoletes:      libGConf2
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 GConf2 is a configuration database system, functionally similar to the
44 Windows registry but lots better. :-) It's being written for the
45 GNOME2 desktop but does not require GNOME2; configure should notice if
46 GNOME2 is not installed and compile the basic GConf2 library anyway.
47
48 %description -l pl
49 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
50 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
51 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
52 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
53
54 %description -l pt_BR
55 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
56
57 %package devel
58 Summary:        GConf2 includes, etc
59 Summary(pl):    Pliki nag³ówkowe GConf2
60 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
61 Group:          X11/Development/Libraries
62 Requires:       %{name} = %{version}-%{release}
63 Requires:       ORBit2-devel >= 1:2.14.0
64 Requires:       gtk-doc-common
65 Requires:       libxml2-devel >= 1:2.6.25
66 Obsoletes:      libGConf2-devel
67
68 %description devel
69 GConf2 includes etc.
70
71 %description devel -l pl
72 Pliki nag³ówkowe GConf2.
73
74 %description devel -l pt_BR
75 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
76
77 %package static
78 Summary:        GConf2 static libraries
79 Summary(pl):    Biblioteki statyczne GConf2
80 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
81 Group:          X11/Development/Libraries
82 Requires:       %{name}-devel = %{version}-%{release}
83
84 %description static
85 GConf2 static libraries.
86
87 %description static -l pl
88 Biblioteki statyczne GConf2.
89
90 %description static -l pt_BR
91 Bibliotecas estáticas para desenvolvimento com gconf
92
93 %package backend-evoldap
94 Summary:        Evolution Data Sources LDAP backend for GConf
95 Summary(pl):    Backend LDAP ¼róde³ danych Evolution dla GConfa
96 Group:          Libraries
97 Requires:       %{name} = %{version}-%{release}
98
99 %description backend-evoldap
100 This is a special-purpose backend for GConf which enables default mail
101 accounts, addressbooks and calendars for Evolution to be configured
102 using each user's LDAP entry. By setting each user's mail address,
103 incoming/outgoing mail server addresses and addressbook/calendar
104 addresses in the user's LDAP entry, Evolution will be automatically
105 configured to use these addresses.
106
107 %description backend-evoldap -l pl
108 To jest backend GConfa specjalnego przeznaczenia, pozwalaj±cy na
109 konfigurowanie domy¶lnych kont pocztowych, ksi±¿ek adresowych i
110 kalendarzy dla Evolution przy u¿yciu wpisu LDAP dla ka¿dego
111 u¿ytkownika. Poprzez ustawienie ka¿demu u¿ytkownikowi adres pocztowy,
112 adresy serwerów poczty przychodz±cej/wychodz±cej oraz adresy ksi±¿ki
113 adresowej i kalendarza w jego wpisie LDAP, Evolution zostanie
114 automatycznie skonfigurowane do u¿ywania tych adresów.
115
116 %package xinitrc
117 Summary:        GConf xinitrc scripts
118 Summary(pl):    Skrypty xinitrc GConfa
119 Group:          X11
120 Requires:       xinitrc
121
122 %description xinitrc
123 This is a script for xinit-rc, which monitors users .gconf dir, merging it into single tree if neceserry or creates a new default one.
124
125 %description xinitrc -l pl
126 To jest skrypt dla xinit-rc, który monitoruje katalog .gconf u¿ytkowników, spajaj±c go w pojedyncze drzewo, gdy to koniecznie, lub tworz±c nowe, domy¶lne.
127
128 %prep
129 %setup -q -n GConf-%{version}
130 %patch0 -p1
131 %patch1 -p1
132
133 %build
134 %{__gtkdocize}
135 %{__glib_gettextize}
136 %{__libtoolize}
137 %{__aclocal}
138 %{__autoheader}
139 %{__autoconf}
140 %{__automake}
141 %configure \
142         %{!?with_static_libs:--disable-static} \
143         --enable-gtk-doc \
144         --with-html-dir=%{_gtkdocdir}
145
146 %{__make}
147
148 %install
149 rm -rf $RPM_BUILD_ROOT
150 install -d $RPM_BUILD_ROOT%{_sysconfdir}{/gconf/schemas,/X11/xinit/xinitrc.d}
151
152 %{__make} install \
153         DESTDIR=$RPM_BUILD_ROOT
154
155 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/GConf2-merge-tree
156
157 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
158
159 %find_lang %{name}
160
161 # no *.{la,a} for modules - shut up check-files
162 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
163
164 %clean
165 rm -rf $RPM_BUILD_ROOT
166
167 %post   -p /sbin/ldconfig
168 %postun -p /sbin/ldconfig
169
170 %files -f %{name}.lang
171 %defattr(644,root,root,755)
172 %doc AUTHORS NEWS README
173 %attr(755,root,root) %{_bindir}/gconf*
174 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
175 %attr(755,root,root) %{_libdir}/gconfd-2
176 %attr(755,root,root) %{_libdir}/lib*.so.*.*
177 %dir %{_libdir}/GConf2
178 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-oldxml.so
179 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-xml.so
180 %dir %{_sysconfdir}/gconf
181 %dir %{_sysconfdir}/gconf/2
182 %{_sysconfdir}/gconf/gconf.xml.*
183 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/path
184 %dir %{_sysconfdir}/gconf/schemas
185 %dir %{_datadir}/GConf
186 %dir %{_datadir}/GConf/schema
187 %{_datadir}/sgml/gconf
188 %{_mandir}/man1/*
189
190 %files devel
191 %defattr(644,root,root,755)
192 %doc ChangeLog TODO
193 %attr(755,root,root) %{_libdir}/lib*.so
194 %{_libdir}/lib*.la
195 %{_includedir}/gconf2
196 %{_aclocaldir}/*.m4
197 %{_pkgconfigdir}/*.pc
198 %{_gtkdocdir}/gconf
199
200 %if %{with static_libs}
201 %files static
202 %defattr(644,root,root,755)
203 %{_libdir}/lib*.a
204 %endif
205
206 %files backend-evoldap
207 %defattr(644,root,root,755)
208 %doc backends/README.evoldap
209 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-evoldap.so
210 %{_datadir}/GConf/schema/evoldap.schema
211 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/2/evoldap.conf
212
213 %files xinitrc
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/*
This page took 0.094175 seconds and 3 git commands to generate.