]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
0ed8d147cce89486068cd0a00f1ef6b2dba592ce
[packages/GConf2.git] / GConf2.spec
1
2 %define         snap            20030618
3
4 Summary:        GNOME2 configuration database system
5 Summary(pl):    System konfiguracyjnej bazy danych dla GNOME2
6 Summary(pt_BR): Sistema de Configuração do GNOME2
7 Summary(ru):    óÉÓÔÅÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ Gnome
8 Name:           GConf2
9 Version:        2.3.2
10 Release:        1.%{snap}
11 License:        LGPL
12 Group:          X11/Applications
13 #Source0:       http://ftp.gnome.org/pub/GNOME/sources/GConf/2.3/GConf-%{version}.tar.bz2
14 Source0:        GConf-%{version}-%{snap}.tar.bz2
15 # Source0-md5:  1d15244516a6a855490aa10e978a92b4
16 Patch0:         %{name}-NO_MAJOR_VERSION.patch
17 Patch1:         %{name}-am.patch
18 Patch2:         %{name}-path.patch
19 URL:            http://www.gnome.org/
20 BuildRequires:  ORBit2-devel
21 BuildRequires:  Xft-devel >= 2.1-2
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  freetype-devel
25 BuildRequires:  gettext-devel
26 BuildRequires:  gtk+2-devel >= 2.2.0
27 BuildRequires:  glib2-devel >= 2.2.0
28 BuildRequires:  libbonobo >= 2.3.1-4
29 BuildRequires:  libtool
30 BuildRequires:  libxml2-devel
31 BuildRequires:  pkgconfig
32 BuildRequires:  popt-devel
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Obsoletes:      libGConf2
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 gnome 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}
57 Requires:       ORBit2-devel
58 Requires:       gtk-doc-common
59 Requires:       libbonobo-devel
60 Requires:       libxml2-devel
61 Obsoletes:      libGConf2-devel
62
63 %description devel
64 GConf2 includes etc.
65
66 %description devel -l pl
67 Pliki nag³ówkowe GConf2.
68
69 %description devel -l pt_BR
70 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
71
72 %package static
73 Summary:        GConf2 static libraries
74 Summary(pl):    Biblioteki statyczne GConf2
75 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
76 Group:          X11/Development/Libraries
77 Requires:       %{name}-devel = %{version}
78
79 %description static
80 GConf2 static libraries.
81
82 %description static -l pl
83 Biblioteki statyczne GConf2.
84
85 %description static -l pt_BR
86 Bibliotecas estáticas para desenvolvimento com gconf
87
88 %prep
89 %setup -q -n GConf-%{version}
90 %patch0 -p1
91 %patch1 -p1
92 %patch2 -p1
93
94 %build
95 rm -f missing acinclude.m4
96 glib-gettextize --copy --force
97 %{__libtoolize}
98 %{__aclocal}
99 %{__autoheader}
100 %{__automake}
101 %{__autoconf}
102 %configure \
103         --with-html-dir=%{_gtkdocdir} \
104 %ifarch ppc
105         --disable-gtk-doc 
106 %else
107         --enable-gtk-doc 
108 %endif
109
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
115
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT 
118         
119 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
120
121 %find_lang %{name}
122
123 # no *.{la,a} for modules - shut up check-files
124 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %post   -p /sbin/ldconfig
130 %postun -p /sbin/ldconfig
131
132 %files -f %{name}.lang
133 %defattr(644,root,root,755)
134 %doc AUTHORS README
135 %attr(755,root,root) %{_bindir}/gconf*
136 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
137 %attr(755,root,root) %{_libdir}/gconfd-2
138 %attr(755,root,root) %{_libdir}/lib*.so.*.*
139 %dir %{_libdir}/GConf2
140 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
141 %{_sysconfdir}/gconf
142 %{_datadir}/sgml/gconf
143
144 %files devel
145 %defattr(644,root,root,755)
146 %doc ChangeLog TODO
147 %doc %{_gtkdocdir}/gconf
148 %attr(755,root,root) %{_libdir}/lib*.so
149 %{_libdir}/lib*.la
150 %{_includedir}/gconf2
151 %{_aclocaldir}/*.m4
152 %{_pkgconfigdir}/*.pc
153
154 %files static
155 %defattr(644,root,root,755)
156 %{_libdir}/lib*.a
This page took 0.054442 seconds and 3 git commands to generate.