]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
255f1c22060feb3ae897b47663d80449d9c0aa33
[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.0
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:  241ca25941e5bfa0f71725c30e17ab6e
12 Patch0:         %{name}-NO_MAJOR_VERSION.patch
13 Patch1:         %{name}-am.patch
14 Patch2:         %{name}-path.patch
15 Patch3:         %{name}-am18.patch
16 Patch4:         %{name}-locale-names.patch
17 URL:            http://www.gnome.org/
18 BuildRequires:  ORBit2-devel >= 1:2.10.0
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  gettext-devel
22 BuildRequires:  gtk+2-devel >= 2:2.4.0
23 BuildRequires:  gtk-doc >= 0.6
24 BuildRequires:  libtool
25 BuildRequires:  libxml2-devel >= 2.0
26 BuildRequires:  perl-base
27 BuildRequires:  pkgconfig
28 BuildRequires:  popt-devel
29 Obsoletes:      libGConf2
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 GConf2 is a configuration database system, functionally similar to the
34 Windows registry but lots better. :-) It's being written for the
35 GNOME2 desktop but does not require GNOME2; configure should notice if
36 GNOME2 is not installed and compile the basic GConf2 library anyway.
37
38 %description -l pl
39 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
40 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
41 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
42 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
43
44 %description -l pt_BR
45 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
46
47 %package devel
48 Summary:        GConf2 includes, etc
49 Summary(pl):    Pliki nag³ówkowe GConf2
50 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
51 Group:          X11/Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53 Requires:       ORBit2-devel >= 1:2.10.0
54 Requires:       gtk-doc-common
55 Requires:       libxml2-devel >= 2.0
56 Obsoletes:      libGConf2-devel
57
58 %description devel
59 GConf2 includes etc.
60
61 %description devel -l pl
62 Pliki nag³ówkowe GConf2.
63
64 %description devel -l pt_BR
65 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
66
67 %package static
68 Summary:        GConf2 static libraries
69 Summary(pl):    Biblioteki statyczne GConf2
70 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
71 Group:          X11/Development/Libraries
72 Requires:       %{name}-devel = %{version}-%{release}
73
74 %description static
75 GConf2 static libraries.
76
77 %description static -l pl
78 Biblioteki statyczne GConf2.
79
80 %description static -l pt_BR
81 Bibliotecas estáticas para desenvolvimento com gconf
82
83 %prep
84 %setup -q -n GConf-%{version}
85 %patch0 -p1
86 %patch1 -p1
87 %patch2 -p1
88 %patch3 -p1
89 %patch4 -p1
90
91 mv -f po/{no,nb}.po
92
93 %build
94 rm -f acinclude.m4
95 glib-gettextize --copy --force
96 %{__libtoolize}
97 %{__aclocal}
98 %{__autoheader}
99 %{__autoconf}
100 %{__automake}
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%{_sysconfdir}/gconf/schemas
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 %find_lang %{name}
119
120 # no *.{la,a} for modules - shut up check-files
121 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post   -p /sbin/ldconfig
127 %postun -p /sbin/ldconfig
128
129 %files -f %{name}.lang
130 %defattr(644,root,root,755)
131 %doc AUTHORS NEWS README
132 %attr(755,root,root) %{_bindir}/gconf*
133 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
134 %attr(755,root,root) %{_libdir}/gconfd-2
135 %attr(755,root,root) %{_libdir}/lib*.so.*.*
136 %dir %{_libdir}/GConf2
137 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
138 %{_sysconfdir}/gconf
139 %{_datadir}/sgml/gconf
140 %{_mandir}/man1/*
141
142 %files devel
143 %defattr(644,root,root,755)
144 %doc ChangeLog TODO
145 %attr(755,root,root) %{_libdir}/lib*.so
146 %{_libdir}/lib*.la
147 %{_includedir}/gconf2
148 %{_aclocaldir}/*.m4
149 %{_pkgconfigdir}/*.pc
150 %{_gtkdocdir}/gconf
151
152 %files static
153 %defattr(644,root,root,755)
154 %{_libdir}/lib*.a
This page took 0.054078 seconds and 3 git commands to generate.