]> git.pld-linux.org Git - projects/template-specs.git/blame - desktop.spec
pecl: add example how to make failed tests as XFAIL
[projects/template-specs.git] / desktop.spec
CommitLineData
757d2d2c
ER
1Summary: -
2Name: -
3Version: -
4Release: -
5License: LGPL (GPL/GPL v2/GPL v2+... choose one)
6Group: X11/Applications
7Source0: -
8# Source0-md5: -
af1b7d22 9#Patch0:
757d2d2c
ER
10#URL: http://
11BuildRequires: rpmbuild(macros) >= 1.596
75493dd5 12Requires: desktop-file-utils
ce8f9b15 13Requires: gtk-update-icon-cache
757d2d2c 14Requires: hicolor-icon-theme
ac7c32dc 15Requires: shared-mime-info
757d2d2c
ER
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19
20%prep
21%setup -q
af1b7d22 22#%patch0 -p1
757d2d2c
ER
23
24%build
af1b7d22
TP
25%configure
26%{__make}
757d2d2c
ER
27
28%install
29rm -rf $RPM_BUILD_ROOT
30
af1b7d22
TP
31%{__make} install \
32 DESTDIR=$RPM_BUILD_ROOT
33
34%find_lang %{name}.lang
35
241be785
ER
36desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
37
757d2d2c
ER
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%post
75493dd5 42%update_desktop_database
ac7c32dc
ER
43%update_icon_cache hicolor
44%update_mime_database
757d2d2c 45
a3722de8
ER
46# Compile GSettings schemas
47# requires: glib2 >= 1:2.26.0
48%glib_compile_schemas
49
757d2d2c 50%postun
4db70b31 51%update_desktop_database
ac7c32dc
ER
52%update_icon_cache hicolor
53%update_mime_database
757d2d2c 54
a3722de8
ER
55# Compile GSettings schemas
56# requires: glib2 >= 1:2.26.0
57%glib_compile_schemas
58
af1b7d22 59%files -f %{name}.lang
757d2d2c 60%defattr(644,root,root,755)
af1b7d22
TP
61%doc AUTHORS ChangeLog NEWS README TODO
62%attr(755,root,root) %{_bindir}/%{name}
63%{_datadir}/%{name}
64%{_desktopdir}/%{name}.desktop
65%{_pixmapsdir}/%{name}.*
66%{_mandir}/man1/%{name}.1*
This page took 0.801711 seconds and 4 git commands to generate.