]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- added locale-names patch, rename no->nb
[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:        3
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 Patch4:         %{name}-locale-names.patch
17 URL:            http://www.gnome.org/
18 BuildRequires:  ORBit2-devel >= 2.8.0
19 BuildRequires:  autoconf
20 BuildRequires:  automake
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:  libtool
26 BuildRequires:  libxml2-devel >= 2.0
27 BuildRequires:  pkgconfig
28 BuildRequires:  popt-devel
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Obsoletes:      libGConf2
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 >= 2.8.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 %{__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.037528 seconds and 3 git commands to generate.