summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-12 22:16:38 +0200
committerWerner Koch <wk@gnupg.org>1998-10-12 22:16:38 +0200
commit8477407e794951c686e3afe1d13035abd0153d9f (patch)
treea062f99923861fe7c55d5cc2ff3cf04daba8c8e0 /scripts
parenta new release (diff)
downloadgnupg2-8477407e794951c686e3afe1d13035abd0153d9f.tar.xz
gnupg2-8477407e794951c686e3afe1d13035abd0153d9f.zip
backup
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gnupg.spec25
1 files changed, 13 insertions, 12 deletions
diff --git a/scripts/gnupg.spec b/scripts/gnupg.spec
index 075f0bf69..f654ab1a0 100644
--- a/scripts/gnupg.spec
+++ b/scripts/gnupg.spec
@@ -26,14 +26,12 @@ tar -xvzf $RPM_SOURCE_DIR/gnupg-@pkg_version@.tar.gz
%build
cd gnupg-@pkg_version@
chown -R root.root *
-./configure
+./configure --prefix=/usr
make
%install
cd gnupg-@pkg_version@
make install
-chmod +s /usr/local/bin/gpg
-chmod +s /usr/local/bin/gpgm
%files
%doc gnupg-@pkg_version@/doc/DETAILS
@@ -47,13 +45,16 @@ chmod +s /usr/local/bin/gpgm
%doc gnupg-@pkg_version@/README
%doc gnupg-@pkg_version@/THANKS
%doc gnupg-@pkg_version@/TODO
-/usr/local/man/man1/gpg.1
-/usr/local/bin/gpg
-/usr/local/bin/gpgm
-/usr/local/share/locale/en/LC_MESSAGES/gnupg.mo
-/usr/local/share/locale/de/LC_MESSAGES/gnupg.mo
-/usr/local/share/locale/it/LC_MESSAGES/gnupg.mo
-/usr/local/share/locale/fr/LC_MESSAGES/gnupg.mo
-/usr/local/lib/gnupg/tiger
-/usr/local/lib/gnupg/twofish
+/usr/man/man1/gpg.1
+/usr/bin/gpg
+/usr/bin/gpgm
+/usr/share/locale/en/LC_MESSAGES/gnupg.mo
+/usr/share/locale/de/LC_MESSAGES/gnupg.mo
+/usr/share/locale/it/LC_MESSAGES/gnupg.mo
+/usr/share/locale/fr/LC_MESSAGES/gnupg.mo
+/usr/lib/gnupg/tiger
+/usr/lib/gnupg/twofish
+
+%attr (4755,root,root) /usr/bin/gpg
+%attr (4755,root,root) /usr/bin/gpgm