Subversion Repositories ALCASAR

Rev

Rev 2868 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
2868 rexy 1
%global __requires_exclude_from %{_docdir}/
2
 
3
%define major 8
4
%define libname %mklibname %{name} %major
5
%define libnamedev %mklibname %{name} -d
6
 
7
Name:			gammu
3203 rexy 8
Version:		1.42.0
9
Release:		%mkrel 1
2868 rexy 10
Summary:		Mobile phones tools for Unix (Linux) and Win32
11
License:		GPLv2+
12
Group:			Communications/Mobile
3203 rexy 13
URL:			https://www.gammu.org/
14
Source0:		https://dl.cihar.com/gammu/releases/%{name}-%{version}.tar.gz
2868 rexy 15
Source1:		69-gammu-acl.rules
16
BuildRequires:		cmake
17
BuildRequires:		doxygen
18
BuildRequires:		gettext-devel
19
BuildRequires:		mysql-devel
20
BuildRequires:		pkgconfig(bash-completion)
21
BuildRequires:		pkgconfig(bluez)
22
BuildRequires:		pkgconfig(dbi)
23
BuildRequires:		pkgconfig(gudev-1.0)
24
BuildRequires:		pkgconfig(libcurl)
25
BuildRequires:		pkgconfig(libpq)
26
BuildRequires:		pkgconfig(libusb-1.0)
27
 
28
%description
29
Gammu can do such things with cellular phones as making data calls,
30
updating the address book, changing calendar and ToDo entries, sending and
31
receiving SMS messages, loading and getting ring tones and pictures (different
32
types of logos), synchronizing time, enabling NetMonitor, managing WAP
33
settings and bookmarks and much more. Functions depend on the phone model.
34
 
35
 
36
%package -n %libname
37
Summary: Mobile phones tools for Unix (Linux) and Win32 (libraries)
38
Group: System/Libraries
39
Requires: %name >= %version-%release
40
 
41
%description -n %libname
42
Gammu can do such things with cellular phones as making data calls,
43
updating the address book, changing calendar and ToDo entries, sending and
44
receiving SMS messages, loading and getting ring tones and pictures (different
45
types of logos), synchronizing time, enabling NetMonitor, managing WAP
46
settings and bookmarks and much more. Functions depend on the phone model.
47
 
48
 
49
%package -n %libnamedev
50
Summary:		Headers and pkgconfig file for Gammu development
51
Group:			Development/Other
52
Requires:		%libname = %version-%release
53
Provides:		libgammu-devel = %version-%release
54
Provides:		%name-devel = %version-%release
55
 
56
%description -n %libnamedev
57
This package contains the headers and pkgconfig file that programmers
58
will need to develop applications which will use libGammu.
59
 
60
%prep
61
%setup -q
62
 
63
%build
64
%cmake -DINSTALL_LIB_DIR=%{_lib}
65
%cmake_build
66
 
67
%install
68
%cmake_install
69
 
70
mkdir -p %{buildroot}%{_sysconfdir}
71
sed -e 's|^port =.*$|port = /dev/ttyS0|' \
72
    -e 's|^connection =.*$|connection = dlr3|' \
73
    -e 's/$//' \
74
    < docs/config/gammurc > %{buildroot}%{_sysconfdir}/gammurc
75
 
76
mkdir -p %{buildroot}%{_udevrulesdir}
77
install -m644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/69-gammu-acl.rules
78
 
79
%find_lang %{name} --all-name
80
 
