]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- fix underquote in gconf.m4
[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 Summary(ru):    óÉÓÔÅÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ Gnome
5 Name:           GConf2
6 Version:        2.4.0.1
7 Release:        2
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/GConf/2.4/GConf-%{version}.tar.bz2
11 # Source0-md5:  2f7548d0bad24d7c4beba54d0ec98a20
12 Patch0:         %{name}-NO_MAJOR_VERSION.patch
13 Patch1:         %{name}-am.patch
14 Patch2:         %{name}-path.patch
15 Patch3:         %{name}-am18.patch
16 URL:            http://www.gnome.org/
17 BuildRequires:  ORBit2-devel >= 2.8.0
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  freetype-devel >= 2.1.4
21 BuildRequires:  gettext-devel
22 BuildRequires:  gtk+2-devel >= 2.2.0
23 BuildRequires:  gtk-doc
24 BuildRequires:  glib2-devel >= 2.2.0
25 BuildRequires:  libbonobo >= 2.4.0
26 BuildRequires:  libtool
27 BuildRequires:  libxml2-devel >= 2.0
28 BuildRequires:  pkgconfig
29 BuildRequires:  popt-devel
30 BuildRequires:  xft-devel >= 2.1.2
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Obsoletes:      libGConf2
33
34 %description
35 GConf2 is a configuration database system, functionally similar to the
36 Windows registry but lots better. :-) It's being written for the
37 GNOME2 desktop but does not require GNOME2; configure should notice if
38 GNOME2 is not installed and compile the basic GConf2 library anyway.
39
40 %description -l pl
41 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
42 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
43 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
44 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
45
46 %description -l pt_BR
47 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
48
49 %package devel
50 Summary:        GConf2 includes, etc
51 Summary(pl):    Pliki nag³ówkowe GConf2
52 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
53 Group:          X11/Development/Libraries
54 Requires:       %{name} = %{version}
55 Requires:       ORBit2-devel
56 Requires:       gtk-doc-common
57 Requires:       libbonobo-devel
58 Requires:       libxml2-devel
59 Obsoletes:      libGConf2-devel
60
61 %description devel
62 GConf2 includes etc.
63
64 %description devel -l pl
65 Pliki nag³ówkowe GConf2.
66
67 %description devel -l pt_BR
68 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
69
70 %package static
71 Summary:        GConf2 static libraries
72 Summary(pl):    Biblioteki statyczne GConf2
73 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
74 Group:          X11/Development/Libraries
75 Requires:       %{name}-devel = %{version}
76
77 %description static
78 GConf2 static libraries.
79
80 %description static -l pl
81 Biblioteki statyczne GConf2.
82
83 %description static -l pt_BR
84 Bibliotecas estáticas para desenvolvimento com gconf
85
86 %prep
87 %setup -q -n GConf-%{version}
88 %patch0 -p1
89 %patch1 -p1
90 %patch2 -p1
91 %patch3 -p1
92
93 %build
94 rm -f missing acinclude.m4
95 glib-gettextize --copy --force
96 %{__libtoolize}
97 %{__aclocal}
98 %{__autoheader}
99 %{__automake}
100 %{__autoconf}
101 %configure \
102         --with-html-dir=%{_gtkdocdir} \
103 %ifarch ppc
104         --disable-gtk-doc
105 %else
106         --enable-gtk-doc
107 %endif
108
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
119
120 %find_lang %{name}
121
122 # no *.{la,a} for modules - shut up check-files
123 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %post   -p /sbin/ldconfig
129 %postun -p /sbin/ldconfig
130
131 %files -f %{name}.lang
132 %defattr(644,root,root,755)
133 %doc AUTHORS README
134 %attr(755,root,root) %{_bindir}/gconf*
135 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
136 %attr(755,root,root) %{_libdir}/gconfd-2
137 %attr(755,root,root) %{_libdir}/lib*.so.*.*
138 %dir %{_libdir}/GConf2
139 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
140 %{_sysconfdir}/gconf
141 %{_datadir}/sgml/gconf
142
143 %files devel
144 %defattr(644,root,root,755)
145 %doc ChangeLog TODO
146 %doc %{_gtkdocdir}/gconf
147 %attr(755,root,root) %{_libdir}/lib*.so
148 %{_libdir}/lib*.la
149 %{_includedir}/gconf2
150 %{_aclocaldir}/*.m4
151 %{_pkgconfigdir}/*.pc
152
153 %files static
154 %defattr(644,root,root,755)
155 %{_libdir}/lib*.a
This page took 0.033926 seconds and 3 git commands to generate.