]> git.pld-linux.org Git - packages/mousepad.git/blobdiff - mousepad.spec
- up to 0.5.5
[packages/mousepad.git] / mousepad.spec
index 123581f0294f3a3f2a6b2c0abeba15c2731d0564..8241f9ab18182199f8fe261b9586a3a29a987393 100644 (file)
@@ -1,23 +1,25 @@
 Summary:       Text editor for Xfce based on Leafpad
 Summary(pl.UTF-8):     Edytor tekstu dla Xfce oparty na Leafpadzie
 Name:          mousepad
-Version:       0.3.0
+Version:       0.5.5
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Editors
-Source0:       http://archive.xfce.org/src/apps/mousepad/0.3/%{name}-%{version}.tar.bz2
-# Source0-md5: dcfcdfaa8a19c89f35d5f6f64753e6e1
+Source0:       http://archive.xfce.org/src/apps/mousepad/0.5/%{name}-%{version}.tar.bz2
+# Source0-md5: d588c4fa463154404c7dfe318572b792
 Patch0:                %{name}-desktop.patch
 URL:           http://www.xfce.org/projects/mousepad/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
-BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.20.0
-BuildRequires: gtksourceview2-devel >= 2.2.2
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 2.52.0
+BuildRequires: gspell-devel >= 1.6.0
+BuildRequires: gtk+3-devel >= 3.22
+BuildRequires: gtksourceview4-devel >= 4.0.0
 BuildRequires: intltool >= 0.35.0
 BuildRequires: libtool
 BuildRequires: pkgconfig >= 1:0.9.0
-BuildRequires: xfce4-dev-tools >= 4.6.0
+BuildRequires: xfce4-dev-tools >= 4.14.0
 Requires:      desktop-file-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,6 +41,8 @@ pięknego drukowania dokumentów takich jak skrypty powłoki.
 %setup -q
 %patch0 -p1
 
+mkdir -p m4
+
 %{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
 
 %build
@@ -56,16 +60,40 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}{/%{name}/plugins,}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmousepad.so
+
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%update_desktop_database
+%update_desktop_database_post
+%update_icon_cache hicolor
+%glib_compile_schemas
+
+%postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
+%glib_compile_schemas
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS
 %attr(755,root,root) %{_bindir}/mousepad
+%attr(755,root,root) %{_libdir}/libmousepad.so.*.*.*
+%attr(755,root,root) %{_libdir}/libmousepad.so.0
+%dir %{_libdir}/%{name}/plugins
+%attr(755,root,root) %{_libdir}/%{name}/plugins/libmousepad-plugin-gspell.so
 %{_desktopdir}/mousepad.desktop
+%{_desktopdir}/mousepad-settings.desktop
+%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.plugins.gspell.gschema.xml
+%{_datadir}/metainfo/mousepad.appdata.xml
+%{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
+%{_iconsdir}/hicolor/*x*/apps/org.xfce.mousepad.png
+%{_iconsdir}/hicolor/scalable/apps/org.xfce.mousepad.svg
This page took 1.130097 seconds and 4 git commands to generate.