1 | Name: vcard-studio
|
---|
2 | Version: 1.6.0
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: A contact management application with support for vCard file format.
|
---|
5 |
|
---|
6 | Group: Applications/Productivity
|
---|
7 | License: Public Domain
|
---|
8 | URL: https://app.zdechov.net/vcard-studio
|
---|
9 | Source0: vcard-studio.tar.gz
|
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
---|
11 |
|
---|
12 | #BuildRequires: lazarus
|
---|
13 |
|
---|
14 | %description
|
---|
15 | A contact management application with support for vCard file format (.vcf).
|
---|
16 |
|
---|
17 | Features:
|
---|
18 | * Add, Edit, Clone or Remove contacts and contact properties
|
---|
19 | * Shows contact fields in multiple tabs General, Home, Work, Social, Chat and Others
|
---|
20 | * Contact photo displayed and can be changed (supported image types JPEG, PNG, GIF and BMP)
|
---|
21 | * Quick filter by table columns in contacts list
|
---|
22 | * Combine multiple contact files together
|
---|
23 | * Split contacts to separate files
|
---|
24 | * Find any value in contacts
|
---|
25 | * Find duplicate contacts to merge
|
---|
26 | * Copy, Cut and Paste contacts from/to clipboard
|
---|
27 | * Multilingual interface (English, Czech, Swedish)
|
---|
28 | * Contact QR code
|
---|
29 | * View contact source with syntax highlighting
|
---|
30 |
|
---|
31 | %global debug_package %{nil}
|
---|
32 |
|
---|
33 | %prep
|
---|
34 | %setup -q -c $(RPM_NAME)-$(RPM_VERSION)
|
---|
35 |
|
---|
36 |
|
---|
37 | %build
|
---|
38 | lazbuild --build-mode=Release vCardStudio.lpi
|
---|
39 |
|
---|
40 | %install
|
---|
41 | rm -rf $RPM_BUILD_ROOT
|
---|
42 | install -d -m 755 $RPM_BUILD_ROOT/usr/bin
|
---|
43 | install -s -m 755 vCardStudio $RPM_BUILD_ROOT/usr/bin
|
---|
44 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
45 | cp -r Languages/*.pot $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
46 | cp -r Languages/*.po $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
47 | cp -r Packages/Common/Languages/*.pot $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
48 | cp -r Packages/Common/Languages/*.po $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
49 | cp -r Packages/VCard/Languages/*.pot $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
50 | cp -r Packages/VCard/Languages/*.po $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
|
---|
51 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/vCardStudio/Images
|
---|
52 | install -m 755 Images/Profile.png $RPM_BUILD_ROOT/usr/share/vCardStudio/Images
|
---|
53 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
|
---|
54 | install -m 644 Install/deb/vCardStudio.desktop $RPM_BUILD_ROOT/usr/share/applications
|
---|
55 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
|
---|
56 | install -m 644 Install/deb/vCardStudio.png $RPM_BUILD_ROOT/usr/share/pixmaps
|
---|
57 |
|
---|
58 | %clean
|
---|
59 | rm -rf $RPM_BUILD_ROOT
|
---|
60 |
|
---|
61 |
|
---|
62 | %files
|
---|
63 | %defattr(-,root,root,-)
|
---|
64 | /usr/bin/vCardStudio
|
---|
65 | /usr/share/applications/vCardStudio.desktop
|
---|
66 | /usr/share/vCardStudio/*
|
---|
67 | /usr/share/vCardStudio/Images/*
|
---|
68 | /usr/share/pixmaps/vCardStudio.png
|
---|
69 |
|
---|
70 | %changelog
|
---|