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