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

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

first import

Line 
1Name: synaptic
2Version: 0.20
3Release: 1cl
4Summary: WINGs based graphical front-end for APT
5Summary(pt_BR): Front-end gráfico para APT baseado em WINGs
6Summary(es): Front-end grafico para APT
7Group: Administration
8Group(pt_BR): Administração
9Group(es): Administración
10License: GPL
11Source0: %{name}-%{version}.tar.gz
12Source100: %{name}.menu
13Source101: %{name}-16.png
14Source102: %{name}-32.png
15Requires: apt >= 0.3.19cnc32
16Requires: usermode
17BuildRequires: rpm-devel >= 3.0.5, libbz2-devel, zlib-devel
18BuildRequires: WindowMaker-devel >= 0.65.0-2cl, libwraster-devel
19BuildRequires: apt-devel >= 0.3.19cnc32
20BuildRequires: gtk+-devel >= 1.2.0
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
23%description
24Synaptic is a graphical front-end for APT (Advanced Package Tool) written
25with the Window Maker toolkit (Gtk version also available).
26
27Instead of using trees to display packages, Synaptic is heavily based on a
28powerful package filtering system. That greatly simplifies the interface
29while giving a lot more flexibility to browse through very long package
30lists.
31
32%description -l pt_BR
33Synaptic é um front-end gráfico para o APT (Advanced Package Tool) escrito
34com o toolkit do Window Maker (versão em Gtk também disponível).
35
36Em vez de utilizar estruturas em árvore para mostrar os pacotes, Synaptic
37utiliza um sistema de filtro de pacotes, simplificando a interface e
38oferecendo mais flexibilidade quando houver um grande numero de pacotes
39listado.
40
41%prep
42%setup -q
43
44%build
45%configure
46make
47
48%install
49rm -fr %{buildroot}
50make install DESTDIR=%{buildroot}
51mkdir -p %{buildroot}%{_bindir}
52ln -s %{_bindir}/consolehelper %{buildroot}%{_bindir}/synaptic
53ln -s %{_bindir}/consolehelper %{buildroot}%{_bindir}/gsynaptic
54mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
55echo USER=root > %{buildroot}%{_sysconfdir}/security/console.apps/synaptic
56echo USER=root > %{buildroot}%{_sysconfdir}/security/console.apps/gsynaptic
57mkdir -p %{buildroot}%{_sysconfdir}/pam.d
58
59# menu
60mkdir -p %{buildroot}%{_menudir} \
61         %{buildroot}%{_datadir}/icons/mini
62install -m 644 %{_sourcedir}/%{name}.menu %{buildroot}%{_menudir}/%{name}
63cp -f %{_sourcedir}/%{name}-16.png %{buildroot}%{_datadir}/icons/mini/%{name}.png
64cp -f %{_sourcedir}/%{name}-32.png %{buildroot}%{_datadir}/icons/%{name}.png
65
66
67
68cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/synaptic
69#%PAM-1.0
70auth       sufficient   /lib/security/pam_rootok.so
71auth       required     /lib/security/pam_pwdb.so shadow nullok
72account    required     /lib/security/pam_pwdb.so
73EOF
74
75cp %{buildroot}%{_sysconfdir}/pam.d/synaptic %{buildroot}%{_sysconfdir}/pam.d/gsynaptic
76
77%post
78# menu
79%update_menus
80
81%postun
82# menu
83%clean_menus
84
85
86%clean
87rm -rf %{buildroot}
88
89%files
90%defattr(0644,root,root,755)
91%doc COPYING* README* TODO
92%defattr(755,root,root)
93%{_sbindir}/synaptic
94%{_bindir}/synaptic
95
96# menu
97%defattr(0644,root,root,0755)
98%{_sysconfdir}/security/console.apps/synaptic
99%{_sysconfdir}/pam.d/synaptic
100%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
101
102%{_menudir}/%{name}
103%{_datadir}/icons/%{name}.png
104%{_datadir}/icons/mini/%{name}.png
105
106
107%package gsynaptic
108Summary: Gtk based graphical front-end for APT
109Summary(pt_BR): Front-end gráfico para APT baseado em Gtk
110Summary(es): Front-end grafico para APT en Gtk
111Group: Administration
112Group(pt_BR): Administração
113Group(es): Administración
114Requires: apt >= 0.3.19cnc32
115Requires: usermode
116
117%description
118Synaptic is a graphical front-end for APT (Advanced Package Tool). This
119version is written with the Gtk toolkit.
120
121Instead of using trees to display packages, Synaptic is heavily based on a
122powerful package filtering system. That greatly simplifies the interface
123while giving a lot more flexibility to browse through very long package
124lists.
125
126%description -l pt_BR
127Synaptic é um front-end gráfico para o APT (Advanced Package Tool). Esta
128versão usa o toolkit Gtk.
129
130Em vez de utilizar estruturas em árvore para mostrar os pacotes, Synaptic
131utiliza um sistema de filtro de pacotes, simplificando a interface e
132oferecendo mais flexibilidade quando houver um grande numero de pacotes
133listado.
134
135%files
136%defattr(755,root,root)
137%{_sbindir}/gsynaptic
138%{_bindir}/gsynaptic
139
140# menu
141%defattr(0644,root,root,0755)
142%{_sysconfdir}/security/console.apps/gsynaptic
143%{_sysconfdir}/pam.d/gsynaptic
144%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
145
146%{_menudir}/%{name}
147%{_datadir}/icons/%{name}.png
148%{_datadir}/icons/mini/%{name}.png
149
150
151
152
153%changelog
154* Mon Dec 10 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
155+ synaptic-0.20-1cl
156- added the Gtk version
157- done some minor improvements
158
159* Fri Aug 10 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
160+ synaptic-0.16-1cl
161- nothing new, 0.16 is for apt 0.5 support
162
163* Sun Jul  1 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
164+ synaptic-0.15-1cl
165- auto-fix broken dependencies on Upgrade/Install package (closes: #3967)
166- always create config dir in /root
167
168* Sat Jun 30 2001 Osvaldo Santana Neto <osvaldo@conectiva.com>
169+ synaptic-0.14-3cl
170- added icon in desktop (Closes: #3955)
171
172* Sat Jun 30 2001 Osvaldo Santana Neto <osvaldo@conectiva.com>
173+ synaptic-0.14-2cl
174- added icon tag in menu descriptor (Closes: #3955)
175
176* Thu Jun 28 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
177+ synaptic-0.14-1cl
178- fixed show summary dialog (closes: #4007)
179- fixed broken texts (closes: #4006)
180- updated pt_BR potfile
181
182* Wed Jun 27 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
183+ synaptic-0.13-1cl
184- fixed some stuff in filter editor
185- added default task filter
186- fixed crash when changing filter (closes: #3959)
187
188
189* Tue Jun 26 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
190+ synaptic-0.12-1cl
191- added consolehelper support
192- added menu (closes: #1369)
193- reassigned icons credits to KDE ppl
194- added little note to config window (closes: #1282)
195
196* Wed Jun 20 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
197+ synaptic-0.11-1cl
198- changed pkg fetch error message (closes: #1306)
199- compiled against new apt (closes: #3256)
200- compiled against patched wmaker (closes: #3291, #3370, #3235)
201- added new potfiles (closes: #1614, #3072)
202- fixed locale setting
203
204
205* Fri May 18 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
206+ synaptic-0.10-1cl
207- fixed various glitches (closes: #3235)
208- bug fixed by new apt (closes: #3068)
209
210* Tue May 14 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
211+ synaptic-0.9-1cl
212- no longer reset package selection state when download only option is set
213  (closes: #1307)
214- added tooltips
215- replaced N/A -> "" in version field in package list (closes: #1277)
216- fixed bug in error dialogs (closes: #1280)
217- added about dlg close btn (closes: #1285)
218- s/Scratch Filter/Search Filter/ (closes: #1283)
219- recompiled (closes: #1559)
220- recompiled against new wmaker (closes: #1309, #1428, #3031)
221- fixed bug when listing too many packages
222- did some magick (closes: #2818)
223- fixed filter button bug (closes: #1332)
224
225* Sat Apr 28 2001 Arnaldo Carvalho de Melo <acme@conectiva.com>
226+ synaptic-0.8-4cl
227- minor spec changes for policy compliance
228- BuildRequires libbz2-devel, not bzip2-devel
229
230* Fri Mar 23 2001 Conectiva <dist@conectiva.com>
231+ synaptic-0.8-2cl
232- rebuilt with newer rpm
233
234* Wed Feb 21 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
235+ synaptic-0.8-2cl
236- recompiled (closes: #1559)
237
238* Wed Feb 14 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
239+ synaptic-0.8-1cl
240- first official release (closes: #1417)
241
242* Wed Jan 24 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
243+ synaptic-0.7-1cl
244- i18n
245- pt_BR
246
247* Wed Jan 24 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
248+ synaptic-0.6-1cl
249- depends on apt cnc32
250
251* Thu Jan 23 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
252+ synaptic-0.5-1cl
253- renamed from raptor to Synaptic
254
255* Mon Jan 22 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
256+ raptor-0.4-1cl
257
258* Tue Jan 18 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
259+ raptor-0.3-1cl
260
261* Mon Jan 15 2001 Alfredo K. Kojima <kojima@conectiva.com.br>
262+ raptor-0.2-1cl
263- release version 0.2 (first)
264
Note: See TracBrowser for help on using the repository browser.