-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi2p-desktop.spec
72 lines (47 loc) · 1.43 KB
/
i2p-desktop.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Name: i2p-desktop
Version: 0.6
Release: 1%{?dist}
Summary: I2P Router Console desktop file
Group: Applications/Internet
# License from www.i2p2.de/licenses.html
# and http://projects.gnome.org/evince/
License: GPLv2 and Public Domain
URL: http://ipredia.org
Source0: %{name}-%{version}.tar.bz2
## BuildRequires
# desktop-file-utils - desktop-file-install (Makefile)
BuildRequires: desktop-file-utils
## Requires
# xdg-utils - xdg-open
# desktop-file-utils - update-desktop-database
# i2p - for the i2p console
Requires: i2p
Requires: xdg-utils
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
BuildArch: noarch
%description
This package add a desktop file for the I2P Router Console.
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT
%post
/usr/bin/update-desktop-database &> /dev/null || :
%postun
/usr/bin/update-desktop-database &> /dev/null || :
%files
%doc
%{_datadir}/applications/i2p-router-console.desktop
%{_datadir}/icons/hicolor/*/apps/i2p-router-console.*
%changelog
* Sat Jul 7 2012 Mattias Ohlsson <[email protected]> - 0.6-1
- add more languages
* Mon Jun 21 2012 Mattias Ohlsson <[email protected]> - 0.5-1
- new icon
* Mon Jun 18 2012 Mattias Ohlsson <[email protected]> - 0.1-2
- include icon
* Mon Jun 18 2012 Mattias Ohlsson <[email protected]> - 0.1-1
- initial package