]> git.pld-linux.org Git - packages/browser-plugin-esteid.git/commitdiff
rel 1 auto/th/browser-plugin-esteid-1.3.3-1
authorElan Ruusamäe <glen@delfi.ee>
Thu, 12 Jul 2012 18:59:43 +0000 (21:59 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 12 Jul 2012 18:59:43 +0000 (21:59 +0300)
- finish install, files
- cleanup unused params

browser-plugin-esteid.spec

index c8c8c9c988970059fbdb78fbeec29c65e8f987ee..49f87ed204c685cf2dfe7b720d8dc7f62d59af6e 100644 (file)
@@ -1,11 +1,16 @@
+#
+# Conditional build:
+%bcond_without tests           # build without tests
+
 # TODO
-# - new dir for gecko extensions
+# - new dir for gecko extensions in browser-plugins or filesystem package
+
 %define                firebreath_version 1.5.2
 Summary:       Estonian ID card digital signing browser plugin
 Summary(pl.UTF-8):     Wtyczka przeglądarki do cyfrowego podpisywania przy użyciu estońskich kart eID
 Name:          browser-plugin-esteid
 Version:       1.3.3
-Release:       0.1
+Release:       1
 # The source files from esteid-browser-plugin and Firebreath are compiled
 # together to the shared object npesteid.so.
 # Firebreath is dual-licensed [BSD or LGPLv2+], esteid-browser-plugin is LGPLv2+.
@@ -86,9 +91,7 @@ cd build
 export CXXFLAGS="%{rpmcxxflags} -fno-strict-aliasing"
 export CFLAGS="$CXXFLAGS"
 %cmake .. \
-       -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
-       -DCMAKE_SKIP_RPATH=TRUE \
-       -DDOCDIR=%{_docdir} \
+       -DVERBOSE:BOOL=YES \
        -DWITH_SYSTEM_BOOST:BOOL=YES
 
 %{__make}
@@ -104,7 +107,7 @@ mv $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/npesteid.so $RPM_BUILD_ROOT%{_libdi
 
 # Install Gecko extension
 install -d $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{extension_id}
-cp -a build/projects/esteid-browser-plugin-1/Mozilla/xpi/* \
+cp -a build/projects/esteid/Mozilla/xpi/* \
       $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{extension_id}
 
 %find_lang esteid-browser-plugin
@@ -123,6 +126,7 @@ fi
 %files -f esteid-browser-plugin.lang
 %defattr(644,root,root,755)
 %doc projects/esteid-browser-plugin-%{version}/AUTHORS
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esteid-browser-plugin.conf
 %attr(755,root,root) %{_libdir}/browser-plugins/npesteid.so
 %{_datadir}/esteid-browser-plugin
 %{_libdir}/mozilla/extensions/%{extension_id}
This page took 0.065557 seconds and 4 git commands to generate.