]> git.pld-linux.org Git - packages/genius.git/blobdiff - genius.spec
- sr@Latn -> sr@latin, rel. 2
[packages/genius.git] / genius.spec
index 8e3c2a2473c5367bdeab01398a42edc009e83a61..643bd4b9166f2bc7c116366fde3370c4876075df 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       General tool for mathematics
-Summary(pl.UTF-8):   Rozbudowane narzędzie matematyczne
+Summary(pl.UTF-8):     Rozbudowane narzędzie matematyczne
 Name:          genius
-Version:       0.7.7
+Version:       1.0.0
 Release:       2
-License:       GPL v2+
+License:       GPL v3+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/genius/0.7/%{name}-%{version}.tar.bz2
-# Source0-md5: 8c8bfdfb17e6e54eba283e813cfddeca
+Source0:       http://ftp.5z.com/pub/genius/%{name}-%{version}.tar.gz
+# Source0-md5: 8c17ac90dab4f586e07627b6148c39b6
 Patch0:                %{name}-termcap.patch
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-link.patch
@@ -35,6 +35,8 @@ Requires(post,postun):        scrollkeeper
 Requires(post,postun): shared-mime-info
 Obsoletes:     drgenius
 Obsoletes:     drgeo
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -53,7 +55,7 @@ precyzji, liczby całkowite, zespolone oraz macierze.
 
 %package devel
 Summary:       genius header files
-Summary(pl.UTF-8):   Pliki nagłówkowe genius
+Summary(pl.UTF-8):     Pliki nagłówkowe genius
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -100,6 +102,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/mime/text
 # Obsoleted GNOME mime-info stuff
 rm -rf $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
 
+[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
+       mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 %find_lang %{name} --with-gnome --all-name
 
 %clean
This page took 0.042131 seconds and 4 git commands to generate.