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