rpms/portecle/F-10 .cvsignore, 1.2, 1.3 portecle.spec, 1.2, 1.3 sources, 1.2, 1.3

Ville Skyttä scop at fedoraproject.org
Mon Mar 16 21:41:05 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/portecle/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30478

Modified Files:
	.cvsignore portecle.spec sources 
Log Message:
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Mon Feb 23 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.4-1
- Update to 1.4.
- Ship docs unbundled from jar (#425834).

* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.3-4
- Improve icon cache and desktop database refresh scriptlets.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/portecle/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	16 Jan 2008 20:10:21 -0000	1.2
+++ .cvsignore	16 Mar 2009 21:40:33 -0000	1.3
@@ -1 +1 @@
-portecle-1.3-src.zip
+portecle-1.4-src.zip


Index: portecle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/portecle/F-10/portecle.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- portecle.spec	14 Mar 2008 17:29:27 -0000	1.2
+++ portecle.spec	16 Mar 2009 21:40:33 -0000	1.3
@@ -1,6 +1,8 @@
+%global docdir  %{_docdir}/%{name}-%{version}/doc
+
 Name:           portecle
-Version:        1.3
-Release:        3%{?dist}
+Version:        1.4
+Release:        2%{?dist}
 Summary:        Multipurpose keystore and certificate tool
 
 Group:          Applications/System
@@ -13,11 +15,10 @@
 BuildRequires:  ant
 BuildRequires:  bouncycastle >= 1.38
 BuildRequires:  desktop-file-utils
+BuildRequires:  jpackage-utils >= 1.7.4
 Requires:       bouncycastle >= 1.38
 Requires:       jpackage-utils
 Requires:       hicolor-icon-theme
-# Technically, any java version >= 1.4 would do, but gcj (1.5) won't;
-# requiring >= 1.6 is an attempt at expressing that.
 BuildRequires:  java-devel >= 1.6.0
 Requires:       jre >= 1.6.0
 
@@ -29,11 +30,13 @@
 
 %prep
 %setup -q -n %{name}-%{version}-src
-ln -s %{_javadir}/bcprov.jar lib/
+ln -sf %{_javadir}/bcprov.jar lib/
+rm doc/.htaccess
+cp -p src/main/net/sf/portecle/images/splash.png doc/images/
 
 
 %build
-%ant -Djar.classpath= jar
+%ant -Djar.classpath= -Dhelpbaseurl=file://%{docdir}/ jar
 
 
 %install
@@ -46,9 +49,7 @@
 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
+%jpackage_script net.sf.portecle.FPortecle "-splash:%{docdir}/images/splash.png" "" bcprov:portecle portecle portecle
 
 
 %clean
@@ -56,25 +57,23 @@
 
 
 %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
-:
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
 %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
+if [ $1 -eq 0 ] ; then
+    update-desktop-database %{_datadir}/applications &>/dev/null
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
-:
+
+%posttrans
+update-desktop-database %{_datadir}/applications &>/dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt LICENSE.txt NEWS.txt
+%doc README.txt LICENSE.txt NEWS.txt doc/
 %{_bindir}/portecle
 %{_javadir}/portecle.jar
 %{_datadir}/applications/*-portecle.desktop
@@ -82,6 +81,16 @@
 
 
 %changelog
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Feb 23 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.4-1
+- Update to 1.4.
+- Ship docs unbundled from jar (#425834).
+
+* Fri Feb 20 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.3-4
+- Improve icon cache and desktop database refresh scriptlets.
+
 * Fri Mar 14 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.3-3
 - Adjust to icedtea->openjdk changes.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/portecle/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	16 Jan 2008 20:10:21 -0000	1.2
+++ sources	16 Mar 2009 21:40:33 -0000	1.3
@@ -1 +1 @@
-cc32721356f60caa12517dbc82538af8  portecle-1.3-src.zip
+be4991444af94d84e82397e1733f8176  portecle-1.4-src.zip




More information about the fedora-extras-commits mailing list