Blob Blame History Raw
Name:           pwmd
Version:        3.0.2
Release:        1%{?dist}
Summary:        A server for storing application data at a central location

License:        GPLv2+
URL:            http://bjk.sourceforge.net/pwmd/
Source0:        http://downloads.sourceforge.net/project/%{name}/%{version}/%{name}-%{version}.tar.bz2

Buildrequires:  glib2-devel
BuildRequires:  pth-devel
BuildRequires:  libassuan-devel >= 2.0.0
BuildRequires:  libgpg-error-devel
Buildrequires:  gnutls-devel
BuildRequires:  libxml2-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  zlib-devel
BuildRequires:  cracklib-devel
BuildRequires:  libacl-devel
#BuildRequires:  gettext

Requires:       pinentry >= 0.7.5

%description
Password Manager Daemon is a server that provides a way for applications
to securely store and retrieve data at a centralized location. The data is
stored in an (optionally AES256 encrypted) XML file and clients connect and
send commands to manipulate the data. Some of the features include:

* Multi-threaded. More than one client may access the data at the same
  time.
* A key cache so clients won't need to enter a key each time a file is
  opened or saved.
* Key retrieval via pinentry(1).
* Configuration file which supports file specific settings including:
  encryption iterations, cache expiration and encryption key or key file
  and more.
* Compressed data file support.
* Logging to file and/or syslog.
* Secure memory usage. PWMD will zero out memory before freeing it and
  also has the option to lock the entire process in RAM to avoid swapping
  the data to virtual memory.

%prep
%setup -q

%build
%configure \
    --disable-static \
    --enable-gnutls \
    --enable-agent \
    --enable-quality \
    --enable-acl
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
rm -f %{buildroot}%{_infodir}/dir
#%find_lang %{name}

%check
make check

%files
#-f %{name}.lang
%doc ChangeLog COPYING NEWS README doc/config.example
%{_mandir}/man*/%{name}*.*
%{_infodir}/%{name}.info.gz
%{_bindir}/%{name}

%changelog
* Wed Jun 26 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.2-1
- Updated to new upstream version 3.0.2

* Sat Apr 06 2013 Fabian Affolter <mail@fabian-affolter.ch> - 3.0.1-1
- Updated to new upstream version 3.0.1

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Mon Mar 15 2010 Fabian Affolter <mail@fabian-affolter.ch> - 2.18-1
- Updated to new upstream version 2.18

* Fri Jul 17 2009 Fabian Affolter <mail@fabian-affolter.ch> - 2.1-1
- Removed COMMANDS from doc
- Updated to new upstream version 2.1

* Sun Apr 19 2009 Fabian Affolter <mail@fabian-affolter.ch> - 1.2-1
- Initial package for Fedora