]> git.pld-linux.org Git - projects/template-specs.git/blame - desktop.spec
- p
[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
ER
45
46%postun
75493dd5 47%update_desktop_database_postun
ac7c32dc
ER
48%update_icon_cache hicolor
49%update_mime_database
757d2d2c 50
af1b7d22 51%files -f %{name}.lang
757d2d2c 52%defattr(644,root,root,755)
af1b7d22
TP
53%doc AUTHORS ChangeLog NEWS README TODO
54%attr(755,root,root) %{_bindir}/%{name}
55%{_datadir}/%{name}
56%{_desktopdir}/%{name}.desktop
57%{_pixmapsdir}/%{name}.*
58%{_mandir}/man1/%{name}.1*
This page took 0.032346 seconds and 4 git commands to generate.