]> git.pld-linux.org Git - SPECS.git/blob - oaf.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / oaf.spec
1 Summary:        OAF - Objects activated by factories library
2 Summary(ko.UTF-8):      그놈용 객체 활성 구조
3 Summary(pl.UTF-8):      Biblioteka OAF
4 Summary(pt_BR.UTF-8):   Sistema de ativação de objetos para o GNOME
5 Summary(ru.UTF-8):      OAF - система активации объектов GNOME
6 Summary(uk.UTF-8):      OAF - система активації об'єктів GNOME
7 Name:           oaf
8 Version:        0.6.10
9 Release:        9
10 License:        LGPL v2+ (library), GPL v2+ (programs)
11 Group:          X11/Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/oaf/0.6/%{name}-%{version}.tar.bz2
13 # Source0-md5:  ed9aa2ceb70bba34034b3134b22d2729
14 Patch0:         %{name}-default-search-path.patch
15 Patch1:         %{name}-am18.patch
16 Patch2:         %{name}-locale-names.patch
17 BuildRequires:  ORBit-devel >= 0.5.1
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  flex
21 BuildRequires:  gettext-tools
22 BuildRequires:  gtk-doc
23 BuildRequires:  glib-devel >= 1.2.0
24 BuildRequires:  intltool
25 BuildRequires:  libtool
26 BuildRequires:  libwrap-devel
27 BuildRequires:  libxml-devel
28 BuildRequires:  popt-devel >= 1.5
29 BuildRequires:  sed >= 4.0
30 Requires(post,postun):  /sbin/ldconfig
31 Requires(post,postun):  scrollkeeper
32 Obsoletes:      liboaf0
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _sysconfdir     /etc/X11/GNOME
36
37 %description
38 Objects activated by factories library for GNOME. It uses ORBit.
39
40 %description -l pl.UTF-8
41 Obiekty aktywowane przez agentów dla GNOME. Używa ORBit-a.
42
43 %description -l pt_BR.UTF-8
44 Sistema de ativação de objetos para o GNOME. Usa o ORBit.
45
46 %description -l ru.UTF-8
47 OAF (Object Activation Framework) предоставляет механизм активации для
48 компонентов GNOME. Это замена GOAD для платформы GNOME 2.
49
50 %description -l uk.UTF-8
51 OAF (Object Activation Framework) надає механізм активації для
52 компонентів GNOME. Це заміна GOAD для платформи GNOME 2.
53
54 %package devel
55 Summary:        Header files etc to develop oaf applications
56 Summary(ko.UTF-8):      OAF를 위한 라이브러리와 헤더 파일
57 Summary(pl.UTF-8):      Pliki nagłówkowe i inne do oaf
58 Summary(pt_BR.UTF-8):   Bibliotecas e arquivos de inclusão para o OAF
59 Summary(ru.UTF-8):      Файлы для разработки программ с использованием OAF
60 Summary(uk.UTF-8):      Файли для розробки програм з використанням OAF
61 License:        LGPL v2+
62 Group:          X11/Development/Libraries
63 Requires:       %{name} = %{version}-%{release}
64 Requires:       ORBit-devel >= 0.5.1
65 Requires:       glib-devel >= 1.2.0
66 Requires:       popt-devel >= 1.5
67 Obsoletes:      liboaf0-devel
68
69 %description devel
70 Header files etc you can use to develop oaf applications.
71
72 %description devel -l pl.UTF-8
73 Pakiet ten zawiera pliki nagłówkowe i inne do oaf niezbędne przy
74 tworzeniu aplikacji opartych o tą bibliotekę.
75
76 %description devel -l pt_BR.UTF-8
77 Bibliotecas e arquivos de inclusão para o OAF.
78
79 %description devel -l ru.UTF-8
80 Этот пакет содержит файлы, необходимые для разработки программ,
81 использующих OAF.
82
83 %description devel -l uk.UTF-8
84 Цей пакет містить файли, необхідні для розробки програм, які
85 використовують OAF.
86
87 %package static
88 Summary:        Static oaf libraries
89 Summary(es.UTF-8):      Libraries estáticas for OAF
90 Summary(pl.UTF-8):      Biblioteka statyczna oaf
91 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para o OAF
92 License:        LGPL v2+
93 Group:          X11/Development/Libraries
94 Requires:       %{name}-devel = %{version}-%{release}
95
96 %description static
97 Static oaf libraries.
98
99 %description static -l es.UTF-8
100 Libraries estáticas for OAF.
101
102 %description static -l pl.UTF-8
103 Biblioteka statyczna oaf.
104
105 %description static -l pt_BR.UTF-8
106 Bibliotecas estáticas para o OAF.
107
108 %prep
109 %setup -q
110 %patch0 -p1
111 %patch1 -p1
112 %patch2 -p1
113
114 mv -f po/{no,nb}.po
115
116 %build
117 sed -i s/AM_GNU_OAF_GETTEXT/AM_GNU_GETTEXT/ configure.in
118 xml-i18n-toolize --copy --force
119 %{__libtoolize}
120 %{__gettextize}
121 %{__aclocal}
122 %{__autoconf}
123 %{__automake}
124 %configure \
125         --enable-static \
126         --disable-gtk-doc \
127         --enable-more-warnings=no
128 %{__make}
129
130 %install
131 rm -rf $RPM_BUILD_ROOT
132
133 %{__make} install \
134         DESTDIR=$RPM_BUILD_ROOT \
135         m4datadir=%{_aclocaldir}
136
137 %find_lang %{name}
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %post
143 /sbin/ldconfig
144 /usr/bin/scrollkeeper-update
145
146 %postun
147 /sbin/ldconfig
148 /usr/bin/scrollkeeper-update
149
150 %files -f %{name}.lang
151 %defattr(644,root,root,755)
152 %doc AUTHORS ChangeLog NEWS README TODO oaf-config.xml.sample
153 %attr(755,root,root) %{_bindir}/oaf-[!c]*
154 %attr(755,root,root) %{_bindir}/oaf-client
155 %attr(755,root,root) %{_bindir}/oafd
156 %attr(755,root,root) %{_libdir}/lib*.so.*.*
157 %{_datadir}/oaf
158 %{_datadir}/idl/*
159 %{_mandir}/man1/*
160 %dir %{_sysconfdir}/oaf
161 %config(noreplace) %{_sysconfdir}/oaf/*.xml
162
163 %files devel
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_bindir}/oaf-config
166 %attr(755,root,root) %{_libdir}/lib*.so
167 %{_libdir}/lib*.la
168 %attr(755,root,root) %{_libdir}/*.sh
169 %{_includedir}/liboaf
170 %{_aclocaldir}/oaf.m4
171
172 %files static
173 %defattr(644,root,root,755)
174 %{_libdir}/lib*.a
This page took 0.65535 seconds and 3 git commands to generate.