]> git.pld-linux.org Git - packages/dime.git/blobdiff - dime.spec
- use %{version}, not %version
[packages/dime.git] / dime.spec
index 0fb2061a1b158fb12aadf812efece4d72591f67e..3bc55d3dadf5fdff4b05b4c7b63ebeacf6543fa9 100644 (file)
--- a/dime.spec
+++ b/dime.spec
@@ -1,20 +1,15 @@
-Summary:       DIME - DXF Import, manipulation and Export library.
-Summary(pl):   DIME - biblioteka do manipulacji plikami w formacie DXF.
+Summary:       DIME - DXF Import, manipulation and Export library
+Summary(pl):   DIME - biblioteka do manipulacji plikami w formacie DXF
 Name:          dime
 Version:       0.9.1
-Release:       1
+Release:       3
 License:       GPL
 Group:         Libraries
-Group(de):     Libraries
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Source0:       ftp://ftp.sim.no/pub/dime/%name-%version-src.tar.bz2
-Source1:       ftp://ftp.sim.no/pub/dime/%name-%version-doc.tar.bz2
-Patch0:                
+Source0:       ftp://ftp.sim.no/pub/dime/%{name}-%{version}-src.tar.bz2
+# Source0-md5: 142af240cd35508d606917a38164c759
+Source1:       ftp://ftp.sim.no/pub/dime/%{name}-%{version}-doc.tar.bz2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        _prefix /usr
-
 %description
 Dime is a C++ class library for reading, constructing, manipulating,
 and writing DXF file data. The name is an acronym for DXF Import,
@@ -58,24 +53,26 @@ Bibliotek obs
 
 %package devel
 Summary:       DIME devel
-Summary(pl):   DIME devel
+Summary(pl):   DIME - czê¶æ dla programistów
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
+Requires:      %{name} = %{version}
 
 %description devel
-%description -l pl devel
+Dime developement files.
+
+%description devel -l pl
+Pliki developerskie do dime.
 
 %package documentation
-Summary:       DEME doc
-Summary(pl):   DIME doc
+Summary:       DIME doc
+Summary(pl):   DIME - dokumentacja
 Group:         Documentation
-Group(de):     Dokumentation
-Group(pl):     Dokumentacja
 
 %description documentation
-%description -l pl documentation
+Dime documentation.
+
+%description documentation -l pl
+Dokumentacja dime.
 
 %prep
 %setup -q
@@ -83,7 +80,7 @@ Group(pl):    Dokumentacja
 
 %build
 cd build
-%{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} RPM_OPT_FLAGS="%{rpmcflags}"
 cd ../docs/latex
 %{__make} refman.ps
 
@@ -94,25 +91,23 @@ install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
 
 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
-install -s build/libdime.a $RPM_BUILD_ROOT%{_libdir}
+install build/libdime.a $RPM_BUILD_ROOT%{_libdir}
 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
 
-cp -rp docs/latex/*  $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
-
-gzip -9nf README TODO ChangeLog
+cp -rp docs/latex/* $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc
+%doc README TODO ChangeLog
 %attr(644,root,root) %{_libdir}/libdime.a
 
 %files devel
 %defattr(644,root,root,755)
-%doc docs/latex/refman.ps ChangeLog.bz2 README.bz2 TODO.bz2
+%doc docs/latex/refman.ps ChangeLog.gz README.gz TODO.gz
 %{_includedir}/dime/
 
 %files documentation
This page took 0.069414 seconds and 4 git commands to generate.