]> git.pld-linux.org Git - packages/dia.git/commitdiff
- added "missing gettextize --copy --force" before calling ./configure,
authorkloczek <kloczek@pld-linux.org>
Fri, 6 Aug 1999 01:56:35 +0000 (01:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added passing LDFLAGS="-s" to ./configure enviroment,
- added using %%find_lang macro for founding .mo files,
- added gzipping %doc.

Changed files:
    dia.spec -> 1.21

dia.spec

index 2ed8eae06585478b86c0f81b438d5a0ba32726e0..cfed91490ca2f2a5a3cfc5ca48b9e1d58dd38847 100644 (file)
--- a/dia.spec
+++ b/dia.spec
@@ -39,8 +39,9 @@ i zapisywa
 %setup -q
 
 %build
-%configure \
-       --prefix=%{_prefix}
+gettextize --copy --force
+LDFLAGS="-s"; export LDFLAGS
+%configure
 make
 
 %install
@@ -53,12 +54,16 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/dia/lib*.so.*.*
 
+%find_lang %{name}
+
+gzip -9nf AUTHORS NEWS README TODO
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README TODO
+%doc *.gz
 %attr(755,root,root) %{_bindir}/dia
 %dir %{_libdir}/dia
 %attr(755,root,root) %{_libdir}/dia/lib*.so*
This page took 0.136235 seconds and 4 git commands to generate.