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