Last change
on this file was 216, checked in by chronos, 3 years ago |
- Modified: Updated snap and deb packages definitions.
|
File size:
1.6 KB
|
Line | |
---|
1 | Name: acronym-decoder
|
---|
2 | Version: 1.7.0
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: A tool for quick finding of acronym meaning
|
---|
5 |
|
---|
6 | Group: Application/Text
|
---|
7 | License: Public Domain
|
---|
8 | URL: https://app.zdechov.net/AcronymDecoder
|
---|
9 | Source0: acronym-decoder.tar.gz
|
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
---|
11 |
|
---|
12 | #BuildRequires: lazarus
|
---|
13 |
|
---|
14 | %description
|
---|
15 | A tool for quick finding of acronym meaning
|
---|
16 |
|
---|
17 | %global debug_package %{nil}
|
---|
18 |
|
---|
19 | %prep
|
---|
20 | %setup -q -c $(RPM_NAME)-$(RPM_VERSION)
|
---|
21 |
|
---|
22 |
|
---|
23 | %build
|
---|
24 | lazbuild --build-mode=Release AcronymDecoder.lpi
|
---|
25 |
|
---|
26 | %install
|
---|
27 | rm -rf $RPM_BUILD_ROOT
|
---|
28 | install -d -m 755 $RPM_BUILD_ROOT/usr/bin
|
---|
29 | install -s -m 755 AcronymDecoder $RPM_BUILD_ROOT/usr/bin
|
---|
30 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages
|
---|
31 | install -m 644 Languages/AcronymDecoder.po $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages
|
---|
32 | install -m 644 Languages/AcronymDecoder.cs.po $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages
|
---|
33 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/AcronymDecoder/Examples
|
---|
34 | install -D -m 644 Examples/* $RPM_BUILD_ROOT/usr/share/AcronymDecoder/Examples || true
|
---|
35 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
|
---|
36 | install -m 644 Install/shared/AcronymDecoder.desktop $RPM_BUILD_ROOT/usr/share/applications
|
---|
37 | install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
|
---|
38 | install -m 644 Images/AcronymDecoder.png $RPM_BUILD_ROOT/usr/share/pixmaps
|
---|
39 |
|
---|
40 | %clean
|
---|
41 | rm -rf $RPM_BUILD_ROOT
|
---|
42 |
|
---|
43 |
|
---|
44 | %files
|
---|
45 | %defattr(-,root,root,-)
|
---|
46 | /usr/bin/AcronymDecoder
|
---|
47 | /usr/share/applications/AcronymDecoder.desktop
|
---|
48 | /usr/share/AcronymDecoder/*
|
---|
49 | /usr/share/AcronymDecoder/Examples/*
|
---|
50 | /usr/share/pixmaps/AcronymDecoder.png
|
---|
51 |
|
---|
52 | %changelog
|
---|
Note:
See
TracBrowser
for help on using the repository browser.