]>
Commit | Line | Data |
---|---|---|
28a45b89 | 1 | Summary: MD5 sum utility |
7d197200 | 2 | Summary(pl.UTF-8): Narzędzie do obliczania sum MD5 |
28a45b89 | 3 | Name: ghasher |
d0c670c3 | 4 | Version: 1.2.1 |
aaf45023 | 5 | Release: 7 |
28a45b89 | 6 | License: BSD |
7 | Group: X11/Applications | |
c4573ed6 | 8 | Source0: http://asgaard.homelinux.org/code/ghasher/%{name}-%{version}.tar.gz |
d0c670c3 | 9 | # Source0-md5: 36edeaf03bd8827d2a96db86735532fb |
28a45b89 | 10 | Patch0: %{name}-Makefile.patch |
11 | Patch1: %{name}-desktop.patch | |
24874e74 AG |
12 | Patch2: %{name}-format-security.patch |
13 | Patch3: %{name}-openssl-1.1.0.patch | |
c4573ed6 | 14 | URL: http://asgaard.homelinux.org/code/ghasher/ |
3deaed83 | 15 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
b0bf898a | 16 | BuildRequires: libglade2-devel |
28a45b89 | 17 | BuildRequires: openssl-devel |
c300b568 | 18 | BuildRequires: pkgconfig |
28a45b89 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
c300b568 | 22 | ghasher is a small GUI utility that calculates MD5/SHA-1 and many |
28a45b89 | 23 | other sums. |
24 | ||
fd10f0fe JR |
25 | %description -l pl.UTF-8 |
26 | ghasher to małe narzędzie do obliczania sum MD5/SHA-1 i wielu innych. | |
28a45b89 | 27 | |
28 | %prep | |
29 | %setup -q | |
30 | %patch0 -p1 | |
31 | %patch1 -p1 | |
24874e74 AG |
32 | %patch2 -p1 |
33 | %patch3 -p1 | |
28a45b89 | 34 | |
35 | %build | |
36 | %{__make} \ | |
6f023bc2 | 37 | CC="%{__cc}" \ |
d0c670c3 | 38 | CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE `pkg-config gtk+-2.0 libglade-2.0 --cflags`" |
28a45b89 | 39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
b0bf898a | 51 | %doc AUTHORS LICENSE NEWS README TODO |
28a45b89 | 52 | %attr(755,root,root) %{_bindir}/* |
53 | %{_pixmapsdir}/* | |
628fd123 | 54 | %{_desktopdir}/*.desktop |