]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- merged deps update from AC-branch
[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:        4
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.13.2
24 BuildRequires:  autoconf
25 BuildRequires:  automake >= 1:1.7
26 BuildRequires:  gettext-devel
27 BuildRequires:  glib2-devel >= 1:2.10.2
28 BuildRequires:  gtk+2-devel >= 2:2.8.3
29 BuildRequires:  gtk-doc >= 1.4-2
30 BuildRequires:  libtool
31 BuildRequires:  libxml2-devel >= 1:2.6.21
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.10.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.21
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 %prep
117 %setup -q -n GConf-%{version}
118 %patch0 -p1
119 %patch1 -p1
120
121 %build
122 %{__glib_gettextize}
123 %{__libtoolize}
124 %{__aclocal}
125 %{__autoheader}
126 %{__autoconf}
127 %{__automake}
128 %configure \
129         %{!?with_static_libs:--disable-static} \
130         --enable-gtk-doc \
131         --with-html-dir=%{_gtkdocdir}
132
133 %{__make}
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137 install -d $RPM_BUILD_ROOT%{_sysconfdir}{/gconf/schemas,/X11/xinit/xinitrc.d}
138
139 %{__make} install \
140         DESTDIR=$RPM_BUILD_ROOT
141
142 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/GConf2-merge-tree
143
144 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
145
146 %find_lang %{name}
147
148 # no *.{la,a} for modules - shut up check-files
149 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
150
151 %clean
152 rm -rf $RPM_BUILD_ROOT
153
154 %post   -p /sbin/ldconfig
155 %postun -p /sbin/ldconfig
156
157 %files -f %{name}.lang
158 %defattr(644,root,root,755)
159 %doc AUTHORS NEWS README
160 %attr(755,root,root) %{_bindir}/gconf*
161 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
162 %attr(755,root,root) %{_libdir}/gconfd-2
163 %attr(755,root,root) %{_libdir}/lib*.so.*.*
164 %dir %{_libdir}/GConf2
165 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-oldxml.so
166 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-xml.so
167 %dir %{_sysconfdir}/gconf
168 %dir %{_sysconfdir}/gconf/2
169 %{_sysconfdir}/gconf/gconf.xml.*
170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/path
171 %dir %{_sysconfdir}/gconf/schemas
172 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/*
173 %dir %{_datadir}/GConf
174 %dir %{_datadir}/GConf/schema
175 %{_datadir}/sgml/gconf
176 %{_mandir}/man1/*
177
178 %files devel
179 %defattr(644,root,root,755)
180 %doc ChangeLog TODO
181 %attr(755,root,root) %{_libdir}/lib*.so
182 %{_libdir}/lib*.la
183 %{_includedir}/gconf2
184 %{_aclocaldir}/*.m4
185 %{_pkgconfigdir}/*.pc
186 %{_gtkdocdir}/gconf
187
188 %if %{with static_libs}
189 %files static
190 %defattr(644,root,root,755)
191 %{_libdir}/lib*.a
192 %endif
193
194 %files backend-evoldap
195 %defattr(644,root,root,755)
196 %doc backends/README.evoldap
197 %attr(755,root,root) %{_libdir}/GConf2/libgconfbackend-evoldap.so
198 %{_datadir}/GConf/schema/evoldap.schema
199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gconf/2/evoldap.conf
This page took 0.079953 seconds and 4 git commands to generate.