]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- remove gtk+2-devel and add bonobo-activation-devel, libxml2-devel to Requires list
[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.1.8
6 Release:        1
7 License:        LGPL
8 Group:          X11/Applications
9 Group(de):      X11/Applikationen
10 Group(es):      X11/Aplicaciones
11 Group(pl):      X11/Aplikacje
12 Group(pt_BR):   X11/Aplicações
13 Group(pt):      X11/Aplicações
14 Source0:        ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/GConf/GConf-%{version}.tar.bz2
15 Patch0:         %{name}-NO_MAJOR_VERSION.patch
16 URL:            http://www.gnome.org/
17 BuildRequires:  ORBit2-devel
18 BuildRequires:  bonobo-activation-devel
19 #BuildRequires: db3-devel
20 BuildRequires:  gtk+2-devel >= 1.3.14
21 BuildRequires:  libxml2-devel
22 BuildRequires:  pkgconfig
23 BuildRequires:  popt-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28 %define         _sysconfdir     /etc/X11/GNOME2
29
30 %description
31 GConf2 is a configuration database system, functionally similar to the
32 Windows registry but lots better. :-) It's being written for the
33 GNOME2 desktop but does not require GNOME2; configure should notice if
34 GNOME2 is not installed and compile the basic GConf2 library anyway.
35
36 %description -l pl
37 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
38 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
39 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
40 wykryæ brak gnome i skompilowaæ tylko wersjê podstawow± GConf2.
41
42 %description -l pt_BR
43 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
44
45 %package devel
46 Summary:        GConf2 includes, etc
47 Summary(pl):    Pliki nag³ówkowe GConf2
48 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
49 Group:          X11/Development/Libraries
50 Group(de):      X11/Entwicklung/Libraries
51 Group(es):      X11/Desarrollo/Bibliotecas
52 Group(fr):      X11/Development/Librairies
53 Group(pl):      X11/Programowanie/Biblioteki
54 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
55 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
56 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
57 Requires:       %{name} = %{version}
58 Requires:       ORBit2-devel
59 Requires:       bonobo-activation-devel
60 Requires:       libxml2-devel
61 Requires:       bonobo-activation-devel
62
63 %description devel
64 GConf2 includes etc.
65
66 %description devel -l pl
67 Pliki nag³ówkowe GConf2.
68
69 %description devel -l pt_BR
70 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
71
72 %package static
73 Summary:        GConf2 static libraries
74 Summary(pl):    Biblioteki statyczne GConf2
75 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
76 Group:          X11/Development/Libraries
77 Group(de):      X11/Entwicklung/Libraries
78 Group(es):      X11/Desarrollo/Bibliotecas
79 Group(fr):      X11/Development/Librairies
80 Group(pl):      X11/Programowanie/Biblioteki
81 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
82 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
83 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
84 Requires:       %{name}-devel = %{version}
85
86 %description static
87 GConf2 static libraries.
88
89 %description static -l pl
90 Biblioteki statyczne GConf2.
91
92 %description static -l pt_BR
93 Bibliotecas estáticas para desenvolvimento com gconf
94
95 %prep
96 %setup -q -n GConf-%{version}
97 %patch0 -p1
98
99 %build
100 rm -f missing acinclude.m4
101 libtoolize --copy --force
102 aclocal
103 autoconf
104 automake -a -c
105 %configure \
106         --enable-gtk-doc=no
107
108 %{__make}
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
113 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT \
117         pkgconfigdir=%{_pkgconfigdir}
118         
119 gzip -9nf AUTHORS ChangeLog TODO NEWS README
120
121 %find_lang %{name}
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 %attr(755,root,root) %{_bindir}/gconfd-2
132 %attr(755,root,root) %{_bindir}/gconftool-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
138 %files devel
139 %defattr(644,root,root,755)
140 %doc *gz
141 %attr(755,root,root) %{_libdir}/lib*.??
142 %attr(755,root,root) %{_libdir}/GConf2/lib*.la
143 %{_includedir}/gconf2
144 %{_aclocaldir}/*.m4
145 %{_pkgconfigdir}/*.pc
146
147 %files static
148 %defattr(644,root,root,755)
149 %{_libdir}/GConf2/lib*.a
150 %{_libdir}/lib*.a
This page took 0.044463 seconds and 4 git commands to generate.