Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
xdg-user-dirs
xdg-user-dirs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdg-user-dirs.spec of Package xdg-user-dirs
# # spec file for package xdg-user-dirs # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xdg-user-dirs Version: 0.14 Release: 2 License: GPLv2 Summary: Utilities to handle user data directories Url: http://freedesktop.org/wiki/Software/xdg-user-dirs Group: System/GUI/Other Source0: %name-%{version}.tar.bz2 BuildRequires: make BuildRequires: translation-update-upstream BuildRoot: %{_tmppath}/%{name}-%{version}-build %description xdg-user-dirs is a tool to help manage "well known" user directories like the desktop folder and the music folder. It also handles localization (i.e. translation) of the filenames. %prep %setup -q translation-update-upstream %build %configure make %{?jobs:-j %jobs} %install %makeinstall # Change sr@Latn to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin %find_lang xdg-user-dirs # Create xinit script mkdir -p %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d echo "#!/bin/sh" >> %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh echo "/usr/bin/xdg-user-dirs-update" >> %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh chmod a+x %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh %clean rm -rf %{buildroot} %files -f xdg-user-dirs.lang %defattr(-,root,root) %doc AUTHORS COPYING README ChangeLog %config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf %config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults %dir %{_sysconfdir}/X11/xinit %dir %{_sysconfdir}/X11/xinit/xinitrc.d %{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh %{_bindir}/xdg-user-dir %{_bindir}/xdg-user-dirs-update %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor