source: tags/1.5.0/Install/rpm/acronym-decoder.spec

Last change on this file was 182, checked in by chronos, 6 years ago
  • Added: RPM packaging file and 64-bit RPM binary package.
File size: 1.6 KB
Line 
1Name: acronym-decoder
2Version: 1.5.0
3Release: 1%{?dist}
4Summary: A tool for quick finding of acronym meaning
5
6Group: Application/Text
7License: Public Domain
8URL: http://svn.zdechov.net/trac/AcronymDecoder
9Source0: acronym-decoder.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12#BuildRequires: lazarus
13
14%description
15A 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
24lazbuild --build-mode=Release AcronymDecoder.lpi
25
26%install
27rm -rf $RPM_BUILD_ROOT
28install -d -m 755 $RPM_BUILD_ROOT/usr/bin
29install -s -m 755 AcronymDecoder $RPM_BUILD_ROOT/usr/bin
30install -d -m 755 $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages
31install -m 644 Languages/AcronymDecoder.po $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages
32install -m 644 Languages/AcronymDecoder.cs.po $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages
33install -d -m 755 $RPM_BUILD_ROOT/usr/share/AcronymDecoder/Examples
34install -D -m 644 Examples/* $RPM_BUILD_ROOT/usr/share/AcronymDecoder/Examples || true
35install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications
36install -m 644 Install/deb/AcronymDecoder.desktop $RPM_BUILD_ROOT/usr/share/applications
37install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps
38install -m 644 Images/AcronymDecoder.png $RPM_BUILD_ROOT/usr/share/pixmaps
39
40%clean
41rm -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.