]> git.pld-linux.org Git - packages/mousepad.git/blame - mousepad.spec
- up to 0.5.3
[packages/mousepad.git] / mousepad.spec
CommitLineData
1cd7ff8b 1Summary: Text editor for Xfce based on Leafpad
17f6bd1d 2Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie
31d6a18b 3Name: mousepad
88b56e81 4Version: 0.5.3
6110f657 5Release: 1
5fc38ec8 6License: GPL v2+
31d6a18b 7Group: X11/Applications/Editors
5f68e0d1 8Source0: http://archive.xfce.org/src/apps/mousepad/0.5/%{name}-%{version}.tar.bz2
88b56e81 9# Source0-md5: 66a396824ecfb795b2a8c981e22a72e0
1cd7ff8b 10Patch0: %{name}-desktop.patch
6f2c4ad9 11URL: http://www.xfce.org/projects/mousepad/
41dc3ebe
KK
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake
ef313484 14BuildRequires: gettext-tools
5f68e0d1
KM
15BuildRequires: glib2-devel >= 2.52.0
16BuildRequires: gtk+3-devel >= 3.22
17BuildRequires: gtksourceview3-devel >= 3.24
1cd7ff8b 18BuildRequires: intltool >= 0.35.0
41dc3ebe 19BuildRequires: libtool
b950b336 20BuildRequires: pkgconfig >= 1:0.9.0
fd52b2fa 21BuildRequires: xfce4-dev-tools >= 4.14.0
709147ad 22Requires: desktop-file-utils
31d6a18b 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
cad234a2 26Mousepad is a lightweight text editor for Xfce. It features a simple
b950b336 27interface, broad character set support, printing with Xfprint, and
cad234a2 28more. It opens lightening quick, making it perfect for editing config
29files, doing quick scripting, and pretty printing documents like shell
30scripts.
31d6a18b 31
649d4aef 32%description -l pl.UTF-8
cad234a2 33Mousepad jest lekkim edytorem tekstowym dla Xfce. Cechuje go prosty
649d4aef
JR
34interfejs, obsługa wielu zestawów znaków, drukowanie przy pomocy
35Xfprint i wiele więcej. Uruchamia się błyskawicznie, dzięki czemu jest
36idealny do edycji plików konfiguracyjnych, pisania małych skryptów i
37pięknego drukowania dokumentów takich jak skrypty powłoki.
31d6a18b 38
39%prep
946237d5 40%setup -q
1cd7ff8b 41%patch0 -p1
31d6a18b 42
6110f657
JR
43mkdir -p m4
44
5fc38ec8
ER
45%{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
46
31d6a18b 47%build
f1720f4e 48%{__intltoolize}
41dc3ebe 49%{__libtoolize}
1cd7ff8b 50%{__aclocal}
41dc3ebe
KK
51%{__autoheader}
52%{__automake}
53%{__autoconf}
31d6a18b 54%configure
55%{__make}
56
57%install
58rm -rf $RPM_BUILD_ROOT
31d6a18b 59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
5f68e0d1 62%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie}
fd52b2fa
JR
63%{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
64
f62c8a3f 65%find_lang %{name}
66
31d6a18b 67%clean
68rm -rf $RPM_BUILD_ROOT
69
709147ad 70%post
868de5a3
KM
71%update_desktop_database_post
72%update_icon_cache hicolor
73%glib_compile_schemas
74
75%postun
76%update_desktop_database_postun
77%update_icon_cache hicolor
78%glib_compile_schemas
709147ad 79
f62c8a3f 80%files -f %{name}.lang
31d6a18b 81%defattr(644,root,root,755)
5f68e0d1 82%doc AUTHORS ChangeLog NEWS
b62ab4c6
MB
83%attr(755,root,root) %{_bindir}/mousepad
84%{_desktopdir}/mousepad.desktop
6110f657 85%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
5f68e0d1 86%{_datadir}/metainfo/mousepad.appdata.xml
fd52b2fa 87%{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
5f68e0d1
KM
88%{_iconsdir}/hicolor/*x*/apps/org.xfce.mousepad.png
89%{_iconsdir}/hicolor/scalable/apps/org.xfce.mousepad.svg
This page took 0.062661 seconds and 4 git commands to generate.