Skip to content

Commit

Permalink
Merge pull request #25 from jaymzh/rpmspec
Browse files Browse the repository at this point in the history
Update specfile for updates in build system.
  • Loading branch information
jaymzh committed Jan 17, 2016
2 parents ddaa50e + f384244 commit dc43413
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pius.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Sample spec file.
# $Id$

%define name pius
%define version 2.2.1
%define release 1
Expand All @@ -14,6 +11,7 @@ License: GPLv2
URL: http://www.phildev.net/pius/
BuildRoot: %{_tmppath}/%{name}-buildroot
Requires: python
Source: %{name}-%{version}.tar.bz2

%description
The PGP Individual UID Signer (PIUS) is a tool for individually
Expand All @@ -25,8 +23,11 @@ Requires: python
rm -rf $RPM_BUILD_ROOT
%setup

%build
./setup.py build

%install
install PREFIX=$RPM_BUILD_ROOT/usr
./setup.py install --prefix=$RPM_BUILD_ROOT/usr

%clean
rm -rf $RPM_BUILD_ROOT
Expand All @@ -36,5 +37,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/%{name}
/usr/bin/%{name}-keyring-mgr
/usr/bin/%{name}-party-worksheet
%doc README README.keyring-mgr COPYING

/usr/bin/%{name}-report
/usr/lib/python*/site-packages/%{name}-%{version}-*egg-info
%attr(644, root, bin) /usr/lib/python*/site-packages/libpius/*
%doc README.md README-keyring-mgr.md README-report.md COPYING

0 comments on commit dc43413

Please sign in to comment.