]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- added path.patch
[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 Name:           GConf2
5 Version:        1.2.1
6 Release:        3
7 License:        LGPL
8 Group:          X11/Applications
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/GConf/GConf-%{version}.tar.bz2
10 Patch0:         %{name}-NO_MAJOR_VERSION.patch
11 Patch1:         %{name}-am.patch
12 Patch2:         %{name}-path.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  ORBit2-devel
15 BuildRequires:  bonobo-activation-devel >= 1.0.3
16 #BuildRequires: db3-devel
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+2-devel >= 2.0.6
19 BuildRequires:  glib2-devel >= 2.0.6
20 BuildRequires:  libxml2-devel
21 BuildRequires:  pkgconfig
22 BuildRequires:  popt-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Obsoletes:      libGConf2
25
26 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28 %define         _sysconfdir     /etc/X11/GNOME2
29 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
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 gnome 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}
52 Requires:       ORBit2-devel
53 Requires:       bonobo-activation-devel
54 Requires:       gtk-doc-common
55 Requires:       libxml2-devel
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}
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
89 %build
90 rm -f missing acinclude.m4
91 %{__libtoolize}
92 aclocal
93 %{__autoconf}
94 %{__automake}
95 %configure \
96         --enable-gtk-doc \
97         --with-html-dir=%{_gtkdocdir}
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
104 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT \
108         pkgconfigdir=%{_pkgconfigdir} \
109         HTML_DIR=%{_gtkdocdir} 
110         
111 %find_lang %{name}
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/gconf*
122 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
123 %attr(755,root,root) %{_libdir}/gconfd-2
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %dir %{_libdir}/GConf2
126 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
127 %{_sysconfdir}/gconf
128
129 %files devel
130 %defattr(644,root,root,755)
131 # outdated and almost empty
132 #doc NEWS
133 %doc AUTHORS ChangeLog TODO README
134 %attr(755,root,root) %{_libdir}/lib*.??
135 %attr(755,root,root) %{_libdir}/GConf2/lib*.la
136 %doc %{_gtkdocdir}/gconf
137 %{_includedir}/gconf2
138 %{_aclocaldir}/*.m4
139 %{_pkgconfigdir}/*.pc
140
141 %files static
142 %defattr(644,root,root,755)
143 %{_libdir}/GConf2/lib*.a
144 %{_libdir}/lib*.a
This page took 0.07637 seconds and 4 git commands to generate.