]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- merge unlock-dialog patch from rawhide (add dialog to offer to delete
[packages/GConf2.git] / GConf2.spec
1 Summary:        GNOME2 configuration database system
2 Summary(pl):    System konfiguracyjnej bazy danych dla GNOME2
3 Summary(pt_BR): Sistema de Configuração do GNOME2
4 Name:           GConf2
5 Version:        1.2.1
6 Release:        3
7 License:        LGPL
8 Group:          X11/Applications
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/GConf/GConf-%{version}.tar.bz2
10 Patch0:         %{name}-NO_MAJOR_VERSION.patch
11 Patch1:         %{name}-am.patch
12 Patch2:         %{name}-path.patch
13 Patch3:         %{name}-unlock-dialog.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  ORBit2-devel
16 BuildRequires:  bonobo-activation-devel >= 1.0.3
17 #BuildRequires: db3-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  gtk+2-devel >= 2.0.6
20 BuildRequires:  glib2-devel >= 2.0.6
21 BuildRequires:  libxml2-devel
22 BuildRequires:  pkgconfig
23 BuildRequires:  popt-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Obsoletes:      libGConf2
26
27 %define         _prefix         /usr/X11R6
28 %define         _mandir         %{_prefix}/man
29 %define         _sysconfdir     /etc/X11/GNOME2
30 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
31
32 %description
33 GConf2 is a configuration database system, functionally similar to the
34 Windows registry but lots better. :-) It's being written for the
35 GNOME2 desktop but does not require GNOME2; configure should notice if
36 GNOME2 is not installed and compile the basic GConf2 library anyway.
37
38 %description -l pl
39 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
40 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
41 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
42 wykryæ brak gnome i skompilowaæ tylko wersjê podstawow± GConf2.
43
44 %description -l pt_BR
45 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
46
47 %package devel
48 Summary:        GConf2 includes, etc
49 Summary(pl):    Pliki nag³ówkowe GConf2
50 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
51 Group:          X11/Development/Libraries
52 Requires:       %{name} = %{version}
53 Requires:       ORBit2-devel
54 Requires:       bonobo-activation-devel
55 Requires:       gtk-doc-common
56 Requires:       libxml2-devel
57 Obsoletes:      libGConf2-devel
58
59 %description devel
60 GConf2 includes etc.
61
62 %description devel -l pl
63 Pliki nag³ówkowe GConf2.
64
65 %description devel -l pt_BR
66 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
67
68 %package static
69 Summary:        GConf2 static libraries
70 Summary(pl):    Biblioteki statyczne GConf2
71 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
72 Group:          X11/Development/Libraries
73 Requires:       %{name}-devel = %{version}
74
75 %description static
76 GConf2 static libraries.
77
78 %description static -l pl
79 Biblioteki statyczne GConf2.
80
81 %description static -l pt_BR
82 Bibliotecas estáticas para desenvolvimento com gconf
83
84 %prep
85 %setup -q -n GConf-%{version}
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89 %patch3 -p1
90
91 %build
92 rm -f missing acinclude.m4
93 %{__libtoolize}
94 %{__aclocal}
95 %{__autoconf}
96 %{__automake}
97 %configure \
98         --enable-gtk-doc \
99         --with-html-dir=%{_gtkdocdir}
100
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
106
107 %{__make} install \
108         DESTDIR=$RPM_BUILD_ROOT \
109         pkgconfigdir=%{_pkgconfigdir} \
110         HTML_DIR=%{_gtkdocdir} 
111         
112 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
113
114 %find_lang %{name}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %post   -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
121
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/gconf*
125 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
126 %attr(755,root,root) %{_libdir}/gconfd-2
127 %attr(755,root,root) %{_libdir}/lib*.so.*.*
128 %dir %{_libdir}/GConf2
129 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
130 %{_sysconfdir}/gconf
131
132 %files devel
133 %defattr(644,root,root,755)
134 # outdated and almost empty
135 #doc NEWS
136 %doc AUTHORS ChangeLog TODO README
137 %attr(755,root,root) %{_libdir}/lib*.??
138 %attr(755,root,root) %{_libdir}/GConf2/lib*.la
139 %doc %{_gtkdocdir}/gconf
140 %{_includedir}/gconf2
141 %{_aclocaldir}/*.m4
142 %{_pkgconfigdir}/*.pc
143
144 %files static
145 %defattr(644,root,root,755)
146 %{_libdir}/GConf2/lib*.a
147 %{_libdir}/lib*.a
This page took 0.063383 seconds and 3 git commands to generate.