source: projects/synaptic/trunk/synaptic-redhat.spec @ 280

Revision 280, 8.7 KB checked in by yasumichi, 13 years ago (diff)

first import

Line 
1# $Id: synaptic.spec,v 1.19 2003/08/12 14:41:38 dude Exp $
2
3%define desktop_vendor synaptic-team
4
5Summary: Graphical package management program using apt.
6Name: synaptic
7Version: 0.55.4
8Release: 1
9License: GPL
10Group: Applications/System
11Source: http://savannah.nongnu.org/download/synaptic/synaptic.pkg/%{version}/%{name}-%{version}.tar.gz
12URL: http://www.nongnu.org/synaptic/
13BuildRoot: %{_tmppath}/%{name}-root
14Requires: apt >= 0.5.4, usermode, gtk2, libglade2,scrollkeeper
15Requires: libstdc++
16BuildRequires: apt-devel, rpm-devel, gtk2-devel, libglade2-devel
17BuildRequires: libstdc++-devel, desktop-file-utils, sed, xmlto
18BuildRequires: scrollkeeper, intltool
19
20%description
21Synaptic is a graphical package management tool based on GTK+ and APT.
22Synaptic enables you to install, upgrade and remove software packages in
23a user friendly way.
24
25Besides these basic functions the following features are provided:
26 * Search and filter the list of available packages
27 * Perform smart system upgrades
28 * Fix broken package dependencies
29 * Edit the list of used repositories (sources.list)
30 * Download the latest changelog of a package
31 * Configure packages through the debconf system
32 * Browse all available documentation related to a package (dwww is required)
33
34%post
35scrollkeeper-update
36 
37%postun
38scrollkeeper-update
39
40%prep
41%setup -q
42
43%build
44%configure
45make %{?_smp_mflags}
46
47%install
48rm -fr %{buildroot}
49make install DESTDIR=%{buildroot}
50%find_lang %{name}
51
52mkdir -p %{buildroot}%{_bindir}
53ln -s %{_bindir}/consolehelper %{buildroot}%{_bindir}/synaptic
54
55mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
56cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/synaptic
57USER=root
58PROGRAM=%{_sbindir}/synaptic
59SESSION=true
60FALLBACK=false
61EOF
62
63mkdir -p %{buildroot}%{_sysconfdir}/pam.d
64cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/synaptic
65#%PAM-1.0
66auth       sufficient   pam_rootok.so
67auth       sufficient   pam_timestamp.so
68auth       required     pam_stack.so service=system-auth
69session    required     pam_permit.so
70session    optional     pam_xauth.so
71session    optional     pam_timestamp.so
72account    required     pam_permit.so
73EOF
74
75# Remove the default menu entry and install our own
76rm -f %{buildroot}%{_datadir}/gnome/apps/System/%{name}.desktop
77
78mkdir -p %{buildroot}%{_datadir}/applications
79
80sed -e "s/(^Exec=.*$\n)|(^Icon=.*$\n)|(^Categories=.*$\n)//" \
81        data/%{name}.desktop \
82        > %{buildroot}%{_datadir}/applications/%{name}.desktop
83
84cat << EOF >> %{buildroot}%{_datadir}/applications/%{name}.desktop
85Icon=%{_datadir}/%{name}/pixmaps/%{name}_48x48.png
86Exec=%{_bindir}/%{name}
87Categories=System;Application;SystemSetup;GTK;X-Red-Hat-Base;
88EOF
89
90%clean
91rm -rf %{buildroot}
92
93%files -f %{name}.lang
94%defattr(-, root, root)
95%doc AUTHORS ChangeLog COPYING NEWS README TODO
96%{_sysconfdir}/pam.d/%{name}
97%{_sysconfdir}/security/console.apps/%{name}
98%exclude %{_sysconfdir}/X11/sysconfig/%{name}.desktop
99%{_bindir}/%{name}
100%{_sbindir}/%{name}
101%{_datadir}/applications/%{name}.desktop
102%{_datadir}/%{name}
103%{_datadir}/gnome/help/synaptic
104%{_datadir}/omf/synaptic/synaptic-C.omf
105%{_mandir}/man8/%{name}.8*
106
107%changelog
108* Tue Dec 1 2003 Sebastian Heinlein <allerlei@renates-welt.de>
109- Update to 0.47
110
111* Tue Nov 17 2003 Sebastian Heinlein <allerlei@renates-welt.de>
112- Update to 0.46
113
114* Tue Aug 12 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
115- Update to 0.42.
116
117* Sun Aug  3 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
118- Update to 0.40.
119- Put back into "System tools" instead of "System settings".
120- Added control center file and excluded X11/sysconfig one.
121
122* Tue Apr 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
123- Update to 0.36.1.
124
125* Wed Apr  9 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
126- Update to 0.35.1.
127
128* Mon Mar 31 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
129- Update to 0.35.
130- Rebuilt for Red Hat Linux 9.
131
132* Tue Mar 11 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
133- Update to 0.32.
134                                                                               
135* Tue Jan 14 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
136- Update to 0.31.
137                                                                               
138* Thu Jan  2 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
139- Update to 0.30.
140                                                                               
141* Mon Dec  9 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
142- Update to 0.28.1.
143                                                                               
144* Mon Oct 21 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
145- Update to 0.25.
146- New icon, thanks to Alan Cramer.
147
148* Mon Sep 30 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
149- Update to 0.24.1.
150
151* Thu Sep 26 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
152- Update to 0.24.
153- Rebuilt for Red Hat Linux 8.0.
154- Major spec file cleanup since the app now uses apt 0.5, gtk+ etc.
155- Use the redhat-config-packages icon.
156- Menu entry now uses the freedesktop approach.
157- Use timestamp too in the pam file.
158
159* Tue May  7 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
160- Removed the libPropList dependency.
161- Changed pam entry and console.apps entry.
162
163* Thu May  2 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
164- Rebuilt against Red Hat Linux 7.3.
165- Added the %{?_smp_mflags} expansion.
166
167* Fri Mar 22 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
168- Spec file cleanup for Red Hat Linux 7.2.
169
170* Tue Nov 13 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
171+ synaptic-0.16-1cl
172- nothing new, 0.16 is for apt 0.5 support
173
174* Sun Jul  1 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
175+ synaptic-0.15-1cl
176- auto-fix broken dependencies on Upgrade/Install package (closes: #3967)
177- always create config dir in /root
178
179* Sat Jun 30 2001 Osvaldo Santana Neto <osvaldo@conectiva.com>
180+ synaptic-0.14-3cl
181- added icon in desktop (Closes: #3955)
182
183* Sat Jun 30 2001 Osvaldo Santana Neto <osvaldo@conectiva.com>
184+ synaptic-0.14-2cl
185- added icon tag in menu descriptor (Closes: #3955)
186
187* Thu Jun 28 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
188+ synaptic-0.14-1cl
189- fixed show summary dialog (closes: #4007)
190- fixed broken texts (closes: #4006)
191- updated pt_BR potfile
192
193* Wed Jun 27 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
194+ synaptic-0.13-1cl
195- fixed some stuff in filter editor
196- added default task filter
197- fixed crash when changing filter (closes: #3959)
198
199
200* Tue Jun 26 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
201+ synaptic-0.12-1cl
202- added consolehelper support
203- added menu (closes: #1369)
204- reassigned icons credits to KDE ppl
205- added little note to config window (closes: #1282)
206
207* Wed Jun 20 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
208+ synaptic-0.11-1cl
209- changed pkg fetch error message (closes: #1306)
210- compiled against new apt (closes: #3256)
211- compiled against patched wmaker (closes: #3291, #3370, #3235)
212- added new potfiles (closes: #1614, #3072)
213- fixed locale setting
214
215
216* Fri May 18 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
217+ synaptic-0.10-1cl
218- fixed various glitches (closes: #3235)
219- bug fixed by new apt (closes: #3068)
220
221* Tue May 14 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
222+ synaptic-0.9-1cl
223- no longer reset package selection state when download only option is set
224  (closes: #1307)
225- added tooltips
226- replaced N/A -> "" in version field in package list (closes: #1277)
227- fixed bug in error dialogs (closes: #1280)
228- added about dlg close btn (closes: #1285)
229- s/Scratch Filter/Search Filter/ (closes: #1283)
230- recompiled (closes: #1559)
231- recompiled against new wmaker (closes: #1309, #1428, #3031)
232- fixed bug when listing too many packages
233- did some magick (closes: #2818)
234- fixed filter button bug (closes: #1332)
235
236* Sat Apr 28 2001 Arnaldo Carvalho de Melo <acme@conectiva.com>
237+ synaptic-0.8-4cl
238- minor spec changes for policy compliance
239- BuildRequires libbz2-devel, not bzip2-devel
240
241* Fri Mar 23 2001 Conectiva <dist@conectiva.com>
242+ synaptic-0.8-2cl
243- rebuilt with newer rpm
244
245* Wed Feb 21 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
246+ synaptic-0.8-2cl
247- recompiled (closes: #1559)
248
249* Wed Feb 14 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
250+ synaptic-0.8-1cl
251- first official release (closes: #1417)
252
253* Wed Jan 24 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
254+ synaptic-0.7-1cl
255- i18n
256- pt_BR
257
258* Wed Jan 24 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
259+ synaptic-0.6-1cl
260- depends on apt cnc32
261
262* Thu Jan 23 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
263+ synaptic-0.5-1cl
264- renamed from raptor to Synaptic
265
266* Mon Jan 22 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
267+ raptor-0.4-1cl
268
269* Tue Jan 18 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
270+ raptor-0.3-1cl
271
272* Mon Jan 15 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
273+ raptor-0.2-1cl
274- release version 0.2 (first)
275
Note: See TracBrowser for help on using the repository browser.