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