]> git.pld-linux.org Git - packages/kf5-kcodecs.git/commitdiff
- up to 5.4.0
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Dec 2014 19:27:43 +0000 (20:27 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 9 Dec 2014 19:27:43 +0000 (20:27 +0100)
kf5-kcodecs.spec

index cd0643c5a4ab14abff24999684f563f6587390ba..0047c24d93124b5dbf907a8cdc9aa27dfab75ccd 100644 (file)
@@ -1,27 +1,25 @@
 # TODO:
-# - proper place for *.pri,
-# - set ECM_MKSPECS_INSTALL_DIR in kde5-extra-cmake-modules
-# - _IMPORT_PREFIX also must be set somewhere
 # - runtime Requires if any
 # - these dirs are not own by any package
 #  /usr/include/KF5
-%define         _state          stable
-%define                orgname         kcodecs
+%define                kdeframever     5.4
+%define                qtver           5.3.2
+%define                kfname          kcodecs
 
 Summary:       String encoding
-Name:          kf5-%{orgname}
-Version:       5.0.0
+Name:          kf5-%{kfname}
+Version:       5.4.0
 Release:       0.1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
-Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/frameworks/%{version}/%{orgname}-%{version}.tar.xz
-# Source0-md5: f87384816f5685a380b5a74c44695c7b
+Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 0ca7e54af0fbd7be443ba95e501143c5
 URL:           http://www.kde.org/
-BuildRequires: Qt5Core-devel >= 5.2.0
-BuildRequires: Qt5Test-devel
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Test-devel >= %{qtver}
 BuildRequires: cmake >= 2.8.12
-BuildRequires: kde5-extra-cmake-modules >= 1.0.0
-BuildRequires: qt5-linguist
+BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: qt5-linguist >= %{qtver}
 BuildRequires: rpmbuild(macros) >= 1.164
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
@@ -36,26 +34,25 @@ various encodings. It supports:
 - quoted-printable
 
 %package devel
-Summary:       Header files for %{orgname} development
-Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{orgname}
+Summary:       Header files for %{kfname} development
+Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{kfname}
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
 %description devel
-Header files for %{orgname} development.
+Header files for %{kfname} development.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe dla programistów używających %{orgname}.
+Pliki nagłówkowe dla programistów używających %{kfname}.
 
 %prep
-%setup -q -n %{orgname}-%{version}
+%setup -q -n %{kfname}-%{version}
 
 %build
 install -d build
 cd build
 %cmake \
-       -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
-       -D_IMPORT_PREFIX=%{_prefix} \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ../
 %{__make}
 
@@ -65,7 +62,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build/ install \
         DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{orgname}5_qt --with-qm
+%find_lang %{kfname}5_qt --with-qm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,11 +70,11 @@ rm -rf $RPM_BUILD_ROOT
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files -f %{orgname}5_qt.lang
+%files -f %{kfname}5_qt.lang
 %defattr(644,root,root,755)
 %doc README.md
 %attr(755,root,root) %ghost %{_libdir}/libKF5Codecs.so.5
-%attr(755,root,root) %{_libdir}/libKF5Codecs.so.5.0.0
+%attr(755,root,root) %{_libdir}/libKF5Codecs.so.5.4.0
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.040975 seconds and 4 git commands to generate.