rpms/portecle/devel portecle.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ville Skytta (scop) fedora-extras-commits at redhat.com
Wed Jan 16 20:10:57 UTC 2008


Author: scop

Update of /cvs/pkgs/rpms/portecle/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5064/devel

Modified Files:
	.cvsignore sources 
Added Files:
	portecle.spec 
Log Message:
Initial import (#425834)


--- NEW FILE portecle.spec ---
Name:           portecle
Version:        1.3
Release:        2%{?dist}
Summary:        Multipurpose keystore and certificate tool

Group:          Applications/System
License:        GPLv2+
URL:            http://portecle.sourceforge.net/
Source0:        http://downloads.sourceforge.net/portecle/%{name}-%{version}-src.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  ant
BuildRequires:  bouncycastle >= 1.38
BuildRequires:  java-devel-icedtea
BuildRequires:  desktop-file-utils
Requires:       bouncycastle >= 1.38
Requires:       jpackage-utils
Requires:       jre-icedtea
Requires:       hicolor-icon-theme

%description
Portecle is a user friendly GUI application for creating, managing and
examining keystores, keys, certificates, certificate requests,
certificate revocation lists and more.


%prep
%setup -q -n %{name}-%{version}-src
ln -s %{_javadir}/bcprov.jar lib/


%build
%ant -Djar.classpath= jar


%install
rm -rf $RPM_BUILD_ROOT

install -Dpm 644 build/portecle.jar $RPM_BUILD_ROOT%{_javadir}/portecle.jar

install -Dpm 644 src/icons/portecle.png \
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/portecle.png
desktop-file-install --vendor=fedora --mode=644 \
    --dir=$RPM_BUILD_ROOT%{_datadir}/applications src/etc/portecle.desktop

%jpackage_script net.sf.portecle.FPortecle "" "" bcprov:portecle portecle portecle

chmod +x $RPM_BUILD_ROOT%{_bindir}/portecle


%clean
rm -rf $RPM_BUILD_ROOT


%post
update-desktop-database &> /dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
:

%postun
update-desktop-database &> /dev/null
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
:


%files
%defattr(-,root,root,-)
%doc README.txt LICENSE.txt NEWS.txt
%{_bindir}/portecle
%{_javadir}/portecle.jar
%{_datadir}/applications/*-portecle.desktop
%{_datadir}/icons/hicolor/32x32/apps/portecle.png


%changelog
* Thu Jan 10 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.3-2
- Update GTK icon cache in post(un)install scriptlets (#425834).

* Sun Dec 16 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.3-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/portecle/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Jan 2008 17:31:14 -0000	1.1
+++ .cvsignore	16 Jan 2008 20:10:21 -0000	1.2
@@ -0,0 +1 @@
+portecle-1.3-src.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/portecle/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Jan 2008 17:31:14 -0000	1.1
+++ sources	16 Jan 2008 20:10:21 -0000	1.2
@@ -0,0 +1 @@
+cc32721356f60caa12517dbc82538af8  portecle-1.3-src.zip




More information about the fedora-extras-commits mailing list