source: trunk/Install/rpm/vcard-studio.spec

Last change on this file was 181, checked in by chronos, 3 months ago
  • Added: Windows installer for version 1.5.0.
  • Modified: Version 1.5.0 related updates.
  • Modified: Trunk pushed to 1.6.0 alfa version.
File size: 2.5 KB
Line 
1Name: vcard-studio
2Version: 1.6.0
3Release: 1%{?dist}
4Summary: A contact management application with support for vCard file format.
5
6Group: Applications/Productivity
7License: Public Domain
8URL: https://app.zdechov.net/vcard-studio
9Source0: vcard-studio.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12#BuildRequires: lazarus
13
14%description
15A contact management application with support for vCard file format (.vcf).
16
17Features:
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
38lazbuild --build-mode=Release vCardStudio.lpi
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d -m 755 $RPM_BUILD_ROOT/usr/bin
43install -s -m 755 vCardStudio $RPM_BUILD_ROOT/usr/bin
44install -d -m 755 $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
45cp -r Languages/*.pot $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
46cp -r Languages/*.po $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
47cp -r Packages/Common/Languages/*.pot $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
48cp -r Packages/Common/Languages/*.po $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
49cp -r Packages/VCard/Languages/*.pot $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
50cp -r Packages/VCard/Languages/*.po $RPM_BUILD_ROOT/usr/share/vCardStudio/Languages
51install -d -m 755 $RPM_BUILD_ROOT/usr/share/vCardStudio/Images
52install -m 755 Images/Profile.png $RPM_BUILD_ROOT/usr/share/vCardStudio/Images
53install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
54install -m 644 Install/deb/vCardStudio.desktop $RPM_BUILD_ROOT/usr/share/applications
55install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
56install -m 644 Install/deb/vCardStudio.png $RPM_BUILD_ROOT/usr/share/pixmaps
57
58%clean
59rm -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
Note: See TracBrowser for help on using the repository browser.