81
%files -f %name.lang
82
%doc ChangeLog COPYING INSTALL.* README.*
83
%exclude /usr/share/doc/gammu/manual
84
%exclude /usr/share/doc/gammu/examples/
85
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/gammurc
86
%{_udevrulesdir}/*.rules
87
%{_datadir}/bash-completion/completions/gammu
88
%{_bindir}/gammu
89
%{_bindir}/gammu-smsd
90
%{_bindir}/gammu-smsd-inject
91
%{_bindir}/gammu-smsd-monitor
92
%{_bindir}/gammu-detect
93
%{_bindir}/jadmaker
94
%{_datadir}/gammu
3203 rexy 95
%{_unitdir}/gammu-smsd.service
2868 rexy 96
%{_mandir}/man1/gammu-detect.*
97
%{_mandir}/man1/gammu-smsd-inject.*
98
%{_mandir}/man1/gammu-smsd-monitor.1.*
99
%{_mandir}/man1/gammu-smsd.*
100
%{_mandir}/man1/gammu.*
101
%{_mandir}/man1/jadmaker.*
102
%{_mandir}/man[57]/*
103
 
104
%files -n %libname
105
%{_libdir}/*.so.%{major}{,.*}
106
 
107
%files -n %libnamedev
108
%{_bindir}/gammu-config
109
%{_libdir}/*.so
110
%{_includedir}/gammu
111
%{_mandir}/man1/gammu-config.*
112
%{_libdir}/pkgconfig/*.pc
113
 
114
 
115
%changelog
3203 rexy 116
* Sun Apr 03 2022 umeabot <umeabot> 1.41.0-4.mga9
117
+ Revision: 1841558
118
- Mageia 9 Mass Rebuild
119
 
120
* Tue Mar 08 2022 mrambo3501 <mrambo3501> 1.41.0-3.mga9
121
+ Revision: 1789876
122
- fix files list
123
 
2868 rexy 124
* Mon Feb 17 2020 umeabot <umeabot> 1.41.0-2.mga8
125
+ Revision: 1537641
126
- Mageia 8 Mass Rebuild
127
+ wally <wally>
128
- build with new cmake macros
129
 
130
* Tue Nov 05 2019 daviddavid <daviddavid> 1.41.0-1.mga8
131
+ Revision: 1457788
132
- new version: 1.41.0
133
 
134
* Thu Feb 07 2019 daviddavid <daviddavid> 1.40.0-1.mga7
135
+ Revision: 1363910
136
- new version: 1.40.0
137
 
138
* Sun Sep 23 2018 umeabot <umeabot> 1.39.0-3.mga7
139
+ Revision: 1297820
140
- Mageia 7 Mass Rebuild
141
 
142
* Thu Apr 26 2018 wally <wally> 1.39.0-2.mga7
143
+ Revision: 1222723
144
- loosen lib pkg requires
145
- tighten devel pkg requires
146
- drop old obsoletes
147
 
148
* Thu Apr 26 2018 wally <wally> 1.39.0-1.mga7
149
+ Revision: 1222716
150
- new version 1.39.0
151
- new lib major 8
152
- python bindings are now in separate python-gammu src pkg
153
 
154
* Sat Dec 23 2017 wally <wally> 1.35.0-5.mga7
155
+ Revision: 1184224
156
- rebuild for new mariadb
157
 
158
* Thu Feb 11 2016 umeabot <umeabot> 1.35.0-4.mga6
159
+ Revision: 953972
160
- Mageia 6 Mass Rebuild
161
 
162
* Wed Oct 21 2015 tv <tv> 1.35.0-3.mga6
163
+ Revision: 893366
164
- fix build: exclude some doc
165
- fix build: exclude some doc
166
 
167
* Tue Jun 09 2015 vaci0 <vaci0> 1.35.0-1.mga6
168
+ Revision: 822958
169
-Update to new version 1.35.0
170
 
171
* Sun Jan 11 2015 vaci0 <vaci0> 1.34.0-1.mga5
172
+ Revision: 809905
173
- Update to new version 1.34.0
174
 
175
* Tue Nov 25 2014 cjw <cjw> 1.33.0-9.mga5
176
+ Revision: 799119
177
- rebuild against postgresql9.4
178
 
179
* Wed Oct 15 2014 umeabot <umeabot> 1.33.0-8.mga5
180
+ Revision: 746723
181
- Second Mageia 5 Mass Rebuild
182
 
183
* Sat Sep 27 2014 tv <tv> 1.33.0-7.mga5
184
+ Revision: 726888
185
- add more excludes
186
 
187
* Sat Sep 27 2014 tv <tv> 1.33.0-6.mga5
188
+ Revision: 726270
189
- rebuild for missing pythoneggs deps
190
 
191
* Thu Sep 25 2014 wally <wally> 1.33.0-5.mga5
192
+ Revision: 724681
193
- exclude %%_docdir from auto-requires
194
- BR gudev-1.0
195
 
196
* Tue Sep 16 2014 umeabot <umeabot> 1.33.0-4.mga5
197
+ Revision: 679406
198
- Mageia 5 Mass Rebuild
199
 
200
* Sat Jul 05 2014 tv <tv> 1.33.0-3.mga5
201
+ Revision: 643452
202
- switch to pkgconfig() style BRs
203
 
204
* Sat May 31 2014 pterjan <pterjan> 1.33.0-2.mga5
205
+ Revision: 628205
206
- Rebuild for new Python
207
 
208
* Sun Mar 02 2014 vaci0 <vaci0> 1.33.0-1.mga5
209
+ Revision: 598598
210
- Update to new version
211
 
212
* Fri Oct 18 2013 umeabot <umeabot> 1.32.0-5.mga4
213
+ Revision: 521045
214
- Mageia 4 Mass Rebuild
215
 
216
* Wed Jan 16 2013 fwang <fwang> 1.32.0-4.mga3
217
+ Revision: 388497
218
- correct udev rules dir
219
 
220
* Fri Jan 11 2013 umeabot <umeabot> 1.32.0-3.mga3
221
+ Revision: 351042
222
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
223
 
224
* Wed Oct 03 2012 malo <malo> 1.32.0-2.mga3
225
+ Revision: 302271
226
- update RPM group
227
 
228
* Tue Jul 03 2012 vaci0 <vaci0> 1.32.0-1.mga3
229
+ Revision: 266875
230
- Update to version 1.32.0
231
 
232
* Mon Jun 11 2012 juancho <juancho> 1.31.90-1.mga3
233
+ Revision: 259651
234
- Updated to testing version 1.31.90, and added patch to fix compilation error.
235
 
236
* Fri Jan 27 2012 kamil <kamil> 1.31.0-1.mga2
237
+ Revision: 202301
238
- new version 1.31.0
239
 
240
* Wed Jul 20 2011 fwang <fwang> 1.30.0-1.mga2
241
+ Revision: 126910
242
- new version 1.30.0
243
 
244
* Thu Mar 24 2011 dmorgan <dmorgan> 1.29.0-3.mga1
245
+ Revision: 77051
246
- Rebuild against new mysql
247
 
248
* Thu Mar 24 2011 boklm <boklm> 1.29.0-2.mga1
249
+ Revision: 76139
250
- rebuild for bug #497
251
 
252
* Mon Mar 07 2011 dmorgan <dmorgan> 1.29.0-1.mga1
253
+ Revision: 66264
254
- Remove mdv macros
255
- imported package gammu
256
 
257
 
258
* Wed Jan 19 2011 Funda Wang <fwang@mandriva.org> 1.29.0-1mdv2011.0
259
+ Revision: 631676
260
- new version 1.29.0
261
 
262
* Sat Jan 01 2011 Oden Eriksson <oeriksson@mandriva.com> 1.28.0-6mdv2011.0
263
+ Revision: 627236
264
- rebuilt against mysql-5.5.8 libs, again
265
 
266
* Thu Dec 30 2010 Oden Eriksson <oeriksson@mandriva.com> 1.28.0-5mdv2011.0
267
+ Revision: 626521
268
- rebuilt against mysql-5.5.8 libs
269
 
270
* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 1.28.0-3mdv2011.0
271
+ Revision: 609658
272
- rebuilt against new libdbi
273
 
274
* Wed Nov 03 2010 Funda Wang <fwang@mandriva.org> 1.28.0-2mdv2011.0
275
+ Revision: 592714
276
- update file list
277
 
278
  + Michael Scherer <misc@mandriva.org>
279
    - rebuild for python 2.7
280
 
281
* Thu Jul 15 2010 Funda Wang <fwang@mandriva.org> 1.28.0-1mdv2011.0
282
+ Revision: 553428
283
- new version 1.28.0
284
 
285
* Thu Dec 24 2009 Frederik Himpe <fhimpe@mandriva.org> 1.27.0-1mdv2010.1
286
+ Revision: 481989
287
- update to new version 1.27.0
288
- Update to new version 1.26.93
289
 
290
* Wed Dec 16 2009 Frederic Crozat <fcrozat@mandriva.com> 1.26.92-2mdv2010.1
291
+ Revision: 479479
292
- Fix invalid udev rules (Mdv bug #56107)
293
 
294
* Thu Dec 03 2009 Funda Wang <fwang@mandriva.org> 1.26.92-1mdv2010.1
295
+ Revision: 472979
296
- new version 1.26.92
297
 
298
* Thu Nov 19 2009 Frederik Himpe <fhimpe@mandriva.org> 1.26.91-1mdv2010.1
299
+ Revision: 467543
300
- update to new version 1.26.91
301
 
302
* Sat Nov 07 2009 Frederik Himpe <fhimpe@mandriva.org> 1.26.90-1mdv2010.1
303
+ Revision: 462662
304
- Disable parallel make: it breaks build
305
- update to new version 1.26.90
306
 
307
* Tue Oct 27 2009 Frederic Crozat <fcrozat@mandriva.com> 1.26.1-2mdv2010.0
308
+ Revision: 459494
309
- Add udev ACL rules for ttyACM
310
 
311
* Wed Sep 09 2009 Frederik Himpe <fhimpe@mandriva.org> 1.26.1-1mdv2010.0
312
+ Revision: 435905
313
- Update to new version 1.26.1 (new major)
314
 
315
* Sat Jul 11 2009 Funda Wang <fwang@mandriva.org> 1.25.0-2mdv2010.0
316
+ Revision: 394733
317
- fix file list
318
- BR usb
319
- new version 1.25.0
320
 
321
* Mon May 04 2009 Funda Wang <fwang@mandriva.org> 1.24.0-1mdv2010.0
322
+ Revision: 371555
323
- New version 1.24.0
324
 
325
* Wed Mar 18 2009 Funda Wang <fwang@mandriva.org> 1.23.1-1mdv2009.1
326
+ Revision: 357109
327
- New version 1.23.1
328
 
329
* Mon Jan 19 2009 Funda Wang <fwang@mandriva.org> 1.22.91-1mdv2009.1
330
+ Revision: 331253
331
- New version 1.22.91
332
- add BRs
333
 
334
* Sun Jan 04 2009 Jérôme Soyer <saispo@mandriva.org> 1.22.1-1mdv2009.1
335
+ Revision: 324645
336
- update to new version 1.22.1
337
 
338
* Thu Dec 18 2008 Funda Wang <fwang@mandriva.org> 1.22.0-1mdv2009.1
339
+ Revision: 315680
340
- New version 1.22.0
341
 
342
* Sat Oct 11 2008 Funda Wang <fwang@mandriva.org> 1.21.0-1mdv2009.1
343
+ Revision: 292071
344
- New version 1.21.0
345
 
346
* Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 1.20.0-2mdv2009.0
347
+ Revision: 266832
348
- rebuild early 2009.0 package (before pixel changes)
349
 
350
  + Pixel <pixel@mandriva.com>
351
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
352
 
353
* Sun May 11 2008 Funda Wang <fwang@mandriva.org> 1.20.0-1mdv2009.0
354
+ Revision: 205441
355
- update to new version 1.20.0
356
 
357
* Tue May 06 2008 Funda Wang <fwang@mandriva.org> 1.19.91-1mdv2009.0
358
+ Revision: 201768
359
- New version 1.19.91
360
 
361
* Fri Apr 25 2008 Funda Wang <fwang@mandriva.org> 1.19.90-1mdv2009.0
362
+ Revision: 197367
363
- New version 1.19.90
364
 
365
* Wed Apr 16 2008 Funda Wang <fwang@mandriva.org> 1.19.0-1mdv2009.0
366
+ Revision: 194541
367
- New version 1.19.0
368
 
369
* Thu Feb 07 2008 Funda Wang <fwang@mandriva.org> 1.18.90-1mdv2008.1
370
+ Revision: 163359
371
- New version 1.18.90
372
 
373
* Wed Jan 30 2008 Funda Wang <fwang@mandriva.org> 1.18.0-1mdv2008.1
374
+ Revision: 160290
375
- New version 1.18.0
376
 
377
* Sun Jan 27 2008 Funda Wang <fwang@mandriva.org> 1.17.92-1mdv2008.1
378
+ Revision: 158583
379
- New version 1.17.92
380
 
381
* Sun Jan 06 2008 Funda Wang <fwang@mandriva.org> 1.17.0-1mdv2008.1
382
+ Revision: 145928
383
- New version 1.17.0
384
 
385
  + Olivier Blin <oblin@mandriva.com>
386
    - restore BuildRoot
387
 
388
  + Thierry Vignaud <tv@mandriva.org>
389
    - kill re-definition of %%buildroot on Pixel's request
390
 
391
* Sun Dec 16 2007 Funda Wang <fwang@mandriva.org> 1.16.0-1mdv2008.1
392
+ Revision: 120515
393
- update to new version 1.16.0
394
 
395
* Tue Dec 04 2007 Funda Wang <fwang@mandriva.org> 1.15.90-1mdv2008.1
396
+ Revision: 115295
397
- New version 1.15.90
398
 
399
* Tue Nov 20 2007 Funda Wang <fwang@mandriva.org> 1.15.0-1mdv2008.1
400
+ Revision: 110747
401
- New version 1.50.0
402
 
403
* Thu Nov 08 2007 Funda Wang <fwang@mandriva.org> 1.14.0-1mdv2008.1
404
+ Revision: 106896
405
- New version 1.14.0
406
 
407
* Sun Oct 28 2007 Funda Wang <fwang@mandriva.org> 1.13.95-1mdv2008.1
408
+ Revision: 102802
409
- New version 1.13.95
410
 
411
* Fri Oct 19 2007 Funda Wang <fwang@mandriva.org> 1.13.94-2mdv2008.1
412
+ Revision: 100168
413
- Obsoletes old devel package
414
 
415
* Wed Oct 17 2007 Funda Wang <fwang@mandriva.org> 1.13.94-1mdv2008.1
416
+ Revision: 99569
417
- New major
418
- Updated to svn 1628
419
- updated to svn release to fix build
420
- New version 1.13.94
421
 
422
* Wed Aug 22 2007 Funda Wang <fwang@mandriva.org> 1.13.0-1mdv2008.0
423
+ Revision: 68852
424
- New version 1.13.0
425
 
426
* Tue Aug 14 2007 Funda Wang <fwang@mandriva.org> 1.12.94-1mdv2008.0
427
+ Revision: 63191
428
- New version 1.12.94
429
 
430
* Tue Aug 07 2007 Funda Wang <fwang@mandriva.org> 1.12.93-2mdv2008.0
431
+ Revision: 59765
432
- renew patch from svn
433
- Add patch to build on 64 bit machines
434
- New testing version 1.12.93
435
- br doxygen and dot
436
- fix file list
437
- Use cmake macro
438
- BR cmake
439
- New version 1.12.0
440
 
441
* Tue Apr 17 2007 Erwan Velu <erwan@mandriva.org> 1.10.0-1mdv2008.0
442
+ Revision: 14119
443
- 1.10
444
 
445
 
446
* Tue Dec 05 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.09.00-1mdv2007.0
447
+ Revision: 91306
448
- New version 1.09.00
449
 
450
* Mon Nov 13 2006 Lenny Cartier <lenny@mandriva.com> 1.08.00-1mdv2007.1
451
+ Revision: 83580
452
- Update to 1.08.00
453
- Import gammu
454
 
455
* Sat Jun 17 2006 Austin Acton <austin@mandriva.org> 1.07.00-1mdv2007.0
456
- Rebuild
457
 
458
* Tue Jun 13 2006 Lenny Cartier <lenny@mandriva.com> 1.07.00-1mdv2007.0
459
- 1.07.00
460
 
461
* Thu Apr 20 2006 Lenny Cartier <lenny@mandriva.com> 1.06.00-1mdk
462
- 1.06.00
463
 
464
* Mon Mar 13 2006 Lenny Cartier <lenny@mandriva.com> 1.05.00-1mdk
465
- 1.05.00
466
 
467
* Fri Dec 02 2005 Lenny Cartier <lenny@mandriva.com> 1.03.20-1mdk
468
- 1.03.20
469
 
470
* Fri Oct 14 2005 Lenny Cartier <lenny@mandriva.com> 1.02.25-1mdk
471
- 1.02.25
472
 
473
* Tue Oct 04 2005 Lenny Cartier <lenny@mandriva.com> 1.02.20-1mdk
474
- 1.02.20
475
 
476
* Sat Oct 01 2005 Lenny Cartier <lenny@mandriva.com> 1.02.16-1mdk
477
- 1.02.16
478
 
479
* Tue Aug 23 2005 Erwan Velu <velu@seanodes.com> 1.02-1mdk
480
- 1.02
481
 
482
* Sat Jun 18 2005 Erwan Velu <velu@seanodes.com> 1.01.11-2mdk
483
- Fixing conflict
484
 
485
* Thu May 12 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.01.11-1mdk
486
- 1.01.11
487
 
488
* Thu Apr 14 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.01.0-1mdk
489
- 1.01.0
490
 
491
* Tue Mar 01 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.00.10-1mdk
492
- 1.00.10
493
 
494
* Mon Feb 21 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.00.04-1mdk
495
- 1.00.04
496
 
497
* Wed Feb 09 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.00.0-1mdk
498
- 1.00.0
499
 
500
* Mon Jan 24 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.99.22-1mdk
501
- 0.99.22
502
 
503
* Tue Oct 26 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.99.0-1mdk
504
- 0.99.0
505
 
506
* Sat Sep 25 2004 Erwan Velu <erwan@mandrakesoft.com> 0.98.0-1mdk
507
- Initial mdk package
508