[packages/i3: 1/2] Setup %files

caleb caleb at pld-linux.org
Mon Aug 6 13:19:00 CEST 2012


commit 3b079283d79adbecf08f7bae34c2f41ff9944a4e
Author: Caleb Maclennan <caleb at pld-linux.org>
Date:   Mon Aug 6 14:00:42 2012 +0300

    Setup %files

 i3.spec | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/i3.spec b/i3.spec
index e4b5410..c283f37 100644
--- a/i3.spec
+++ b/i3.spec
@@ -17,6 +17,13 @@ target platforms are GNU/Linux and BSD operating systems, our code
 is Free and Open Source Software (FOSS) under the BSD license. i3 is
 primarily targeted at advanced users and developers.
 
+%package devel
+Summary:	Header files for %{name}
+Group:		Development/Libraries
+
+%description devel
+Header files for %{name}.
+
 %prep
 %setup -q
 
@@ -34,4 +41,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS CHANGES ChangeLog NEWS README THANKS TODO
+#%doc LICENCE
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/config
+%config %{_sysconfdir}/%{name}/config.keycodes
+%config %{_sysconfdir}/%{name}/welcome
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}bar
+%attr(755,root,root) %{_bindir}/%{name}-*
+%{_datadir}/xsessions/%{name}.desktop
+%{_desktopdir}/%{name}.desktop
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}/ipc.h


More information about the pld-cvs-commit mailing list