]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- merge translation from ALT Linux.
[packages/GConf2.git] / GConf2.spec
1
2 %define         snap            20030330
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.1
10 Release:        1.%{snap}
11 License:        LGPL
12 Group:          X11/Applications
13 Source0:        %{name}-%{version}-%{snap}.tar.bz2
14 #Source0:       http://ftp.gnome.org/pub/GNOME/sources/GConf/2.3/GConf-%{version}.tar.bz2
15 Patch0:         %{name}-NO_MAJOR_VERSION.patch
16 Patch1:         %{name}-am.patch
17 Patch2:         %{name}-path.patch
18 URL:            http://www.gnome.org/
19 BuildRequires:  ORBit2-devel
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  bonobo-activation-devel >= 2.1.1
23 BuildRequires:  gettext-devel
24 BuildRequires:  gtk+2-devel >= 2.2.0
25 BuildRequires:  glib2-devel >= 2.2.0
26 BuildRequires:  freetype-devel
27 BuildRequires:  libtool
28 BuildRequires:  libxml2-devel
29 BuildRequires:  pkgconfig
30 BuildRequires:  popt-devel
31 BuildRequires:  Xft-devel >= 2.1-2
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Obsoletes:      libGConf2
34
35 %description
36 GConf2 is a configuration database system, functionally similar to the
37 Windows registry but lots better. :-) It's being written for the
38 GNOME2 desktop but does not require GNOME2; configure should notice if
39 GNOME2 is not installed and compile the basic GConf2 library anyway.
40
41 %description -l pl
42 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
43 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
44 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
45 wykryæ brak gnome i skompilowaæ tylko wersjê podstawow± GConf2.
46
47 %description -l pt_BR
48 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
49
50 %package devel
51 Summary:        GConf2 includes, etc
52 Summary(pl):    Pliki nag³ówkowe GConf2
53 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
54 Group:          X11/Development/Libraries
55 Requires:       %{name} = %{version}
56 Requires:       ORBit2-devel
57 Requires:       bonobo-activation-devel
58 Requires:       gtk-doc-common
59 Requires:       libxml2-devel
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}
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 %prep
88 %setup -q
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         HTML_DIR=%{_gtkdocdir} 
119         
120 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
121
122 %find_lang %{name}
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post   -p /sbin/ldconfig
128 %postun -p /sbin/ldconfig
129
130 %files -f %{name}.lang
131 %defattr(644,root,root,755)
132 %doc AUTHORS README
133 %attr(755,root,root) %{_bindir}/gconf*
134 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
135 %attr(755,root,root) %{_libdir}/gconfd-2
136 %attr(755,root,root) %{_libdir}/lib*.so.*.*
137 %dir %{_libdir}/GConf2
138 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
139 %{_sysconfdir}/gconf
140 %{_datadir}/sgml/gconf
141
142 %files devel
143 %defattr(644,root,root,755)
144 %doc ChangeLog TODO
145 %doc %{_gtkdocdir}/gconf
146 %{_libdir}/lib*.la
147 %attr(755,root,root) %{_libdir}/lib*.so
148 %{_libdir}/GConf2/lib*.la
149 %{_includedir}/gconf2
150 %{_aclocaldir}/*.m4
151 %{_pkgconfigdir}/*.pc
152
153 %files static
154 %defattr(644,root,root,755)
155 %{_libdir}/GConf2/lib*.a
156 %{_libdir}/lib*.a
This page took 0.046757 seconds and 3 git commands to generate.