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