3 # always build with GUI
6 # Fedora 9 doesn't support opensync 0.22
8 %define with_opensync
0
10 %define with_opensync
1
15 Summary: BlackBerry
(tm
) Desktop
for Linux
19 Group: Applications
/Productivity
21 Source: %{name}-%{version}.tar.bz2
22 URL: http
://www.netdirect.ca
/software
/packages
/barry
23 Vendor: Net Direct Inc.
24 BuildRoot: %{_tmppath}/%{name}-%{release}-%{version}-root
27 BuildRequires
: libusb
, gcc
-c
++, pkgconfig
, boost
-devel
, fuse
-devel
, zlib
-devel
29 BuildRequires
: libusb
-devel
, gcc
-c
++, pkgconfig
, boost
-devel
, fuse
-devel
, zlib
-devel
33 BuildRequires
: desktop
-file
-utils
36 %define barryroot
%{_builddir}/%{name}-%{version}
39 Barry is a desktop toolset
for managing your BlackBerry
(tm
) device.
(BlackBerry
40 is a registered trademark of Research
in Motion Limited.
)
44 Summary: BlackBerry
(tm
) Desktop
for Linux
- libbarry libraries
45 Group: Development
/Libraries
46 Requires: libusb boost
48 %description -n libbarry0
49 Barry is a desktop toolset
for managing your BlackBerry
(tm
) device.
(BlackBerry
50 is a registered trademark of Research
in Motion Limited.
)
52 This package contains the library files
, license agreement
, README file
,
53 and most other assorted documentation common to all sub
-packages. You most
54 likely want to also
install barry
-util and barry
-gui.
57 %package -n libbarry
-devel
58 Summary: BlackBerry
(tm
) Desktop
for Linux
- libbarry libraries
59 Group: Development
/Libraries
61 Requires: libbarry0 libusb boost
-devel
63 Requires: libbarry0 libusb
-devel boost
-devel
66 %description -n libbarry
-devel
67 Barry is a desktop toolset
for managing your BlackBerry
(tm
) device.
(BlackBerry
68 is a registered trademark of Research
in Motion Limited.
)
70 This package contains the development library files
for Barry
, libbarry.
74 Summary: BlackBerry
(tm
) Desktop
for Linux
- bcharge
, btool
, breset and others
75 Group: Applications
/Productivity
76 Requires: libbarry0 fuse
77 Conflicts: barry
-bcharge
80 Barry is a desktop toolset
for managing your BlackBerry
(tm
) device.
(BlackBerry
81 is a registered trademark of Research
in Motion Limited.
)
83 This package contains the commandline tools bcharge
, btool
, breset and others
84 which will
enable you to charge your device with a proper
500mA and be able
85 to access the data on the device
in many ways.
90 Summary: BlackBerry
(tm
) Desktop
for Linux
- bcharge
, btool
, breset and others
91 Group: Applications
/Productivity
93 Requires: libbarry0 gtkmm2 libglademm libtar
94 BuildRequires
: gtkmm2
-devel libglademm
-devel libtar
-devel
96 Requires: libbarry0 gtkmm24 libglademm24 libtar
97 BuildRequires
: gtkmm24
-devel libglademm24
-devel libtar
-devel
101 Barry is a desktop toolset
for managing your BlackBerry
(tm
) device.
(BlackBerry
102 is a registered trademark of Research
in Motion Limited.
)
104 This package contains the GUI applications built on top of libbarry.
110 Summary: BlackBerry
(tm
) Desktop
for Linux
- opensync plugin
111 Group: Applications
/Productivity
112 Requires: libbarry0
, libopensync
>= 0.22
113 BuildRequires
: libopensync
-devel
115 %description opensync
116 Barry is a desktop toolset
for managing your BlackBerry
(tm
) device.
(BlackBerry
117 is a registered trademark of Research
in Motion Limited.
)
119 This package contains the opensync plugin.
127 %{configure} --enable-boost
--enable-nls
--with
-zlib
128 %{__make} %{?_smp_mflags}
133 %{configure} PKG_CONFIG_PATH
="..
:$PKG_CONFIG_PATH" CXXFLAGS
="
-I..
/.." LDFLAGS
="
-L..
/..
/src"
--enable-nls
134 %{__make} %{?_smp_mflags}
141 %{configure} PKG_CONFIG_PATH
="..
:$PKG_CONFIG_PATH" CXXFLAGS
="
-I..
/.." LDFLAGS
="
-L..
/..
/src"
--enable-nls
142 %{__make} %{?_smp_mflags}
148 %{__make} DESTDIR=%{buildroot} install
149 # delete some test-only programs
150 %{__rm} -f %{buildroot}%{_bindir}/bdptest
151 %{__rm} -f %{buildroot}%{_bindir}/bjvmdebug
152 # proceed as usual...
153 %{__mkdir_p} %{buildroot}%{_sysconfdir}/udev
/rules.d
154 %{__cp} udev/10-blackberry.rules %{buildroot}%{_sysconfdir}/udev
/rules.d
/
156 %{__cp} udev/69-blackberry.rules %{buildroot}%{_sysconfdir}/udev
/rules.d
/
158 %{__cp} udev/99-blackberry-perms.rules %{buildroot}%{_sysconfdir}/udev
/rules.d
/
160 %{__mkdir_p} %{buildroot}%{_sysconfdir}/modprobe.d
161 %{__cp} modprobe/blacklist-berry_charge.conf %{buildroot}%{_sysconfdir}/modprobe.d
/
162 %{__mkdir_p} %{buildroot}%{_sysconfdir}/ppp
/peers
163 %{__cp} ppp/barry-rogers %{buildroot}%{_sysconfdir}/ppp
/peers
/
164 %{__cp} ppp/barry-verizon %{buildroot}%{_sysconfdir}/ppp
/peers
/
165 %{__cp} ppp/barry-sprint %{buildroot}%{_sysconfdir}/ppp
/peers
/
166 %{__cp} ppp/barry-o2ireland %{buildroot}%{_sysconfdir}/ppp
/peers
/
167 %{__cp} ppp/barry-tmobileus %{buildroot}%{_sysconfdir}/ppp
/peers
/
168 %{__cp} ppp/barry-att_cingular %{buildroot}%{_sysconfdir}/ppp
/peers
/
169 %{__cp} ppp/barry-chinamobile %{buildroot}%{_sysconfdir}/ppp
/peers
/
170 %{__cp} ppp/barry-kpn %{buildroot}%{_sysconfdir}/ppp
/peers
/
171 %{__mkdir_p} %{buildroot}%{_sysconfdir}/chatscripts
172 %{__cp} ppp/barry-rogers.chat %{buildroot}%{_sysconfdir}/chatscripts
/
173 %{__cp} ppp/barry-verizon.chat %{buildroot}%{_sysconfdir}/chatscripts
/
174 %{__cp} ppp/barry-sprint.chat %{buildroot}%{_sysconfdir}/chatscripts
/
175 %{__cp} ppp/barry-o2ireland.chat %{buildroot}%{_sysconfdir}/chatscripts
/
176 %{__cp} ppp/barry-tmobileus.chat %{buildroot}%{_sysconfdir}/chatscripts
/
177 %{__cp} ppp/barry-att_cingular.chat %{buildroot}%{_sysconfdir}/chatscripts
/
178 %{__cp} ppp/barry-chinamobile.chat %{buildroot}%{_sysconfdir}/chatscripts
/
179 %{__cp} ppp/barry-kpn.chat %{buildroot}%{_sysconfdir}/chatscripts
/
180 # Install hal fdi config
181 %{__mkdir_p} %{buildroot}%{_datadir}/hal
/fdi
/information
/10freedesktop
182 %{__mkdir_p} %{buildroot}%{_datadir}/hal
/fdi
/policy
/10osvendor
183 %{__cp} hal/fdi/information/10freedesktop/10-blackberry.fdi %{buildroot}%{_datadir}/hal
/fdi
/information
/10freedesktop
184 %{__cp} hal/fdi/policy/10osvendor/19-blackberry-acl.fdi %{buildroot}%{_datadir}/hal
/fdi
/policy
/10osvendor
185 # Install hal support script
186 %{__mkdir_p} %{buildroot}%{_bindir}
187 %{__cp} hal/hal-blackberry %{buildroot}%{_bindir}
188 # Install bash completion scripts
189 %{__mkdir_p} %{buildroot}%{_sysconfdir}/bash_completion.d
190 %{__cp} bash/bjavaloader %{buildroot}%{_sysconfdir}/bash_completion.d
191 %{__cp} bash/btool %{buildroot}%{_sysconfdir}/bash_completion.d
196 %{__make} DESTDIR=%{buildroot} install
197 # Install barry logo icon
199 %{__mkdir_p} %{buildroot}%{_datadir}/pixmaps
200 %{__cp} logo/barry_logo_icon.png %{buildroot}%{_datadir}/pixmaps
201 desktop
-file
-install --vendor netdirect \
202 --dir
%{buildroot}%{_datadir}/applications \
203 rpm
/barrybackup.desktop
209 %{__make} DESTDIR=%{buildroot} install
214 %defattr(-,root
,root
)
215 %attr(-,root
,root
) %{_libdir}/*.so
*
216 %doc AUTHORS ChangeLog COPYING NEWS README
218 %files -n libbarry
-devel
219 %defattr(-,root
,root
)
220 %doc examples
/*.cc examples
/*.am
221 %attr(0644,root
,root
) %{_includedir}/barry
/*
222 %attr(0644,root
,root
) %{_libdir}/*.a
223 %attr(0755,root
,root
) %{_libdir}/*.la
224 %attr(0644,root
,root
) %{_libdir}/pkgconfig
/*.pc
225 %doc COPYING TODO doc
/*
228 %defattr(-,root
,root
)
229 %attr(0755,root
,root
) %{_sbindir}/bcharge
230 %attr(0755,root
,root
) %{_sbindir}/breset
231 %attr(0755,root
,root
) %{_sbindir}/pppob
232 %attr(0755,root
,root
) %{_bindir}/btool
233 %attr(0755,root
,root
) %{_bindir}/bfuse
234 %attr(0755,root
,root
) %{_bindir}/bjavaloader
235 %attr(0755,root
,root
) %{_bindir}/bjdwp
236 %attr(0755,root
,root
) %{_bindir}/bs11nread
237 %attr(0755,root
,root
) %{_bindir}/bidentify
238 %attr(0755,root
,root
) %{_bindir}/brecsum
239 %attr(0755,root
,root
) %{_bindir}/upldif
240 %attr(0755,root
,root
) %{_bindir}/bktrans
241 %attr(0755,root
,root
) %{_bindir}/btranslate
242 %attr(0755,root
,root
) %{_bindir}/brimtrans
243 %attr(0755,root
,root
) %{_bindir}/hal
-blackberry
244 %attr(0644,root
,root
) %{_mandir}/man1
/btool
*
245 %attr(0644,root
,root
) %{_mandir}/man1
/bfuse
*
246 %attr(0644,root
,root
) %{_mandir}/man1
/bjavaloader
*
247 %attr(0644,root
,root
) %{_mandir}/man1
/bjdwp
*
248 %attr(0644,root
,root
) %{_mandir}/man1
/bs11nread
*
249 %attr(0644,root
,root
) %{_mandir}/man1
/bidentify
*
250 %attr(0644,root
,root
) %{_mandir}/man1
/bcharge
*
251 %attr(0644,root
,root
) %{_mandir}/man1
/pppob
*
252 %attr(0644,root
,root
) %{_mandir}/man1
/brecsum
*
253 %attr(0644,root
,root
) %{_mandir}/man1
/breset
*
254 %attr(0644,root
,root
) %{_mandir}/man1
/upldif
*
255 %attr(0644,root
,root
) %{_datadir}/locale
/*
256 %attr(0644,root
,root
) %{_datadir}/hal
/fdi
/information
/10freedesktop
/10-blackberry.fdi
257 %attr(0644,root
,root
) %{_datadir}/hal
/fdi
/policy
/10osvendor
/19-blackberry
-acl.fdi
258 %attr(0644,root
,root
) %config %{_sysconfdir}/udev
/rules.d
/*
259 %attr(0644,root
,root
) %config %{_sysconfdir}/modprobe.d
/blacklist
-berry_charge.conf
260 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-rogers
261 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-verizon
262 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-sprint
263 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-o2ireland
264 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-tmobileus
265 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-att_cingular
266 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-chinamobile
267 %attr(0644,root
,root
) %config %{_sysconfdir}/ppp
/peers
/barry
-kpn
268 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-rogers.chat
269 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-verizon.chat
270 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-sprint.chat
271 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-o2ireland.chat
272 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-tmobileus.chat
273 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-att_cingular.chat
274 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-chinamobile.chat
275 %attr(0640,root
,root
) %config %{_sysconfdir}/chatscripts
/barry
-kpn.chat
276 %attr(0640,root
,root
) %config %{_sysconfdir}/bash_completion.d
/bjavaloader
277 %attr(0640,root
,root
) %config %{_sysconfdir}/bash_completion.d
/btool
283 %defattr(-,root
,root
)
284 %attr(0755,root
,root
) %{_bindir}/barrybackup
285 %attr(0644,root
,root
) %{_datadir}/barry
/glade
/*.glade
286 %attr(0644,root
,root
) %{_datadir}/pixmaps
/barry_logo_icon.png
287 %attr(0644,root
,root
) %{_datadir}/applications
/*barrybackup
*.desktop
288 %attr(0644,root
,root
) %{_mandir}/man1
/barrybackup
*
294 %defattr(-,root
,root
)
295 %attr(0755,root
,root
) %{_libdir}/opensync
/plugins
/*
296 %attr(0644,root
,root
) %{_datadir}/opensync
/defaults
/*
301 [ "
%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
302 [ "
%{barryroot}" != "/" ] && %{__rm} -rf %{barryroot}
311 * Thu Oct
01 2009 Chris Frey
<cdfrey@foursquare.net
> 0.17-0
315 * Sat Sep
29 2009 Chris Frey
<cdfrey@foursquare.net
> 0.16-0
317 - added new ppp chat script
for KPN Nederland
318 - using new udev rules
set
319 - added bjdwp and manpage
, and removed some
test-only programs
320 - added bash and zsh completion scripts
321 - added .desktop file and icon
for barrybackup
323 * Fri Apr
10 2009 Chris Frey
<cdfrey@foursquare.net
> 0.15-0
325 - added HAL FDI scripts
326 - added bjavaloader and bfuse
327 - updated
for udev directory reorganization
in Barry
source tree
328 - added zlib
-devel to BuildRequires list
331 * Wed Sep
24 2008 Chris Frey
<cdfrey@foursquare.net
> 0.14-0
333 - added new ppp chat script
for T
-Mobile US
334 - renamed libbarry to libbarry0
336 * Thu May
29 2008 Chris Frey
<cdfrey@foursquare.net
> 0.13-1
339 - added ppp options and chat scripts
340 - added manpages
for pppob
, brecsum
, breset
, upldif
, barrybackup
341 - spec file now assumes gui and opensync
, with conditional checks depending on host
343 * Fri Dec
07 2007 Chris Frey
<cdfrey@foursquare.net
> 0.12-1
346 * Fri Nov
30 2007 Chris Frey
<cdfrey@foursquare.net
> 0.11-1
349 * Fri Nov
30 2007 Chris Frey
<cdfrey@foursquare.net
> 0.10-1
351 - removed ktrans and translate from rpm package
354 * Thu Aug
09 2007 Chris Frey
<cdfrey@foursquare.net
> 0.9-1
357 * Fri Aug
03 2007 Chris Frey
<cdfrey@foursquare.net
> 0.8-1
359 - changed tarball to bz2
361 * Tue May
01 2007 Chris Frey
<cdfrey@foursquare.net
> 0.7-2
362 - added pppob to utils
364 * Thu Mar
08 2007 Chris Frey
<cdfrey@foursquare.net
> 0.7-1
365 - removed barry base package that only contained docs
, and put docs
in libbarry
*
366 - changed barrybackup reference to barry
-gui
367 - removed the patch step
, as version
0.7 shouldn't need it
368 - added license file to each package
370 * Sun Mar
04 2007 Troy Engel
<tengel@users.sourceforge.net
> 0.6-1
372 - adding udev and console perms patch
for raw
0.6