]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- updated to 2.6.2
[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.6.2
7 Release:        1
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/GConf/2.6/GConf-%{version}.tar.bz2
11 # Source0-md5:  4d55a5f49306fac3208606fcfd4f74af
12 Patch0:         %{name}-NO_MAJOR_VERSION.patch
13 Patch1:         %{name}-am.patch
14 Patch2:         %{name}-path.patch
15 Patch3:         %{name}-locale-names.patch
16 URL:            http://www.gnome.org/
17 BuildRequires:  ORBit2-devel >= 1:2.10.2
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gettext-devel
21 BuildRequires:  gtk+2-devel >= 2:2.4.3
22 BuildRequires:  gtk-doc >= 0.6
23 BuildRequires:  libtool
24 BuildRequires:  libxml2-devel >= 2.0
25 BuildRequires:  perl-base
26 BuildRequires:  pkgconfig
27 BuildRequires:  popt-devel
28 Obsoletes:      libGConf2
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 GConf2 is a configuration database system, functionally similar to the
33 Windows registry but lots better. :-) It's being written for the
34 GNOME2 desktop but does not require GNOME2; configure should notice if
35 GNOME2 is not installed and compile the basic GConf2 library anyway.
36
37 %description -l pl
38 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
39 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
40 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
41 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
42
43 %description -l pt_BR
44 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
45
46 %package devel
47 Summary:        GConf2 includes, etc
48 Summary(pl):    Pliki nag³ówkowe GConf2
49 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
50 Group:          X11/Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       ORBit2-devel >= 1:2.10.2
53 Requires:       gtk-doc-common
54 Requires:       libxml2-devel >= 2.0
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}-%{release}
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 mv -f po/{no,nb}.po
90
91 %build
92 rm -f acinclude.m4
93 glib-gettextize --copy --force
94 %{__libtoolize}
95 %{__aclocal}
96 %{__autoheader}
97 %{__autoconf}
98 %{__automake}
99 %configure \
100         --with-html-dir=%{_gtkdocdir} \
101 %ifarch ppc
102         --disable-gtk-doc
103 %else
104         --enable-gtk-doc
105 %endif
106
107 %{__make}
108
109 %install
110 rm -rf $RPM_BUILD_ROOT
111 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
112
113 %{__make} install \
114         DESTDIR=$RPM_BUILD_ROOT
115
116 %find_lang %{name}
117
118 # no *.{la,a} for modules - shut up check-files
119 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post   -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc AUTHORS NEWS README
130 %attr(755,root,root) %{_bindir}/gconf*
131 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
132 %attr(755,root,root) %{_libdir}/gconfd-2
133 %attr(755,root,root) %{_libdir}/lib*.so.*.*
134 %dir %{_libdir}/GConf2
135 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
136 %{_sysconfdir}/gconf
137 %{_datadir}/sgml/gconf
138 %{_mandir}/man1/*
139
140 %files devel
141 %defattr(644,root,root,755)
142 %doc ChangeLog TODO
143 %attr(755,root,root) %{_libdir}/lib*.so
144 %{_libdir}/lib*.la
145 %{_includedir}/gconf2
146 %{_aclocaldir}/*.m4
147 %{_pkgconfigdir}/*.pc
148 %{_gtkdocdir}/gconf
149
150 %files static
151 %defattr(644,root,root,755)
152 %{_libdir}/lib*.a
This page took 0.089544 seconds and 3 git commands to generate.