]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- R parent GConf2 package for xinitrc subpackage
[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:       %{name} = %{version}-%{release}
121 Requires:       xinitrc
122
123 %description xinitrc
124 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.
125
126 %description xinitrc -l pl
127 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.
128
129 %prep
130 %setup -q -n GConf-%{version}
131 %patch0 -p1
132 %patch1 -p1
133
134 %build
135 %{__gtkdocize}
136 %{__glib_gettextize}
137 %{__libtoolize}
138 %{__aclocal}
139 %{__autoheader}
140 %{__autoconf}
141 %{__automake}
142 %configure \
143         %{!?with_static_libs:--disable-static} \
144         --enable-gtk-doc \
145         --with-html-dir=%{_gtkdocdir}
146
147 %{__make}
148
149 %install
150 rm -rf $RPM_BUILD_ROOT
151 install -d $RPM_BUILD_ROOT%{_sysconfdir}{/gconf/schemas,/X11/xinit/xinitrc.d}
152
153 %{__make} install \
154         DESTDIR=$RPM_BUILD_ROOT
155
156 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/GConf2-merge-tree
157
158 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
159
160 %find_lang %{name}
161
162 # no *.{la,a} for modules - shut up check-files
163 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post   -p /sbin/ldconfig
169 %postun -p /sbin/ldconfig
170
171 %files -f %{name}.lang
172 %defattr(644,root,root,755)
173 %doc AUTHORS NEWS README
174 %attr(755,root,root) %{_bindir}/gconf*
175 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
176 %attr(755,root,root) %{_libdir}/gconfd-2
177 %attr(755,root,root) %{_libdir}/lib*.so.*.*
178 %dir %{_libdir}/GConf2
179 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-oldxml.so
180 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-xml.so
181 %dir %{_sysconfdir}/gconf
182 %dir %{_sysconfdir}/gconf/2
183 %{_sysconfdir}/gconf/gconf.xml.*
184 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/path
185 %dir %{_sysconfdir}/gconf/schemas
186 %dir %{_datadir}/GConf
187 %dir %{_datadir}/GConf/schema
188 %{_datadir}/sgml/gconf
189 %{_mandir}/man1/*
190
191 %files devel
192 %defattr(644,root,root,755)
193 %doc ChangeLog TODO
194 %attr(755,root,root) %{_libdir}/lib*.so
195 %{_libdir}/lib*.la
196 %{_includedir}/gconf2
197 %{_aclocaldir}/*.m4
198 %{_pkgconfigdir}/*.pc
199 %{_gtkdocdir}/gconf
200
201 %if %{with static_libs}
202 %files static
203 %defattr(644,root,root,755)
204 %{_libdir}/lib*.a
205 %endif
206
207 %files backend-evoldap
208 %defattr(644,root,root,755)
209 %doc backends/README.evoldap
210 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-evoldap.so
211 %{_datadir}/GConf/schema/evoldap.schema
212 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/2/evoldap.conf
213
214 %files xinitrc
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/*
This page took 0.036449 seconds and 3 git commands to generate.